2012-11-22 02:14:11 +01:00
|
|
|
|
2012-11-22 04:30:50 +01:00
|
|
|
/* -------------------------- */
|
|
|
|
.cms-content-controls{
|
2012-11-22 02:14:11 +01:00
|
|
|
|
2012-11-27 06:03:43 +01:00
|
|
|
/* Styling the background, controls sit on */
|
2012-11-22 04:30:50 +01:00
|
|
|
&.cms-preview-controls {
|
|
|
|
z-index: 1;
|
2016-02-18 05:33:47 +01:00
|
|
|
background: $tab-panel-texture-color;
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
|
|
|
|
2012-11-27 06:03:43 +01:00
|
|
|
/* Styling for icons in controls */
|
2012-12-03 03:17:16 +01:00
|
|
|
.icon-view, .preview-selector.dropdown a.chzn-single {
|
2012-11-22 04:30:50 +01:00
|
|
|
white-space: nowrap;
|
|
|
|
&:before {
|
|
|
|
display:inline-block;
|
|
|
|
float:left;
|
2015-08-31 23:46:39 +02:00
|
|
|
width: 20px;
|
2012-11-22 02:14:11 +01:00
|
|
|
overflow: hidden;
|
2015-08-31 23:46:39 +02:00
|
|
|
color: $color-text-dark;
|
2016-01-06 00:34:58 +01:00
|
|
|
}
|
2012-11-22 04:30:50 +01:00
|
|
|
}
|
2015-09-07 00:49:37 +02:00
|
|
|
|
2012-11-22 04:30:50 +01:00
|
|
|
.cms-navigator{
|
|
|
|
width: 100%;
|
2016-02-18 05:33:47 +01:00
|
|
|
padding: $grid-y*1.5 $grid-y*1.5;
|
|
|
|
height: 52px; /* should be set in js Layout to match page actions */
|
2012-11-27 06:03:43 +01:00
|
|
|
}
|
2012-11-22 04:30:50 +01:00
|
|
|
|
2012-11-27 06:03:43 +01:00
|
|
|
/* Preview selectors. Overrides default chosen styles and applies its own */
|
2012-12-06 03:22:45 +01:00
|
|
|
.preview-selector {
|
2012-11-27 06:03:43 +01:00
|
|
|
float:right;
|
|
|
|
border-bottom:none;
|
|
|
|
position:relative;
|
2016-02-10 23:13:32 +01:00
|
|
|
box-shadow: none;
|
2015-08-31 23:46:39 +02:00
|
|
|
margin: 2px 0 0 4px;
|
2012-11-27 06:03:43 +01:00
|
|
|
padding: 0;
|
2012-12-06 03:22:45 +01:00
|
|
|
height: 28px;
|
2012-11-27 06:03:43 +01:00
|
|
|
|
2016-01-06 00:34:58 +01:00
|
|
|
a.chzn-single {
|
2016-02-18 05:33:47 +01:00
|
|
|
width: 28px;
|
2015-08-31 23:46:39 +02:00
|
|
|
padding: 6px;
|
2016-02-18 05:33:47 +01:00
|
|
|
height: 28px;
|
2015-08-31 23:46:39 +02:00
|
|
|
margin: -2px 0 0;
|
2012-11-27 06:03:43 +01:00
|
|
|
filter: none; /* remove ie background */
|
|
|
|
background: none;
|
|
|
|
border: none;
|
2016-02-10 23:13:32 +01:00
|
|
|
box-shadow: none;
|
|
|
|
border-radius: 3px;
|
2012-11-27 06:03:43 +01:00
|
|
|
|
2015-08-31 23:46:39 +02:00
|
|
|
&::before {
|
|
|
|
font-size: 18px;
|
|
|
|
margin-top: -1px;
|
|
|
|
margin-left: -1px;
|
|
|
|
}
|
|
|
|
|
2012-12-06 03:22:45 +01:00
|
|
|
&:hover, &.chzn-single-with-drop {
|
2012-11-27 06:03:43 +01:00
|
|
|
background-color: darken($color-widget-bg,6%);
|
2016-02-10 23:13:32 +01:00
|
|
|
box-shadow: 0 0 3px rgba(0, 0, 0, 0.05) inset, 0 1px 0 $box-shadow-shine;
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
2012-11-27 06:03:43 +01:00
|
|
|
&.chzn-single-with-drop {
|
2016-02-10 23:13:32 +01:00
|
|
|
border-radius: 0 0 3px 3px;
|
2012-11-27 06:03:43 +01:00
|
|
|
}
|
|
|
|
div {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2012-11-22 04:30:50 +01:00
|
|
|
|
2012-12-06 04:01:33 +01:00
|
|
|
&.open .chzn-drop{
|
|
|
|
position:absolute;
|
|
|
|
left: auto !important; //over-ride chosen inline styles
|
|
|
|
right: 0;
|
2012-11-27 06:03:43 +01:00
|
|
|
}
|
2012-11-22 04:30:50 +01:00
|
|
|
|
2012-11-27 06:03:43 +01:00
|
|
|
.chzn-drop{
|
2016-02-10 23:13:32 +01:00
|
|
|
border-radius: 3px 3px 0 3px;
|
|
|
|
box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
|
2012-11-27 06:03:43 +01:00
|
|
|
.chzn-results {
|
|
|
|
width: 135px;
|
|
|
|
.result-selected {
|
|
|
|
background: $color-widget-bg;
|
2012-11-22 04:30:50 +01:00
|
|
|
}
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
}
|
2012-12-06 04:01:33 +01:00
|
|
|
.chzn-container {
|
|
|
|
width: auto !important; //over-ride chosen inline styles for preview selector
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2012-12-06 04:01:33 +01:00
|
|
|
&.chzn-with-rise {
|
2016-01-06 00:34:58 +01:00
|
|
|
.chzn-drop {
|
2012-12-06 04:01:33 +01:00
|
|
|
padding: 0;
|
|
|
|
border-bottom: 1px solid #aaa;
|
|
|
|
margin-top: -5px;
|
|
|
|
width: auto !important; //over-ride chosen inline width (doesn't take image into account)
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2012-12-06 04:01:33 +01:00
|
|
|
.chzn-search {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2015-09-07 00:49:37 +02:00
|
|
|
ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
overflow: visible;
|
2012-12-06 04:01:33 +01:00
|
|
|
|
|
|
|
li{
|
|
|
|
font-size: 12px;
|
|
|
|
line-height: 16px;
|
|
|
|
padding: 7px 16px 7px 6px;
|
|
|
|
color: $color-text-blue-link;
|
|
|
|
border-bottom: 1px solid #DDD;
|
|
|
|
background-color: #FFF;
|
2012-11-27 06:03:43 +01:00
|
|
|
|
2012-11-22 04:30:50 +01:00
|
|
|
&:before{
|
2012-12-06 04:01:33 +01:00
|
|
|
margin-right: 2px;
|
2015-08-31 23:46:39 +02:00
|
|
|
font-size: 16px;
|
2012-11-22 04:30:50 +01:00
|
|
|
}
|
2012-12-06 04:01:33 +01:00
|
|
|
&.description {
|
|
|
|
padding-top: 5px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
&:before{
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.highlighted, &:hover, &:focus {
|
|
|
|
color: $color-text-blue-link;
|
|
|
|
filter: none;
|
|
|
|
background: lighten($color-widget-bg,2%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
&.first {
|
2016-02-10 23:13:32 +01:00
|
|
|
border-radius: 3px 3px 0 0;
|
2012-12-06 04:01:33 +01:00
|
|
|
}
|
|
|
|
&.last {
|
|
|
|
border-bottom: none;
|
2016-02-10 23:13:32 +01:00
|
|
|
border-radius: 0 0 0 3px;
|
2012-12-06 04:01:33 +01:00
|
|
|
}
|
|
|
|
&.restricted { /* disable option (eg.split mode for smaller screen sizes) */
|
|
|
|
color: #CCC;
|
|
|
|
background-color: #EEE;
|
|
|
|
pointer-events: none;
|
|
|
|
/*text-decoration: line-through;*/
|
|
|
|
&:before {
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
2012-12-06 03:22:45 +01:00
|
|
|
}
|
2012-11-27 06:03:43 +01:00
|
|
|
|
2012-12-06 04:01:33 +01:00
|
|
|
/* Description styling */
|
2016-01-06 00:34:58 +01:00
|
|
|
span {
|
2012-12-06 04:01:33 +01:00
|
|
|
display:block;
|
|
|
|
color: lighten($color-text-dark, 30%);
|
|
|
|
font-size:0.85em;
|
|
|
|
line-height:1.1em;
|
|
|
|
padding-left:23px;
|
|
|
|
}
|
|
|
|
.icon-view {
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2015-09-07 00:49:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.disabled-tooltip {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 32px;
|
|
|
|
background: rgba(255,255,255,0); // Prevent clicking on browsers that do not support pointer-events: none;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: 'Screen size too small';
|
|
|
|
text-align: center;
|
|
|
|
background: #555;
|
|
|
|
color: white;
|
|
|
|
padding: 4px 0;
|
|
|
|
position: absolute;
|
|
|
|
top: -24px;
|
|
|
|
left: -1px;
|
|
|
|
right: -1px;
|
|
|
|
border-radius: 3px 3px 0 0;
|
|
|
|
display: none;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
2016-02-10 23:13:32 +01:00
|
|
|
transform: rotate(45deg);
|
2015-09-07 00:49:37 +02:00
|
|
|
display: none;
|
|
|
|
background: #555;
|
|
|
|
left: 47%;
|
|
|
|
top: -6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover::after,
|
|
|
|
&:hover::before {
|
|
|
|
display: block;
|
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
}
|
2012-12-06 04:01:33 +01:00
|
|
|
}
|
2012-11-27 06:03:43 +01:00
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
}
|
2012-11-27 06:03:43 +01:00
|
|
|
}
|
|
|
|
.chzn-drop ul.chzn-results li.result-selected {
|
|
|
|
background: darken($color-widget-bg, 2%);
|
|
|
|
color: $color-text;
|
|
|
|
&.highlighted, &:hover, &:focus {
|
|
|
|
background: darken($color-widget-bg, 2%);
|
|
|
|
color: $color-text;
|
2012-11-22 04:30:50 +01:00
|
|
|
}
|
2015-09-07 00:49:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.split-disabled {
|
|
|
|
.chzn-container.chzn-with-rise .chzn-drop ul li.font-icon-columns {
|
|
|
|
color: $color-text-disabled;
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
&.highlighted, &:hover, &:focus {
|
|
|
|
color: $color-text-disabled;
|
|
|
|
background: #fff;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
color: $color-text-disabled;
|
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-11-27 06:03:43 +01:00
|
|
|
|
2012-11-22 04:30:50 +01:00
|
|
|
.cms-preview-states{
|
|
|
|
float: right;
|
2012-12-03 03:17:16 +01:00
|
|
|
select{
|
|
|
|
max-width:150px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.dropdown{
|
|
|
|
max-width:150px;
|
|
|
|
a.chzn-single{
|
|
|
|
span{
|
|
|
|
margin:0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.chzn-container{
|
|
|
|
max-width:150px;
|
|
|
|
}
|
|
|
|
}
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
2012-12-06 03:22:45 +01:00
|
|
|
}
|
|
|
|
|
2012-12-06 04:01:33 +01:00
|
|
|
/* Styling for the preview screen sizes */
|
2012-12-06 03:22:45 +01:00
|
|
|
.cms-preview {
|
|
|
|
background-color: $tab-panel-texture-color;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
|
2013-01-09 21:42:20 +01:00
|
|
|
.cms-preview-overlay {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2012-12-06 03:22:45 +01:00
|
|
|
.preview-note {
|
2012-12-06 04:01:33 +01:00
|
|
|
color: #CDD7DC;
|
2012-12-06 03:22:45 +01:00
|
|
|
display: block;
|
2012-12-06 04:01:33 +01:00
|
|
|
font-size: 22px;
|
|
|
|
font-weight: bold;
|
2012-12-06 03:22:45 +01:00
|
|
|
height: 82px;
|
2016-01-06 00:34:58 +01:00
|
|
|
margin-top: -50px;
|
2012-12-06 04:01:33 +01:00
|
|
|
margin-left: -150px; /* half of width */
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
2012-12-06 03:22:45 +01:00
|
|
|
text-shadow: 0 1px 0 #fff;
|
2012-12-06 04:01:33 +01:00
|
|
|
top: 50%;
|
2012-12-12 01:45:50 +01:00
|
|
|
left: 50%;
|
2016-01-06 00:34:58 +01:00
|
|
|
width: 300px;
|
2016-02-10 23:13:32 +01:00
|
|
|
|
2012-12-06 03:22:45 +01:00
|
|
|
span {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .icon-sprites-64x64;
|
|
|
|
@include sprite($sprites-64x64-preview);
|
|
|
|
|
2012-12-06 04:01:33 +01:00
|
|
|
height: 41px;
|
2013-06-04 02:57:09 +02:00
|
|
|
margin: 0 auto 20px;
|
2012-12-06 04:01:33 +01:00
|
|
|
width: 50px;
|
2012-12-06 03:22:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.preview-scroll {
|
2013-06-04 02:57:09 +02:00
|
|
|
height: 100%;
|
2012-12-06 03:22:45 +01:00
|
|
|
overflow: auto;
|
|
|
|
position: relative;
|
2012-12-06 04:01:33 +01:00
|
|
|
width: 100%;
|
2012-12-06 03:22:45 +01:00
|
|
|
.preview-device-outer {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2016-02-18 05:33:47 +01:00
|
|
|
overflow: hidden;
|
2016-01-06 00:34:58 +01:00
|
|
|
.preview-device-inner {
|
2016-02-10 23:13:32 +01:00
|
|
|
box-sizing: border-box;
|
2012-12-06 03:22:45 +01:00
|
|
|
width: 100%;
|
2013-06-04 02:57:09 +02:00
|
|
|
height:100%;
|
|
|
|
background-color: #FFF;
|
2012-12-06 03:22:45 +01:00
|
|
|
iframe {
|
|
|
|
height: 100%;
|
|
|
|
overflow-y: auto;
|
2013-06-04 02:57:09 +02:00
|
|
|
width: 100%;
|
2012-12-06 03:22:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.mobile, &.mobileLandscape, &.tablet, &.tabletLandscape, &.desktop {
|
|
|
|
.preview-scroll {
|
2012-12-06 04:01:33 +01:00
|
|
|
background-color: $tab-panel-texture-color; /* cover website preview icon */
|
2012-12-06 03:22:45 +01:00
|
|
|
.preview-device-outer {
|
2016-02-10 23:13:32 +01:00
|
|
|
border-radius: 7px;
|
2012-12-06 04:01:33 +01:00
|
|
|
background: lighten(#D2DBE0, 1%);
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-left:1px solid darken(#D2DBE0, 1%);
|
2016-02-18 05:33:47 +01:00
|
|
|
padding: 16px;
|
|
|
|
box-sizing: content-box;
|
2016-01-06 00:34:58 +01:00
|
|
|
.preview-device-inner {
|
2012-12-06 04:01:33 +01:00
|
|
|
border-top:2px solid lighten(#D2DBE0,5%);
|
|
|
|
border-right: 1px solid transparent;
|
|
|
|
border-bottom:1px solid lighten(#D2DBE0,5%);
|
2016-01-06 00:34:58 +01:00
|
|
|
border-left:1px solid darken(#D2DBE0, 5%);
|
|
|
|
}
|
2012-12-06 03:22:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-12-03 03:17:16 +01:00
|
|
|
|
2012-12-06 03:22:45 +01:00
|
|
|
&.mobile {
|
|
|
|
.preview-scroll .preview-device-outer {
|
2016-02-10 23:13:32 +01:00
|
|
|
transform: rotate(0deg);
|
|
|
|
transition: all .3s ease-in 1s;
|
2012-12-06 03:22:45 +01:00
|
|
|
margin: 20px auto 20px;
|
|
|
|
overflow:hidden;
|
2016-01-06 00:34:58 +01:00
|
|
|
padding-top: 16px;
|
2012-12-06 03:22:45 +01:00
|
|
|
.preview-device-inner {
|
2016-02-10 23:13:32 +01:00
|
|
|
transform: rotate(0deg);
|
|
|
|
transition: all .3s ease-out 1s;
|
2012-12-06 03:22:45 +01:00
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
&.rotate {
|
2016-02-10 23:13:32 +01:00
|
|
|
transform: rotate(-90deg);
|
|
|
|
transition: all .3s ease-in 1s;
|
2012-12-06 04:01:33 +01:00
|
|
|
height: 583px;
|
|
|
|
margin: 0px auto 0px;
|
2016-01-06 00:34:58 +01:00
|
|
|
width: 320px;
|
2012-12-06 03:22:45 +01:00
|
|
|
.preview-device-inner {
|
2016-02-10 23:13:32 +01:00
|
|
|
transform-origin: 160px 160px;
|
|
|
|
transform: rotate(90deg);
|
|
|
|
transition: all .3s ease-out 1s;
|
2016-01-06 00:34:58 +01:00
|
|
|
height: 320px;
|
|
|
|
width: 583px;
|
2012-12-06 03:22:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.mobileLandscape .preview-scroll .preview-device-outer {
|
2016-02-10 23:13:32 +01:00
|
|
|
transition: all .3s ease-out 1s;
|
2012-12-06 03:22:45 +01:00
|
|
|
margin: 12% auto;
|
|
|
|
padding-top: 16px;
|
2016-01-06 00:34:58 +01:00
|
|
|
.preview-device-inner {
|
2016-02-10 23:13:32 +01:00
|
|
|
transition: all .3s ease-out 1s;
|
2012-12-06 03:22:45 +01:00
|
|
|
}
|
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
&.tablet .preview-scroll .preview-device-outer {
|
2016-02-10 23:13:32 +01:00
|
|
|
transition: all .3s ease-out 1s;
|
2012-12-06 03:22:45 +01:00
|
|
|
margin: 0 auto;
|
2016-01-06 00:34:58 +01:00
|
|
|
.preview-device-inner {
|
2016-02-10 23:13:32 +01:00
|
|
|
transition: all .3s ease-out 1s;
|
2012-12-06 03:22:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.tabletLandscape .preview-scroll .preview-device-outer {
|
2016-02-10 23:13:32 +01:00
|
|
|
transition: all .3s ease-out 1s;
|
2012-12-06 03:22:45 +01:00
|
|
|
margin: 0 auto;
|
2016-01-06 00:34:58 +01:00
|
|
|
.preview-device-inner {
|
2016-02-10 23:13:32 +01:00
|
|
|
transition: all .3s ease-out 1s;
|
2012-12-06 03:22:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.desktop .preview-scroll .preview-device-outer {
|
2016-02-10 23:13:32 +01:00
|
|
|
transition: all .3s ease-out 1s;
|
2012-12-06 03:22:45 +01:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
}
|