2011-05-20 01:29:40 +02:00
|
|
|
/**
|
2011-10-29 02:01:06 +02:00
|
|
|
* Styles for the left hand side menu and header for the admin panels.
|
|
|
|
*
|
|
|
|
* Take into consideration CSS selector performance.
|
2011-05-20 01:29:40 +02:00
|
|
|
*
|
2012-04-12 08:02:46 +02:00
|
|
|
* @package framework
|
2011-05-20 01:29:40 +02:00
|
|
|
* @subpackage admin
|
|
|
|
*/
|
2011-08-01 00:54:31 +02:00
|
|
|
|
2011-10-29 02:01:06 +02:00
|
|
|
.cms-logo-header {
|
2012-08-15 01:28:31 +02:00
|
|
|
position: relative !important;
|
|
|
|
top:auto !important;
|
|
|
|
height:auto !important;
|
2012-11-22 02:14:11 +01:00
|
|
|
padding: 0 8px;
|
2011-10-29 02:01:06 +02:00
|
|
|
line-height: 24px;
|
2012-11-27 06:03:43 +01:00
|
|
|
background-color: lighten($color-dark-bg,10%);
|
2011-10-29 02:01:06 +02:00
|
|
|
@include background-image(
|
2012-11-22 02:14:11 +01:00
|
|
|
linear-gradient(lighten($color-dark-bg,20%), $color-dark-bg)
|
|
|
|
);
|
2011-10-29 02:01:06 +02:00
|
|
|
|
|
|
|
span {
|
|
|
|
color: $color-text-light;
|
|
|
|
display: block;
|
2012-08-15 01:28:31 +02:00
|
|
|
padding-left:26px;
|
2011-10-29 02:01:06 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $color-text-dark-link;
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-logo {
|
2012-11-22 02:14:11 +01:00
|
|
|
border-bottom: 1px solid lighten($color-dark-bg,4%);
|
2011-10-29 02:01:06 +02:00
|
|
|
overflow: hidden;
|
2015-06-24 01:42:24 +02:00
|
|
|
padding: $grid-y*1.5 0 $grid-y*1.5-1; /* should come to 52px with border bottom and line-height */
|
2012-07-04 05:02:34 +02:00
|
|
|
position: relative;
|
2011-10-29 02:01:06 +02:00
|
|
|
vertical-align: middle;
|
|
|
|
font-size: $font-base-size;
|
2015-06-24 01:42:24 +02:00
|
|
|
min-height: 28px;
|
2011-10-29 02:01:06 +02:00
|
|
|
|
2015-06-24 01:42:24 +02:00
|
|
|
.collapsed & {
|
2012-07-26 05:41:44 +02:00
|
|
|
padding:0;
|
|
|
|
}
|
2011-10-29 02:01:06 +02:00
|
|
|
.version {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
a {
|
2012-07-04 05:02:34 +02:00
|
|
|
position: absolute;
|
|
|
|
top: $grid-y;
|
|
|
|
bottom: $grid-y;
|
|
|
|
display: block;
|
2011-10-29 02:01:06 +02:00
|
|
|
width: 24px;
|
2012-07-04 05:02:34 +02:00
|
|
|
background: $application-logo-small no-repeat left center;
|
2011-10-29 02:01:06 +02:00
|
|
|
text-indent: -9999em;
|
2012-11-22 02:14:11 +01:00
|
|
|
padding: 0 1px;
|
2012-11-27 06:03:43 +01:00
|
|
|
left: 0;
|
2011-10-29 02:01:06 +02:00
|
|
|
}
|
|
|
|
span {
|
|
|
|
font-weight: bold;
|
2012-11-22 02:14:11 +01:00
|
|
|
font-size: $font-base-size;
|
|
|
|
line-height: 16px;
|
2015-06-24 01:42:24 +02:00
|
|
|
padding: 6px 0;
|
2012-11-22 02:14:11 +01:00
|
|
|
margin-left: 30px;
|
2011-10-29 02:01:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-login-status {
|
|
|
|
border-top: 1px solid $color-dark-separator;
|
2015-06-24 01:42:24 +02:00
|
|
|
padding: $grid-y*1.5 0;
|
2011-10-29 02:01:06 +02:00
|
|
|
line-height: 16px;
|
|
|
|
font-size: $font-base-size - 1;
|
2015-06-24 01:42:24 +02:00
|
|
|
min-height: 28px;
|
2011-10-29 02:01:06 +02:00
|
|
|
|
|
|
|
.logout-link {
|
|
|
|
display: inline-block;
|
2015-06-24 01:42:24 +02:00
|
|
|
height: 28px;
|
2011-10-29 02:01:06 +02:00
|
|
|
width: 16px;
|
|
|
|
float: left;
|
2012-11-22 02:14:11 +01:00
|
|
|
margin: 0 8px 0 5px;
|
2012-01-06 11:59:10 +01:00
|
|
|
background: sprite($sprites32, logout) no-repeat;
|
2015-06-24 01:42:24 +02:00
|
|
|
background-position: 0 -766px;
|
2011-10-29 02:01:06 +02:00
|
|
|
text-indent: -9999em;
|
2013-05-25 06:45:49 +02:00
|
|
|
opacity:0.9;
|
2015-06-24 01:42:24 +02:00
|
|
|
|
2013-05-25 06:45:49 +02:00
|
|
|
&:hover, &:focus{
|
|
|
|
opacity:1;
|
|
|
|
}
|
2011-10-29 02:01:06 +02:00
|
|
|
}
|
2015-06-24 01:42:24 +02:00
|
|
|
|
|
|
|
span {
|
|
|
|
padding-top: 6px;
|
|
|
|
}
|
2011-10-29 02:01:06 +02:00
|
|
|
}
|
|
|
|
|
2011-04-15 01:27:23 +02:00
|
|
|
.cms-menu {
|
2011-08-01 00:54:31 +02:00
|
|
|
z-index: 80;
|
2012-04-18 03:35:57 +02:00
|
|
|
background: $color-base;
|
2012-11-27 06:03:43 +01:00
|
|
|
width: ($grid-x * 20);
|
2012-11-22 02:14:11 +01:00
|
|
|
|
2012-05-21 01:00:10 +02:00
|
|
|
@include box-shadow($color-shadow-blacker 0 0 3px);
|
2011-04-15 01:27:23 +02:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2011-05-13 03:30:49 +02:00
|
|
|
|
|
|
|
.cms-panel-content {
|
2012-11-27 06:03:43 +01:00
|
|
|
width: ($grid-x * 20);
|
2011-10-29 02:01:06 +02:00
|
|
|
overflow-x: hidden;
|
2011-10-29 11:19:12 +02:00
|
|
|
overflow-y: auto;
|
2012-08-15 01:28:31 +02:00
|
|
|
position: relative !important;
|
|
|
|
top:auto !important;
|
|
|
|
left:auto !important;
|
2011-05-13 03:30:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.collapsed {
|
2015-05-19 03:43:43 +02:00
|
|
|
width: 40px !important; // Using important because JavaScript is overriding this value
|
2011-05-13 03:30:49 +02:00
|
|
|
cursor: auto;
|
2011-07-28 06:57:41 +02:00
|
|
|
z-index: 1000;
|
|
|
|
|
2011-10-29 02:01:06 +02:00
|
|
|
.cms-panel-header {
|
2011-07-28 06:57:41 +02:00
|
|
|
width: 30px;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2011-05-13 03:30:49 +02:00
|
|
|
|
|
|
|
.cms-menu-list {
|
2011-07-28 06:57:41 +02:00
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2012-06-21 01:48:39 +02:00
|
|
|
li{
|
|
|
|
width: 100%;
|
|
|
|
float: left;
|
|
|
|
span.text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
ul {
|
2011-10-07 06:48:53 +02:00
|
|
|
display: none;
|
2012-06-21 01:48:39 +02:00
|
|
|
}
|
2011-05-13 03:30:49 +02:00
|
|
|
}
|
|
|
|
}
|
2011-10-07 06:48:53 +02:00
|
|
|
|
2012-08-15 01:28:31 +02:00
|
|
|
.cms-login-status {
|
2015-06-24 01:42:24 +02:00
|
|
|
height: 28px;
|
2012-08-15 01:28:31 +02:00
|
|
|
span {
|
2015-06-24 01:42:24 +02:00
|
|
|
display: none;
|
2012-08-15 01:28:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-logo {
|
2015-06-24 01:42:24 +02:00
|
|
|
height: 28px;
|
|
|
|
padding: 12px 0 11px;
|
2012-08-15 01:28:31 +02:00
|
|
|
}
|
|
|
|
|
2011-05-13 03:30:49 +02:00
|
|
|
&.cms-panel .cms-panel-content {
|
|
|
|
display: block; // override panel defaults
|
|
|
|
}
|
2015-05-19 03:43:43 +02:00
|
|
|
|
|
|
|
.ss-ui-button.sticky-toggle {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-panel-toggle {
|
|
|
|
a,
|
|
|
|
a.toggle-expand {
|
|
|
|
float: right;
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-ui-button.sticky-toggle {
|
|
|
|
float: left;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
margin: 0;
|
|
|
|
text-indent: -999em;
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: url(../images/sticky-toggle-off.png);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 3px;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
@include box-shadow(0 0 0);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
background-image: url(../images/sticky-toggle-on.png);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-button-text {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// When the button is hovered, show the status indicator
|
|
|
|
&:hover {
|
|
|
|
+ .sticky-status-indicator {
|
|
|
|
display: block;
|
|
|
|
padding: 5px 6px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sticky-status-indicator {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
top: -22px;
|
|
|
|
left: 2px;
|
|
|
|
font-size: 9px;
|
|
|
|
color: #555d60;
|
|
|
|
text-transform: uppercase;
|
|
|
|
background-color: $color-base;
|
2011-05-13 03:30:49 +02:00
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.cms-menu-list {
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
display: block;
|
2013-09-26 14:24:59 +02:00
|
|
|
line-height: $grid-y * 2;
|
|
|
|
min-height: $grid-y * 2;
|
2011-05-20 01:29:40 +02:00
|
|
|
font-size: $font-base-size;
|
2011-06-10 03:37:54 +02:00
|
|
|
text-shadow: lighten($color-base, 5%) 1px 1px 0;
|
2011-04-19 06:34:30 +02:00
|
|
|
color: $color-text-dark;
|
2013-09-26 14:24:59 +02:00
|
|
|
padding: (1.5 * $grid-y - 1) 5px (1.5 * $grid-y - 1) 8px;
|
2012-05-21 01:00:10 +02:00
|
|
|
background-color: $color-base;
|
2011-08-16 04:57:30 +02:00
|
|
|
cursor: pointer;
|
2013-09-26 14:24:59 +02:00
|
|
|
position: relative;
|
|
|
|
|
2011-07-28 06:57:41 +02:00
|
|
|
@include background-image(linear-gradient(
|
2011-05-20 01:29:40 +02:00
|
|
|
$color-base,
|
2012-05-21 01:00:10 +02:00
|
|
|
darken($color-base, 10%)
|
2011-05-20 01:29:40 +02:00
|
|
|
));
|
|
|
|
|
2012-05-21 01:00:10 +02:00
|
|
|
border-top: 1px solid lighten($color-base, 6%);
|
2011-05-20 01:29:40 +02:00
|
|
|
border-bottom: 1px solid darken($color-base, 20%);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: lighten($color-base, 2%);
|
|
|
|
border-bottom: 1px solid darken($color-base, 15%);
|
|
|
|
color: lighten($color-text-dark, 5%);
|
|
|
|
|
2011-07-28 06:57:41 +02:00
|
|
|
@include background-image(linear-gradient(
|
2011-05-20 01:29:40 +02:00
|
|
|
lighten($color-base, 5%),
|
|
|
|
$color-base
|
|
|
|
));
|
|
|
|
}
|
2011-08-04 02:02:39 +02:00
|
|
|
&:focus,
|
|
|
|
&:active {
|
2011-05-20 01:29:40 +02:00
|
|
|
border-top: 1px solid darken($color-base, 5%);
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: darken($color-base, 5%);
|
|
|
|
color: lighten($color-text-dark, 10%);
|
|
|
|
|
2011-07-28 06:57:41 +02:00
|
|
|
@include background-image(linear-gradient(
|
2011-05-20 01:29:40 +02:00
|
|
|
darken($color-base, 10%),
|
|
|
|
darken($color-base, 5%)
|
|
|
|
));
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
|
|
|
|
.icon {
|
2013-09-26 14:24:59 +02:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
margin-left: $grid-x / 2;
|
|
|
|
margin-top: -8px;
|
2012-01-05 17:03:38 +01:00
|
|
|
|
2011-07-28 06:57:41 +02:00
|
|
|
@include opacity(0.7);
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.text {
|
2013-09-26 14:24:59 +02:00
|
|
|
display: block;
|
|
|
|
margin-left: 30px;
|
2012-01-05 17:03:38 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-children {
|
|
|
|
display: inline-block;
|
|
|
|
float: right;
|
|
|
|
width: 20px;
|
|
|
|
height: 100%;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.toggle-children-icon {
|
|
|
|
display: inline-block;
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
2012-01-06 00:06:34 +01:00
|
|
|
background: sprite($sprites32, menu-arrow-deselected-down) no-repeat;
|
2012-01-05 17:03:38 +01:00
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.opened {
|
|
|
|
.toggle-children-icon {
|
2012-01-06 00:06:34 +01:00
|
|
|
background: sprite($sprites32, menu-arrow-deselected-up) no-repeat;
|
2012-01-05 17:03:38 +01:00
|
|
|
}
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
2012-05-21 01:00:10 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
ul li a {
|
|
|
|
border-top: 1px solid lighten($color-base, 2%);
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
2011-08-16 05:36:39 +02:00
|
|
|
|
2011-10-07 06:48:53 +02:00
|
|
|
&.current { //need to apply current stlye to flyout also (at least line height)
|
2011-05-20 01:29:40 +02:00
|
|
|
a {
|
|
|
|
color: $color-text-light;
|
|
|
|
text-shadow: darken($color-menu-button, 20%) 0 -1px 0;
|
|
|
|
border-top: 1px solid lighten($color-menu-button, 10%);
|
2012-11-22 02:14:11 +01:00
|
|
|
border-bottom: 1px solid darken($color-menu-button, 15%);
|
2011-05-20 01:29:40 +02:00
|
|
|
background-color: $color-menu-button;
|
2011-07-28 06:57:41 +02:00
|
|
|
@include background-image(linear-gradient(
|
2011-05-20 01:29:40 +02:00
|
|
|
$color-menu-button,
|
2011-04-19 06:34:30 +02:00
|
|
|
darken($color-menu-button, 10%)
|
|
|
|
));
|
2012-01-06 00:06:34 +01:00
|
|
|
|
|
|
|
.toggle-children {
|
|
|
|
.toggle-children-icon {
|
|
|
|
background: sprite($sprites32, menu-arrow-down) no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.opened {
|
|
|
|
.toggle-children-icon {
|
|
|
|
background: sprite($sprites32, menu-arrow-up) no-repeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-04-19 06:34:30 +02:00
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
|
2011-05-20 01:29:40 +02:00
|
|
|
ul {
|
2011-10-07 06:48:53 +02:00
|
|
|
border-top: none;
|
2011-08-18 01:26:24 +02:00
|
|
|
display: block;
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
|
2011-05-20 01:29:40 +02:00
|
|
|
li {
|
|
|
|
background-color: darken($color-menu-button, 10%);
|
|
|
|
a {
|
2011-06-10 03:37:54 +02:00
|
|
|
font-size: $font-base-size - 1;
|
2011-07-28 06:57:41 +02:00
|
|
|
padding: 0 10px 0 40px;
|
2011-05-20 01:29:40 +02:00
|
|
|
height: 32px;
|
|
|
|
line-height: 32px;
|
|
|
|
color: lighten($color-menu-button, 45%);
|
|
|
|
background: none;
|
2012-05-21 01:00:10 +02:00
|
|
|
border-top: 1px solid darken($color-menu-button,4%);
|
2011-05-20 01:29:40 +02:00
|
|
|
border-bottom: 1px solid darken($color-menu-button, 20%);
|
|
|
|
|
|
|
|
&.current,
|
|
|
|
&:hover {
|
|
|
|
background: darken($color-menu-button, 5%);
|
|
|
|
border-top: 1px solid darken($color-menu-button, 5%);
|
|
|
|
color: $color-text-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: darken($color-menu-button, 15%);
|
|
|
|
border-top: 1px solid darken($color-menu-button, 20%);
|
|
|
|
color: lighten($color-menu-button, 60%);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-03-23 23:57:14 +01:00
|
|
|
&.current {
|
|
|
|
background: darken($color-menu-button, 5%);
|
|
|
|
border-top: 1px solid darken($color-menu-button, 5%);
|
2012-05-21 01:00:10 +02:00
|
|
|
border-top: none;
|
2012-03-23 23:57:14 +01:00
|
|
|
a {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $color-text-light;
|
|
|
|
}
|
2011-05-20 01:29:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.first a {
|
|
|
|
border-top: none;
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
}
|
2011-10-07 06:48:53 +02:00
|
|
|
|
2012-05-21 01:00:10 +02:00
|
|
|
ul.collapse {
|
2012-02-17 05:00:29 +01:00
|
|
|
display: none;
|
2012-05-21 01:00:10 +02:00
|
|
|
li {
|
|
|
|
a {
|
|
|
|
background-image:none;
|
|
|
|
font-size: 11px;
|
|
|
|
padding: 0 10px 0 40px;
|
|
|
|
height: 32px;
|
|
|
|
line-height: 32px;
|
|
|
|
}
|
|
|
|
}
|
2012-02-17 05:00:29 +01:00
|
|
|
}
|
|
|
|
|
2011-10-07 06:48:53 +02:00
|
|
|
/* Style applied to the menu flyout only when the collapsed setting */
|
|
|
|
ul.collapsed-flyout {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
font-size: $font-base-size - 1;
|
2012-05-21 01:00:10 +02:00
|
|
|
padding: 0 10px 0 16px;
|
2011-10-07 06:48:53 +02:00
|
|
|
height: 32px;
|
|
|
|
line-height: 32px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.current a {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.first a {
|
|
|
|
border-top: 1px solid darken($color-base, 10%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
2011-08-16 05:36:39 +02:00
|
|
|
|
2011-05-13 03:30:49 +02:00
|
|
|
&.collapsed {
|
2012-01-05 17:03:38 +01:00
|
|
|
li {
|
|
|
|
.text, .toggle-children {
|
|
|
|
display: none;
|
|
|
|
}
|
2011-05-13 03:30:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
li > li {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2011-12-21 19:45:20 +01:00
|
|
|
}
|