2012-11-21 22:01:02 +01:00
|
|
|
/********************************************
|
2012-11-30 03:29:53 +01:00
|
|
|
* Defines the styles for .ss-ui-action-tabset:
|
|
|
|
* * Site tree action tabs (to perform actions on the site tree)
|
|
|
|
* * Actions menu (Edit page actions)
|
|
|
|
*
|
|
|
|
* Reliant on TabSet.js to apply and remove some classes.
|
|
|
|
*
|
|
|
|
* Note: This is a special use case of tabs, so the default tab
|
|
|
|
* styling should not apply
|
|
|
|
*
|
2012-11-21 22:01:02 +01:00
|
|
|
**********************************************/
|
|
|
|
|
|
|
|
|
|
|
|
$border: 1px solid darken(#D9D9D9, 15%);
|
|
|
|
|
|
|
|
.cms {
|
|
|
|
.ss-ui-action-tabset{
|
|
|
|
float:left;
|
2012-12-12 02:17:57 +01:00
|
|
|
position:relative;
|
2012-11-21 22:01:02 +01:00
|
|
|
|
2012-12-12 02:17:57 +01:00
|
|
|
/*
|
2012-11-30 03:29:53 +01:00
|
|
|
Styles for the tab-nav of the site tree implementation
|
|
|
|
of ss-ui-action-tabset
|
|
|
|
*/
|
|
|
|
&.multi{
|
2012-12-12 02:17:57 +01:00
|
|
|
ul.ui-tabs-nav{
|
|
|
|
@include border-radius(3px);
|
|
|
|
@include clearfix;
|
|
|
|
border:$border;
|
|
|
|
float:left;
|
2012-11-30 03:29:53 +01:00
|
|
|
overflow:visible;
|
2012-12-12 02:17:57 +01:00
|
|
|
padding:0;
|
2012-11-30 03:29:53 +01:00
|
|
|
&:active{
|
2012-11-21 22:01:02 +01:00
|
|
|
outline:none;
|
|
|
|
box-shadow:none;
|
|
|
|
-webkit-box-shadow: none;
|
2012-12-12 02:17:57 +01:00
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
li{
|
|
|
|
@include background-image(linear-gradient(top, #f8f8f8, #D9D9D9));
|
|
|
|
@include border-radius(0);
|
2012-12-12 02:17:57 +01:00
|
|
|
background: #eaeaea;
|
2012-11-30 03:29:53 +01:00
|
|
|
border: none;
|
|
|
|
border-right:1px solid #eee;
|
2012-12-12 02:17:57 +01:00
|
|
|
border-left: $border;
|
2012-11-30 03:29:53 +01:00
|
|
|
margin:0;
|
|
|
|
overflow: visible;
|
2012-12-12 02:17:57 +01:00
|
|
|
min-width: 110px; //To make label width more uniform, but allow growth if needed
|
2012-11-30 03:29:53 +01:00
|
|
|
&:active{
|
|
|
|
outline:none;
|
|
|
|
box-shadow:none;
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
}
|
|
|
|
&.ui-state-active{
|
2012-11-21 22:01:02 +01:00
|
|
|
@include border-bottom-left-radius(0px);
|
2012-11-30 03:29:53 +01:00
|
|
|
@include border-bottom-right-radius(0px);
|
|
|
|
background:#f8f8f8;
|
|
|
|
border-bottom:none !important; //jquery-ui style has important on it
|
|
|
|
a {
|
|
|
|
@include border-bottom-left-radius(0px);
|
2012-12-12 02:17:57 +01:00
|
|
|
@include border-bottom-right-radius(0px);
|
2012-11-30 03:29:53 +01:00
|
|
|
&:active, span:active{
|
|
|
|
outline:none;
|
|
|
|
box-shadow:none;
|
|
|
|
-webkit-box-shadow: none;
|
|
|
|
}
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
&.first{
|
|
|
|
@include border-top-left-radius(3px);
|
|
|
|
@include border-bottom-left-radius(3px);
|
|
|
|
border-left:none;
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|
2012-12-12 02:17:57 +01:00
|
|
|
&.last{
|
2012-11-30 03:29:53 +01:00
|
|
|
@include border-top-right-radius(3px);
|
|
|
|
@include border-bottom-right-radius(3px);
|
|
|
|
border-right:none;
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
a.tab-nav-link{
|
|
|
|
color:$color-text;
|
|
|
|
display:inline-block;
|
2012-12-12 02:17:57 +01:00
|
|
|
font-weight:bold;
|
|
|
|
line-height:16px;
|
2012-11-30 03:29:53 +01:00
|
|
|
padding: 5px 10px;
|
|
|
|
.ui-no-icon { //for links that don't have icons (ie the batch actions field)
|
|
|
|
display: inline-block;
|
|
|
|
float: left;
|
|
|
|
height: 16px;
|
|
|
|
padding: 0 2px;
|
2012-12-12 02:17:57 +01:00
|
|
|
width: 16px;
|
2012-11-30 03:29:53 +01:00
|
|
|
}
|
2012-12-12 02:17:57 +01:00
|
|
|
.title{
|
2012-11-30 03:29:53 +01:00
|
|
|
display:inline-block;
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
|
|
|
&.view-mode-batchactions-wrapper .title {
|
|
|
|
margin-left: 22px;
|
|
|
|
}
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
/* Style the tab panels */
|
|
|
|
.ss-ui-action-tab.ui-tabs-panel{
|
|
|
|
@include tightSpacing;
|
|
|
|
background:#f8f8f8 !important; //Because ie7 doesn't understand what the 'C' in CSS stands for
|
|
|
|
border:$border;
|
|
|
|
border-top:none;
|
|
|
|
clear:both;
|
|
|
|
display:block;
|
|
|
|
float:left;
|
2012-12-12 02:17:57 +01:00
|
|
|
margin:0;
|
2012-11-30 03:29:53 +01:00
|
|
|
padding:10px;
|
|
|
|
padding-top:15px;
|
|
|
|
position:absolute;
|
2012-12-12 02:17:57 +01:00
|
|
|
top:30px;
|
|
|
|
width:202px; //Width is approx the size of two tab nav panels.
|
|
|
|
z-index:1;
|
2012-11-30 03:29:53 +01:00
|
|
|
&.first {
|
|
|
|
left: 0;
|
2012-12-12 02:17:57 +01:00
|
|
|
width: 203px; //Width is approx the size of two tab nav panels with 1px border.
|
2012-11-30 03:29:53 +01:00
|
|
|
}
|
|
|
|
.ui-icon {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
.tab-nav-link, .ss-ui-button {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
#PageType ul{
|
|
|
|
padding:0;
|
|
|
|
li{
|
2012-12-12 02:17:57 +01:00
|
|
|
padding:4px 5px;
|
2012-11-30 03:29:53 +01:00
|
|
|
}
|
2012-12-12 02:17:57 +01:00
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
}
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
// Classes applied by javascript
|
2012-11-21 22:01:02 +01:00
|
|
|
&.tabset-open {
|
2012-12-12 02:17:57 +01:00
|
|
|
ul.ui-tabs-nav,
|
2012-11-21 22:01:02 +01:00
|
|
|
ul.ui-tabs-nav li.first {
|
|
|
|
@include border-bottom-left-radius(0);
|
|
|
|
}
|
|
|
|
}
|
2012-12-12 02:17:57 +01:00
|
|
|
&.tabset-open-last {
|
2012-11-21 22:01:02 +01:00
|
|
|
ul.ui-tabs-nav li.last {
|
|
|
|
@include border-bottom-right-radius(0);
|
|
|
|
}
|
2012-12-12 02:17:57 +01:00
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
/* position a checkbox & icon within a tab */
|
|
|
|
.batch-check, .ui-icon {
|
2012-11-21 22:01:02 +01:00
|
|
|
display: inline-block;
|
|
|
|
float:left;
|
|
|
|
margin-left: -2px;
|
|
|
|
padding-right: 6px;
|
|
|
|
}
|
|
|
|
.batch-check {
|
|
|
|
margin: 6px 0px 5px 9px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
|
|
|
|
|
|
|
|
/* Styles for the cms-actions in tree view, to use more limited space.
|
|
|
|
Title hidden in tree view, until hover/active state added. Active is applied
|
|
|
|
to the first tab within the template, so there should always be one title
|
|
|
|
visible. Added and removed with js in TabSet.js */
|
|
|
|
.cms-tree-view-sidebar{
|
2012-12-12 02:17:57 +01:00
|
|
|
min-width: 176px; /* for when the scrollbar is present & find dropdown open */
|
2012-11-30 03:29:53 +01:00
|
|
|
.ss-ui-action-tabset{
|
|
|
|
ul.ui-tabs-nav{
|
2012-12-12 02:17:57 +01:00
|
|
|
>li{
|
|
|
|
width: auto;
|
2012-11-30 03:29:53 +01:00
|
|
|
a.tab-nav-link{
|
|
|
|
@include box-sizing(border-box);
|
2012-12-12 02:17:57 +01:00
|
|
|
@include duration(0.5s);
|
|
|
|
overflow:hidden;
|
2012-11-30 03:29:53 +01:00
|
|
|
padding-right:0;
|
2012-12-12 02:17:57 +01:00
|
|
|
width:30px;
|
2012-11-30 03:29:53 +01:00
|
|
|
&.active{
|
|
|
|
@include duration(0.5s);
|
2012-12-12 02:17:57 +01:00
|
|
|
width:110px;
|
2012-11-30 03:29:53 +01:00
|
|
|
}
|
2012-12-12 02:17:57 +01:00
|
|
|
}
|
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
}
|
|
|
|
&.tabset-open, &.tabset-open-last {
|
|
|
|
ul.ui-tabs-nav,
|
|
|
|
ul.ui-tabs-nav li.first,
|
|
|
|
ul.ui-tabs-nav li.last {
|
|
|
|
@include border-bottom-right-radius(0);
|
|
|
|
@include border-bottom-left-radius(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.ui-tabs .ui-tabs-panel.ss-ui-action-tab {
|
|
|
|
padding:10px 6px;
|
2012-12-12 02:17:57 +01:00
|
|
|
width:162px;
|
2012-11-30 03:29:53 +01:00
|
|
|
.field {
|
2012-12-12 02:17:57 +01:00
|
|
|
max-width:160px;
|
2012-11-30 03:29:53 +01:00
|
|
|
}
|
|
|
|
.ui-icon {
|
|
|
|
padding-right: 0;
|
2012-12-12 02:17:57 +01:00
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
}
|
|
|
|
.last .ui-tabs-panel.ss-ui-action-tab {
|
|
|
|
left:auto;
|
2012-12-12 02:17:57 +01:00
|
|
|
right:0;
|
2012-11-30 03:29:53 +01:00
|
|
|
}
|
2012-12-12 02:17:57 +01:00
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
|
2012-12-12 02:17:57 +01:00
|
|
|
/****************************************************************
|
2012-11-30 03:29:53 +01:00
|
|
|
Styles for the actions-menu implementation
|
|
|
|
of ss-ui-action-tabset
|
|
|
|
****************************************************************/
|
|
|
|
&.action-menus.ss-tabset {
|
|
|
|
margin-top: 2px;
|
|
|
|
|
|
|
|
//Style the tabs naivgation
|
2012-12-12 02:17:57 +01:00
|
|
|
ul.ui-tabs-nav{
|
|
|
|
margin: 0;
|
2012-11-30 03:29:53 +01:00
|
|
|
float: left; /* needed for ie but doesnt effect other browsers */
|
2012-11-21 22:01:02 +01:00
|
|
|
li{
|
2012-11-30 03:29:53 +01:00
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
border-bottom: none !important; //over-ride jquery-ui style (which also has important)
|
2012-12-12 02:17:57 +01:00
|
|
|
display: inline;
|
|
|
|
padding: 0;
|
2012-11-30 03:29:53 +01:00
|
|
|
&:hover, &:active{
|
2012-11-21 22:01:02 +01:00
|
|
|
@include box-shadow(none);
|
|
|
|
outline:none;
|
|
|
|
}
|
|
|
|
a{
|
|
|
|
@include text-shadow(#fff 0 1px 1px);
|
2012-12-12 02:17:57 +01:00
|
|
|
color: $color-text-blue-link;
|
2012-11-30 03:29:53 +01:00
|
|
|
font-size: 13px;
|
|
|
|
font-weight: normal;
|
2012-12-12 02:17:57 +01:00
|
|
|
line-height: 24px;
|
|
|
|
padding:0 25px 0 10px;
|
2012-11-30 03:29:53 +01:00
|
|
|
&:hover, &:active{
|
2012-11-21 22:01:02 +01:00
|
|
|
@include box-shadow(none);
|
2012-12-12 02:17:57 +01:00
|
|
|
outline:none;
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|
|
|
|
&:hover{
|
|
|
|
@include text-shadow(#fff 0 10px 10px);
|
|
|
|
color: darken($color-text-blue-link,8%);
|
|
|
|
}
|
2012-12-12 02:17:57 +01:00
|
|
|
/* Arrow */
|
2012-11-21 22:01:02 +01:00
|
|
|
&:after {
|
|
|
|
background: sprite($sprites32, arrow_down_lighter) no-repeat;
|
2012-12-12 02:17:57 +01:00
|
|
|
border-bottom: 0;
|
2012-11-21 22:01:02 +01:00
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
2012-11-30 03:29:53 +01:00
|
|
|
height: 16px;
|
2012-11-21 22:01:02 +01:00
|
|
|
margin-left: 6px;
|
2012-12-12 02:17:57 +01:00
|
|
|
width: 16px;
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|
2012-12-12 02:17:57 +01:00
|
|
|
&:hover:after {
|
2012-11-21 22:01:02 +01:00
|
|
|
background: sprite($sprites32, arrow_down_darker) no-repeat;
|
2012-12-12 02:17:57 +01:00
|
|
|
}
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
/* Make arrow point in up when nav open */
|
|
|
|
&.ui-state-active a {
|
2012-11-21 22:01:02 +01:00
|
|
|
&:after {
|
|
|
|
background: sprite($sprites32, arrow_up_lighter) no-repeat;
|
|
|
|
}
|
|
|
|
&:hover:after {
|
|
|
|
background: sprite($sprites32, arrow_up_darker) no-repeat;
|
|
|
|
}
|
2012-12-12 02:17:57 +01:00
|
|
|
}
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
/* Style the panel for actions-menu */
|
2012-11-21 22:01:02 +01:00
|
|
|
.ui-tabs-panel{
|
|
|
|
@include clearfix;
|
|
|
|
@include border-top-radius(3px);
|
|
|
|
@include border-bottom-radius(0);
|
|
|
|
@include tightSpacing;
|
2012-11-30 03:29:53 +01:00
|
|
|
@extend .button-no-style;
|
|
|
|
clear:both;
|
|
|
|
display:block;
|
2012-11-21 22:01:02 +01:00
|
|
|
background-color: $tab-panel-texture-color;
|
|
|
|
border:1px solid #ccc;
|
|
|
|
border-bottom:1px solid $tab-panel-texture-color;
|
|
|
|
margin:0;
|
2012-11-30 03:29:53 +01:00
|
|
|
margin-top:2px;
|
|
|
|
max-width:250px;
|
2012-12-12 02:17:57 +01:00
|
|
|
padding: 8px 0 2px;
|
2012-11-30 03:29:53 +01:00
|
|
|
position:absolute;
|
2012-12-12 02:17:57 +01:00
|
|
|
z-index:1;
|
2012-11-30 03:29:53 +01:00
|
|
|
min-width: 190px;
|
|
|
|
|
|
|
|
//Styles for the information displayed in popup above the main action buttons
|
2012-11-21 22:01:02 +01:00
|
|
|
.cms-sitetree-information {
|
2012-11-30 03:29:53 +01:00
|
|
|
border-bottom: 1px solid lighten($color-light-separator, 8%);
|
2012-11-21 22:01:02 +01:00
|
|
|
margin-bottom: 8px;
|
2012-11-30 03:29:53 +01:00
|
|
|
padding: 0 20px 0 0;
|
|
|
|
margin-right: 10px;
|
|
|
|
margin-left: 10px;
|
2012-12-12 02:17:57 +01:00
|
|
|
p.meta-info {
|
2012-11-21 22:01:02 +01:00
|
|
|
color: #999;
|
|
|
|
font-size: 11px;
|
|
|
|
line-height: 16px;
|
|
|
|
margin-bottom: 8px;
|
2012-11-30 03:29:53 +01:00
|
|
|
white-space: nowrap;
|
2012-12-12 02:17:57 +01:00
|
|
|
}
|
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
button.ss-ui-button{
|
2012-12-13 22:03:43 +01:00
|
|
|
width: 100%;
|
2012-11-30 03:29:53 +01:00
|
|
|
&:hover, &:focus, &:active{
|
|
|
|
@include box-shadow(none);
|
2012-12-12 02:17:57 +01:00
|
|
|
background-color: darken($tab-panel-texture-color,4%);
|
2012-11-30 03:29:53 +01:00
|
|
|
outline:none;
|
2012-12-12 02:17:57 +01:00
|
|
|
}
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|
|
|
|
}
|
2012-11-30 03:29:53 +01:00
|
|
|
/* Re-align last tab */
|
2012-11-21 22:01:02 +01:00
|
|
|
.last .ui-tabs-panel.ss-ui-action-tab{
|
|
|
|
left:auto;
|
2012-12-12 02:17:57 +01:00
|
|
|
right:-1px;
|
2012-11-30 03:29:53 +01:00
|
|
|
}
|
2012-12-12 02:17:57 +01:00
|
|
|
}
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|
|
|
|
|
2012-11-30 03:29:53 +01:00
|
|
|
.cms-content-actions .Actions{
|
|
|
|
overflow:visible; //for testing (changed in another branch)
|
|
|
|
}
|
2012-11-21 22:01:02 +01:00
|
|
|
}
|