[ticket/12648] More style fixes and also cleaned up CP left navigation

PHPBB3-12648
This commit is contained in:
PayBas 2014-06-03 10:15:53 +02:00
parent f888b31645
commit 6f9674228c
8 changed files with 51 additions and 55 deletions

View file

@ -50,7 +50,7 @@ hr {
} }
.navbar { .navbar {
background-color: #cadceb; background-color: #CADCEB;
} }
.forabg { .forabg {
@ -92,7 +92,7 @@ table.zebra-list tr:nth-child(even) td, ul.zebra-list li:nth-child(even) {
background-color: #e1ebf2; background-color: #e1ebf2;
} }
.bg3 { background-color: #cadceb; } .bg3 { background-color: #CADCEB; }
.ucprowbg { .ucprowbg {
background-color: #DCDEE2; background-color: #DCDEE2;
@ -826,6 +826,7 @@ ul.cplist {
background: -o-linear-gradient(top, #E2F2FF 0%, #CADCEB 100%); background: -o-linear-gradient(top, #E2F2FF 0%, #CADCEB 100%);
background: -ms-linear-gradient(top, #E2F2FF 0%, #CADCEB 100%); background: -ms-linear-gradient(top, #E2F2FF 0%, #CADCEB 100%);
background: linear-gradient(to bottom, #E2F2FF 0%, #CADCEB 100%); background: linear-gradient(to bottom, #E2F2FF 0%, #CADCEB 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#E2F2FF', endColorstr='#CADCEB', GradientType=0 );
border-color: #CADCEB; border-color: #CADCEB;
box-shadow: 0 1px 1px #F2F9FF inset; box-shadow: 0 1px 1px #F2F9FF inset;
color: #333333; color: #333333;
@ -863,35 +864,47 @@ ul.cplist {
/* Link styles for the sub-section links */ /* Link styles for the sub-section links */
#navigation a { #navigation a {
color: #333; color: #333;
background-color: #B2C2CF; background: #B4C4D1;
background-image: url("./images/bg_menu.gif"); background: -moz-linear-gradient(left, #B4C4D1 50%, #CADCEB 100%);
background: -webkit-gradient(left top, right top, color-stop(50%, #B4C4D1), color-stop(100%, #CADCEB));
background: -webkit-linear-gradient(left, #B4C4D1 50%, #CADCEB 100%);
background: -o-linear-gradient(left, #B4C4D1 50%, #CADCEB 100%);
background: -ms-linear-gradient(left, #B4C4D1 50%, #CADCEB 100%);
background: linear-gradient(to right, #B4C4D1 50%, #CADCEB 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#B4C4D1', endColorstr='#CADCEB', GradientType=1 );
} }
.rtl #navigation a { .rtl #navigation a {
background-image: url("./images/bg_menu_rtl.gif"); background: #B4C4D1;
background-position: 0 100%; background: -moz-linear-gradient(left, #CADCEB 0%, #B4C4D1 50%);
background: -webkit-gradient(left top, right top, color-stop(0%, #CADCEB), color-stop(50%, #B4C4D1));
background: -webkit-linear-gradient(left, #CADCEB 0%, #B4C4D1 50%);
background: -o-linear-gradient(left, #CADCEB 0%, #B4C4D1 50%);
background: -ms-linear-gradient(left, #CADCEB 0%, #B4C4D1 50%);
background: linear-gradient(to right, #CADCEB 0%, #B4C4D1 50%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#CADCEB', endColorstr='#B4C4D1', GradientType=1 );
} }
#navigation a:hover { #navigation a:hover {
background-image: none; background: #AABAC6;
background-color: #aabac6;
color: #BC2A4D; color: #BC2A4D;
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
} }
#navigation #active-subsection a { #navigation #active-subsection a {
background: #F9F9F9;
color: #D31141; color: #D31141;
background-color: #F9F9F9; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-image: none;
} }
#navigation #active-subsection a:hover { #navigation #active-subsection a:hover {
color: #D31141; color: #D31141;
} }
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) @media only screen and (max-width: 900px), only screen and (max-device-width: 900px)
{ {
#navigation a, .rtl #navigation a { #navigation a, .rtl #navigation a {
background-image: none; background: #B2C2CF;
} }
} }

View file

@ -97,46 +97,40 @@ ul.cplist {
} }
.tabs-container:after { .tabs-container:after {
display: block;
clear: both; clear: both;
content: ''; content: '';
display: block;
} }
/* CP tabbed menu /* CP tabs shared
----------------------------------------*/ ----------------------------------------*/
#tabs { #tabs, #minitabs {
line-height: normal; line-height: normal;
margin: 20px 0 0 7px;
/**overflow: hidden;*/
} }
#tabs > ul { #tabs > ul, #minitabs > ul {
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
position: relative; position: relative;
} }
#tabs > ul:after { #tabs > ul:after, #minitabs > ul:after {
clear: both;
content: ''; content: '';
display: block; display: block;
clear: both;
} }
#tabs .tab { #tabs .tab, #minitabs .tab {
display: inline; display: inline-block;
float: left; float: left;
font-size: 1em; font-size: 1em;
font-weight: bold; font-weight: bold;
line-height: 14px; line-height: 14px;
} }
#tabs .tab > a { #tabs .tab > a, #minitabs .tab > a {
background: none no-repeat 0% -35px;
border: 1px solid transparent;
border-radius: 4px 4px 0 0;
display: block; display: block;
margin: 1px 1px 0 0;
padding: 5px 9px; padding: 5px 9px;
position: relative; position: relative;
text-decoration: none; text-decoration: none;
@ -144,6 +138,18 @@ ul.cplist {
cursor: pointer; cursor: pointer;
} }
/* CP tabbed menu
----------------------------------------*/
#tabs {
margin: 20px 0 0 7px;
}
#tabs .tab > a {
border: 1px solid transparent;
border-radius: 4px 4px 0 0;
margin: 1px 1px 0 0;
}
#tabs .activetab > a { #tabs .activetab > a {
margin-top: 0; margin-top: 0;
padding-bottom: 7px; padding-bottom: 7px;
@ -152,7 +158,6 @@ ul.cplist {
/* Mini tabbed menu used in MCP /* Mini tabbed menu used in MCP
----------------------------------------*/ ----------------------------------------*/
#minitabs { #minitabs {
line-height: normal;
margin: -20px 7px 0 0; margin: -20px 7px 0 0;
} }
@ -162,27 +167,13 @@ ul.cplist {
max-width: 50%; max-width: 50%;
} }
#minitabs > ul {
list-style: none;
margin:0;
padding: 0;
position: relative;
}
#minitabs .tab { #minitabs .tab {
display: inline;
float: right; float: right;
font-size: 1em;
font-weight: bold;
line-height: 14px;
} }
#minitabs .tab > a { #minitabs .tab > a {
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
display: block;
margin-left: 2px; margin-left: 2px;
padding: 5px 9px;
position: relative;
} }
#minitabs .tab > a:hover { #minitabs .tab > a:hover {
@ -196,7 +187,7 @@ ul.cplist {
} }
.responsive-tab > a.responsive-tab-link { .responsive-tab > a.responsive-tab-link {
display: inline-block; display: block;
font-size: 16px; font-size: 16px;
position: relative; position: relative;
width: 16px; width: 16px;
@ -261,10 +252,10 @@ ul.cplist {
/* Default list state */ /* Default list state */
#navigation li { #navigation li {
display: inline;
font-weight: bold;
margin: 1px 0; margin: 1px 0;
padding: 0; padding: 0;
font-weight: bold;
display: inline;
} }
/* Link styles for the sub-section links */ /* Link styles for the sub-section links */
@ -273,18 +264,10 @@ ul.cplist {
padding: 5px; padding: 5px;
margin: 1px 0; margin: 1px 0;
text-decoration: none; text-decoration: none;
font-weight: bold;
background: transparent none repeat-y 100% 0;
} }
#navigation a:hover { #navigation a:hover {
text-decoration: none; text-decoration: none;
background-image: none;
}
#navigation #active-subsection a {
display: block;
background-image: none;
} }
/* Preferences pane layout /* Preferences pane layout

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 345 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 B