[ticket/11915] Move some of the #cp-main table rules to separate class.

PHPBB3-11915
This commit is contained in:
Cesar G 2013-11-10 15:47:44 -08:00
parent 059880debf
commit aeb215a5c2
4 changed files with 15 additions and 15 deletions

View file

@ -39,7 +39,7 @@
</div>
</div>
<div id="cp-main" class="mcp-main">
<div id="cp-main" class="mcp-main panel-container">
<!-- IF MESSAGE -->
<div class="content">
<h2>{L_MESSAGE}</h2>

View file

@ -98,4 +98,4 @@
</div>
<div id="cp-main" class="ucp-main">
<div id="cp-main" class="ucp-main panel-container">

View file

@ -803,11 +803,11 @@ Colours and backgrounds for cp.css
/* Main CP box
----------------------------------------*/
#cp-main h3, #cp-main hr, #cp-menu hr {
.panel-container h3, .panel-container hr, #cp-menu hr {
border-color: #A4B3BF;
}
#cp-main .panel li.row {
.panel-container .panel li.row {
border-bottom-color: #B5C1CB;
border-top-color: #F9F9F9;
}
@ -816,11 +816,11 @@ ul.cplist {
border-top-color: #B5C1CB;
}
#cp-main .panel li.header dd, #cp-main .panel li.header dt {
.panel-container .panel li.header dd, .panel-container .panel li.header dt {
color: #000000;
}
#cp-main table.table1 thead th {
.panel-container table.table1 thead th {
color: #333333;
border-bottom-color: #333333;
}
@ -921,11 +921,11 @@ ul.cplist {
/* Preferences pane layout
----------------------------------------*/
#cp-main h2 {
.panel-container h2 {
color: #333333;
}
#cp-main .panel {
.panel-container .panel {
background-color: #F9F9F9;
}

View file

@ -20,16 +20,16 @@
padding: 0;
}
#cp-main .panel p {
.panel-container .panel p {
font-size: 1.1em;
}
#cp-main .panel ol {
.panel-container .panel ol {
margin-left: 2em;
font-size: 1.1em;
}
#cp-main .panel li.row {
.panel-container .panel li.row {
border-bottom: 1px solid transparent;
border-top: 1px solid transparent;
}
@ -39,21 +39,21 @@ ul.cplist {
border-top: 1px solid transparent;
}
#cp-main .panel li.header dd, #cp-main .panel li.header dt {
.panel-container .panel li.header dd, .panel-container .panel li.header dt {
margin-bottom: 2px;
}
#cp-main table.table1 {
.panel-container table.table1 {
margin-bottom: 1em;
}
#cp-main table.table1 thead th {
.panel-container table.table1 thead th {
font-weight: bold;
border-bottom: 1px solid transparent;
padding: 5px;
}
#cp-main table.table1 tbody th {
.panel-container table.table1 tbody th {
font-style: italic;
background-color: transparent !important;
border-bottom: none;