2012-02-07 23:24:42 +01:00
|
|
|
/**
|
2011-08-22 06:44:41 +02:00
|
|
|
* This file defines most styles of the CMS: Colors, fonts, backgrounds,
|
|
|
|
* alignments, dimensions.
|
2011-04-15 01:27:23 +02:00
|
|
|
*
|
2011-08-22 06:44:41 +02:00
|
|
|
* Use SCSS variable definitions in screen.css to avoid repeating styles
|
|
|
|
* like background colours or padding dimensions. See themes/_default.scss
|
|
|
|
* to get started.
|
2011-04-15 01:27:23 +02:00
|
|
|
*
|
2011-08-22 06:44:41 +02:00
|
|
|
* To avoid this file getting too large and complicated, it is encouraged to
|
|
|
|
* create new SCSS files for larger components like the CMS menu or tree
|
|
|
|
* (see _tree.scss and _menu.scss).
|
2011-04-15 01:27:23 +02:00
|
|
|
*/
|
2011-09-30 01:48:27 +02:00
|
|
|
@import "compass";
|
|
|
|
@import "compass/css3";
|
|
|
|
@import "compass/utilities";
|
2011-04-15 01:27:23 +02:00
|
|
|
|
2011-05-20 01:29:40 +02:00
|
|
|
/** ----------------------------------------------------
|
2011-07-29 05:10:14 +02:00
|
|
|
* Core Styles.
|
2011-05-20 01:29:40 +02:00
|
|
|
* ---------------------------------------------------- */
|
2011-04-15 01:27:23 +02:00
|
|
|
|
2012-02-28 18:07:55 +01:00
|
|
|
html,body {
|
2011-05-20 01:29:40 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2012-03-15 02:13:30 +01:00
|
|
|
/* Removes RHS whitespace on iPad */
|
|
|
|
overflow-x: hidden;
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
|
2012-01-03 17:38:11 +01:00
|
|
|
body.cms {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
.cms {
|
|
|
|
a {
|
2012-03-05 14:39:44 +01:00
|
|
|
color: $color-text-blue-link;
|
2011-07-29 05:10:14 +02:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
2011-05-20 01:29:40 +02:00
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
body .ui-widget {
|
|
|
|
font-family: $font-family;
|
|
|
|
font-size: $font-base-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: bold;
|
2011-05-20 01:29:40 +02:00
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
2011-07-29 05:10:14 +02:00
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Helpers
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
2012-11-21 22:01:02 +01:00
|
|
|
.hide {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
.cms-helper-hide-actions {
|
|
|
|
.Actions {
|
2012-11-21 22:01:02 +01:00
|
|
|
@extend .hide;
|
2011-08-22 06:44:41 +02:00
|
|
|
}
|
|
|
|
}
|
2011-05-20 01:29:40 +02:00
|
|
|
|
2012-11-21 22:01:02 +01:00
|
|
|
|
2012-04-10 02:41:19 +02:00
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Panels Styles
|
|
|
|
* -------------------------------------------- */
|
2011-05-20 01:29:40 +02:00
|
|
|
.cms-container {
|
|
|
|
height: 100%;
|
2012-11-22 02:14:11 +01:00
|
|
|
/*background: $tab-panel-texture-background;*/
|
|
|
|
background: $tab-panel-texture-color;
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
|
2011-05-20 01:29:40 +02:00
|
|
|
.cms-preview,
|
|
|
|
.cms-menu,
|
|
|
|
.cms-content,
|
|
|
|
.cms-content-header,
|
|
|
|
.cms-content-tools,
|
2011-07-05 11:34:37 +02:00
|
|
|
.cms-content-fields,
|
2011-07-21 20:14:33 +02:00
|
|
|
.cms-edit-form,
|
|
|
|
.cms-preview,
|
|
|
|
.cms-preview iframe,
|
|
|
|
.cms-preview-controls
|
|
|
|
{
|
2011-05-20 01:29:40 +02:00
|
|
|
@include inline-block;
|
|
|
|
}
|
|
|
|
|
2011-04-15 01:27:23 +02:00
|
|
|
.cms-content-header {
|
2012-06-06 14:35:07 +02:00
|
|
|
padding-left: $grid-x * 2;
|
2011-08-01 00:54:31 +02:00
|
|
|
z-index: 60;
|
2012-11-05 05:51:38 +01:00
|
|
|
min-height: 40px;
|
2012-02-07 23:24:42 +01:00
|
|
|
background: {
|
2012-11-05 05:51:38 +01:00
|
|
|
image: url(../images/textures/cms_content_header.png);
|
|
|
|
repeat: repeat;
|
|
|
|
position: left bottom;
|
2013-06-13 00:04:56 +02:00
|
|
|
color: $color-darker-bg;
|
2012-06-06 14:35:07 +02:00
|
|
|
}
|
|
|
|
|
2012-02-14 16:01:26 +01:00
|
|
|
a {
|
|
|
|
color: $color-text-blue-link;
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
|
2012-02-28 23:06:42 +01:00
|
|
|
.backlink {
|
2012-03-08 04:29:19 +01:00
|
|
|
span.btn-icon-back {
|
2012-03-14 23:09:14 +01:00
|
|
|
height:16px;
|
2012-03-08 04:29:19 +01:00
|
|
|
}
|
2012-02-28 23:06:42 +01:00
|
|
|
}
|
|
|
|
|
2011-04-15 01:27:23 +02:00
|
|
|
h2 {
|
2011-08-09 07:52:13 +02:00
|
|
|
font-size: $font-base-size + 2;
|
2011-04-15 01:27:23 +02:00
|
|
|
font-weight: bold;
|
2011-08-26 04:09:25 +02:00
|
|
|
margin: 0;
|
2013-06-13 00:04:56 +02:00
|
|
|
margin-bottom: $grid-x;
|
|
|
|
|
|
|
|
* {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2011-05-20 01:29:40 +02:00
|
|
|
}
|
|
|
|
|
2012-06-06 14:35:07 +02:00
|
|
|
.cms-content-header-info {
|
|
|
|
float:left;
|
2012-12-06 03:22:45 +01:00
|
|
|
padding-top: 6px;
|
2013-06-17 01:26:04 +02:00
|
|
|
|
2013-12-21 05:23:07 +01:00
|
|
|
& * {
|
2013-06-17 01:26:04 +02:00
|
|
|
display: inline-block; // align back button and breadcrumbs
|
|
|
|
}
|
2013-12-21 05:23:07 +01:00
|
|
|
|
|
|
|
.section-icon {
|
|
|
|
opacity: 0.2;
|
2013-12-23 08:21:05 +01:00
|
|
|
margin-right: 4px;
|
2013-12-21 05:23:07 +01:00
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
|
2012-11-06 10:53:20 +01:00
|
|
|
// Reset to default styles
|
|
|
|
.ss-ui-button {
|
|
|
|
line-height: $grid-x*3;
|
|
|
|
|
|
|
|
.ui-button-text {
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-22 04:30:50 +01:00
|
|
|
.cms-edit-form.CMSMain {
|
|
|
|
padding: 0;
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
|
|
|
|
2012-11-26 05:26:06 +01:00
|
|
|
// Hide threeColumnCompressor column.
|
|
|
|
.cms-container {
|
|
|
|
.column-hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2012-11-22 04:30:50 +01:00
|
|
|
|
2012-11-06 10:53:20 +01:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Tabs
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
|
|
|
.ui-tabs {
|
|
|
|
padding: 0;
|
|
|
|
background: none;
|
|
|
|
|
|
|
|
.ui-tabs {
|
|
|
|
position: static;
|
|
|
|
}
|
2012-11-07 12:41:01 +01:00
|
|
|
|
|
|
|
.ui-tabs-panel {
|
2013-03-12 23:43:33 +01:00
|
|
|
padding: $grid-x*3;
|
2012-11-22 02:14:11 +01:00
|
|
|
background: transparent; // default it's white
|
2012-12-13 10:21:56 +01:00
|
|
|
border: 0; // suppress default borders
|
2013-03-28 16:23:43 +01:00
|
|
|
|
2012-11-22 04:30:50 +01:00
|
|
|
&.cms-edit-form {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2013-03-28 16:23:43 +01:00
|
|
|
&.cms-panel-padded {
|
|
|
|
padding: $grid-y*2 $grid-x*2;
|
|
|
|
}
|
2012-11-07 12:41:01 +01:00
|
|
|
}
|
|
|
|
|
2012-11-06 10:53:20 +01:00
|
|
|
.ui-widget-header {
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2012-02-17 00:40:19 +01:00
|
|
|
.ui-tabs-nav {
|
2014-01-29 03:47:15 +01:00
|
|
|
float: right;
|
|
|
|
margin: $grid-x*2 0 -1px 0;
|
|
|
|
padding: 0 $grid-x*1.5 0 0;
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
|
|
~ .ui-tabs-panel {
|
|
|
|
border-top:1px solid $color-button-generic-border;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2012-02-17 00:40:19 +01:00
|
|
|
li {
|
2014-01-29 03:47:15 +01:00
|
|
|
top: 0;
|
|
|
|
float: left;
|
|
|
|
border-bottom: 0 !important;
|
2012-02-17 00:40:19 +01:00
|
|
|
|
|
|
|
a {
|
2012-06-06 14:35:07 +02:00
|
|
|
@include inline-block;
|
|
|
|
float: none;
|
2012-02-17 00:40:19 +01:00
|
|
|
font-weight: bold;
|
2014-01-29 03:47:15 +01:00
|
|
|
color: $color-text;
|
|
|
|
line-height: $grid-y * 4;
|
|
|
|
padding: 0 $grid-x*2 0;
|
|
|
|
}
|
2012-11-07 12:41:01 +01:00
|
|
|
|
2014-01-29 03:47:15 +01:00
|
|
|
&:last-child {
|
|
|
|
// correctly right-align last tab
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ui-tabs-active {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2012-11-07 12:41:01 +01:00
|
|
|
}
|
2012-11-06 10:53:20 +01:00
|
|
|
|
|
|
|
.ui-state-default {
|
|
|
|
border:1px solid $color-button-generic-border;
|
2014-01-29 03:47:15 +01:00
|
|
|
background: darken($color-widget-bg, 10%);
|
2012-11-06 10:53:20 +01:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: lighten($color-text, 10%);
|
|
|
|
text-shadow: lighten($color-tab, 5%) 0 1px 0;
|
2014-01-29 03:47:15 +01:00
|
|
|
}
|
|
|
|
}
|
2012-11-06 10:53:20 +01:00
|
|
|
|
|
|
|
.ui-state-active {
|
2014-01-29 03:47:15 +01:00
|
|
|
padding-bottom: 1px;
|
|
|
|
border: 1px solid $color-button-generic-border;
|
|
|
|
background-color: darken($tab-panel-texture-color, 2%);
|
2012-11-06 10:53:20 +01:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $color-text;
|
2014-01-29 03:47:15 +01:00
|
|
|
}
|
2012-11-06 10:53:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&.ui-state-active {
|
|
|
|
border-color: $color-medium-separator;
|
2014-01-29 03:47:15 +01:00
|
|
|
}
|
2012-11-06 10:53:20 +01:00
|
|
|
|
|
|
|
li.cms-tabset-icon {
|
|
|
|
text-indent:-9999em;
|
2012-02-17 05:00:29 +01:00
|
|
|
|
2012-11-06 10:53:20 +01:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding-left: 40px; // icon width
|
|
|
|
padding-right: 0;
|
2014-01-29 03:47:15 +01:00
|
|
|
}
|
2012-11-06 10:53:20 +01:00
|
|
|
|
|
|
|
&.list a {background: sprite($sprites64, tab-list) no-repeat;}
|
|
|
|
&.tree a {background: sprite($sprites64, tab-tree) no-repeat;}
|
|
|
|
&.gallery a {background: sprite($sprites64, tab-gallery) no-repeat;}
|
|
|
|
&.edit a {background: sprite($sprites64, tab-edit) no-repeat;}
|
|
|
|
&.search a {background: sprite($sprites64, tab-search) no-repeat;}
|
|
|
|
|
|
|
|
&.list.ui-state-active a {background: sprite($sprites64, tab-list-hover) no-repeat;}
|
|
|
|
&.tree.ui-state-active a {background: sprite($sprites64, tab-tree-hover) no-repeat;}
|
|
|
|
&.gallery.ui-state-active a {background: sprite($sprites64, tab-gallery-hover) no-repeat;}
|
|
|
|
&.edit.ui-state-active a {background: sprite($sprites64, tab-edit-hover) no-repeat;}
|
|
|
|
&.search.ui-state-active a {background: sprite($sprites64, tab-search-hover) no-repeat;}
|
2014-01-29 03:47:15 +01:00
|
|
|
}
|
2011-04-19 06:34:30 +02:00
|
|
|
}
|
2012-12-17 11:27:24 +01:00
|
|
|
|
2012-11-22 04:30:50 +01:00
|
|
|
.cms-panel-padded {
|
2012-11-07 12:41:01 +01:00
|
|
|
.ui-tabs-panel {
|
2012-12-17 15:13:43 +01:00
|
|
|
padding: 0; // Avoid double padding with parent
|
2012-11-22 04:30:50 +01:00
|
|
|
|
|
|
|
.ui-tabs-panel {
|
|
|
|
padding: $grid-x 0 0 0;
|
|
|
|
}
|
2012-03-07 02:48:00 +01:00
|
|
|
}
|
2012-12-17 15:13:43 +01:00
|
|
|
.Actions {
|
|
|
|
padding: 0; // Avoid double padding with parent
|
|
|
|
}
|
2012-03-07 02:48:00 +01:00
|
|
|
}
|
2012-11-06 10:53:20 +01:00
|
|
|
|
|
|
|
&.ss-tabset-tabshidden .ui-tabs-panel {
|
|
|
|
border-top: none;
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
2012-03-07 02:48:00 +01:00
|
|
|
}
|
|
|
|
|
2012-11-06 10:53:20 +01:00
|
|
|
/**
|
|
|
|
* Primary styles which sit on top of screen, with different tab colors.
|
|
|
|
* TODO Only use one "primary" selector and fix HTMLEditorField TabSet addExtraClass()
|
|
|
|
*/
|
2012-11-22 04:30:50 +01:00
|
|
|
.ui-tabs.cms-tabset-primary .ui-tabs-nav,
|
|
|
|
.ui-tabs .ui-tabs-nav.cms-tabset-nav-primary,
|
|
|
|
.ui-tabs .cms-content-header-tabs .ui-tabs-nav {
|
2012-12-17 15:13:43 +01:00
|
|
|
margin-top: 0;
|
2012-11-22 04:30:50 +01:00
|
|
|
border-left: 1px solid darken($color-tab, 15%);
|
2012-12-17 14:21:13 +01:00
|
|
|
float: none; // parent container is already right floated
|
|
|
|
|
2012-02-28 15:57:39 +01:00
|
|
|
li {
|
2012-11-06 10:53:20 +01:00
|
|
|
margin-right: 0; // tabs are directly adjacent
|
2012-11-22 02:14:11 +01:00
|
|
|
margin-top: 0;
|
2012-12-17 11:27:24 +01:00
|
|
|
a {
|
2012-11-06 10:53:20 +01:00
|
|
|
margin: 0;
|
|
|
|
// overlap divider line below
|
|
|
|
line-height: 40px - 1px;
|
2012-12-17 11:27:24 +01:00
|
|
|
}
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
2012-11-06 10:53:20 +01:00
|
|
|
|
|
|
|
.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr, .ui-corner-tl {
|
|
|
|
border-radius:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-state-default {
|
|
|
|
@include box-shadow($color-shadow-light 0 0 2px);
|
2012-02-07 23:24:42 +01:00
|
|
|
background-color: $color-base;
|
2011-07-28 06:57:41 +02:00
|
|
|
@include background-image(
|
2012-11-06 10:53:20 +01:00
|
|
|
linear-gradient(lighten($color-base, 12%), $color-base)
|
2012-02-07 23:24:42 +01:00
|
|
|
);
|
2012-11-06 10:53:20 +01:00
|
|
|
|
|
|
|
border-top:none;
|
2012-02-07 23:24:42 +01:00
|
|
|
border: {
|
2012-05-21 01:00:10 +02:00
|
|
|
right-color: darken($color-base, 15%);
|
|
|
|
left-color: lighten($color-base, 10%);
|
2012-02-07 23:24:42 +01:00
|
|
|
}
|
2012-12-17 11:27:24 +01:00
|
|
|
}
|
|
|
|
|
2012-11-06 10:53:20 +01:00
|
|
|
.ui-state-active {
|
|
|
|
@include box-shadow(none);
|
2013-03-12 23:43:33 +01:00
|
|
|
background:darken($tab-panel-texture-color,2%);
|
2012-11-06 10:53:20 +01:00
|
|
|
border-top: none;
|
2012-02-07 23:24:42 +01:00
|
|
|
border: {
|
2012-05-21 02:48:53 +02:00
|
|
|
right-color: darken($color-tab, 15%); // same color as divider between header and body, needed for IE
|
2012-11-22 04:30:50 +01:00
|
|
|
left-color: $tab-panel-texture-color;
|
2012-02-07 23:24:42 +01:00
|
|
|
}
|
|
|
|
z-index:2;
|
2012-12-17 11:27:24 +01:00
|
|
|
|
|
|
|
a {
|
2012-05-12 07:38:37 +02:00
|
|
|
border-bottom: none;
|
2012-12-17 11:27:24 +01:00
|
|
|
}
|
2012-03-07 02:48:00 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-content-header-tabs {
|
2012-11-06 10:53:20 +01:00
|
|
|
float: right;
|
2012-12-17 11:27:24 +01:00
|
|
|
}
|
2012-05-12 07:38:37 +02:00
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
/** -------------------------------------------------------
|
|
|
|
* Loading Interface
|
|
|
|
* ------------------------------------------------------- */
|
2011-05-20 01:38:36 +02:00
|
|
|
|
2011-10-29 12:31:56 +02:00
|
|
|
.cms-content-loading-overlay {
|
|
|
|
position: absolute; // z-index doesn't apply properly without that
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2011-12-14 17:13:33 +01:00
|
|
|
z-index: 9998;
|
2011-10-29 12:31:56 +02:00
|
|
|
// Further styling by .ui-widget-overlay-light which is usually applied at the same time
|
2011-12-14 17:13:33 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.cms-content-loading-spinner {
|
|
|
|
position: absolute; // z-index doesn't apply properly without that
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: 9999;
|
|
|
|
background: url(../images/spinner.gif) no-repeat 50% 50%;
|
2011-10-29 12:31:56 +02:00
|
|
|
}
|
|
|
|
|
2011-06-10 03:37:54 +02:00
|
|
|
/** -----------------------------------------------
|
|
|
|
* Loading Screen
|
|
|
|
* ------------------------------------------------ */
|
2011-12-15 16:54:33 +01:00
|
|
|
.ss-loading-screen {
|
2011-04-15 01:27:23 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
2011-12-15 16:54:33 +01:00
|
|
|
z-index: 100000;
|
2011-04-19 06:34:30 +02:00
|
|
|
// TODO Convert to compass gradient include
|
2011-04-15 01:27:23 +02:00
|
|
|
background: #fff;
|
|
|
|
background: -moz-radial-gradient(50% 50% 180deg, circle cover, #FFFFFF, #EFEFEF, #C7C7C7 100%);
|
|
|
|
background: -webkit-gradient(radial, 50% 50%, 350, 50% 50%, 0, from(#E3E3E3), to(white));
|
|
|
|
|
|
|
|
.loading-logo {
|
2011-12-15 16:54:33 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
2012-11-05 05:51:38 +01:00
|
|
|
background: transparent url(../images/silverstripe_logo.png) no-repeat 50% 50%;
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
2011-12-15 16:54:33 +01:00
|
|
|
|
2011-04-15 01:27:23 +02:00
|
|
|
p {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 80px;
|
2011-12-15 16:54:33 +01:00
|
|
|
z-index: 100001;
|
2011-04-15 01:27:23 +02:00
|
|
|
|
|
|
|
span.notice {
|
2011-12-15 16:54:33 +01:00
|
|
|
width: 300px;
|
2011-04-15 01:27:23 +02:00
|
|
|
font-size: 14px;
|
|
|
|
padding: 10px 20px;
|
|
|
|
color: #dc7f00;
|
|
|
|
border: none;
|
2011-12-15 16:54:33 +01:00
|
|
|
background: none;
|
2011-04-19 06:34:30 +02:00
|
|
|
@include border-radius(5px);
|
2011-12-15 16:54:33 +01:00
|
|
|
display: inline-block;
|
|
|
|
zoom: 1;
|
2012-11-05 05:51:38 +01:00
|
|
|
*display: inline;
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.loading-animation {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
left: 49%;
|
|
|
|
top: 75%;
|
|
|
|
}
|
2011-04-19 06:34:30 +02:00
|
|
|
}
|
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Actions
|
|
|
|
* -------------------------------------------- */
|
2011-04-19 06:34:30 +02:00
|
|
|
|
2012-11-22 02:14:11 +01:00
|
|
|
.cms-content-actions, .cms-preview-controls {
|
2012-05-21 01:00:10 +02:00
|
|
|
margin: 0;
|
2012-12-06 03:22:45 +01:00
|
|
|
padding: $grid-y*1.5 $grid-y*1.5;
|
2012-04-27 05:48:09 +02:00
|
|
|
z-index: 0;
|
2012-11-27 06:03:43 +01:00
|
|
|
border-top: 1px solid lighten($color-separator, 4%);
|
|
|
|
@include box-shadow(
|
|
|
|
1px 0 0 $tab-panel-texture-color,
|
|
|
|
$box-shadow-shine 0 1px 0px inset,
|
|
|
|
$color-shadow-light 0 0 1px);
|
2012-11-22 02:14:11 +01:00
|
|
|
height: 28px;
|
2012-11-22 04:30:50 +01:00
|
|
|
background-color: $tab-panel-texture-color;
|
2011-04-19 06:34:30 +02:00
|
|
|
}
|
|
|
|
|
2012-11-22 02:14:11 +01:00
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Messages
|
|
|
|
* -------------------------------------------- */
|
2011-04-19 06:34:30 +02:00
|
|
|
|
2012-11-06 01:23:20 +01:00
|
|
|
.message { // White
|
2012-07-18 16:47:39 +02:00
|
|
|
display: block;
|
|
|
|
clear: both;
|
2013-06-04 02:11:05 +02:00
|
|
|
margin: 0 0 $grid-y;
|
2012-11-06 01:23:20 +01:00
|
|
|
padding: $grid-y + $grid-x/4 $grid-x + $grid-x/2;
|
|
|
|
font-weight: normal;
|
2012-11-02 00:46:16 +01:00
|
|
|
border: 1px #ccc solid;
|
2012-11-06 01:23:20 +01:00
|
|
|
background: #fff; // for browsers that don't understand rgba
|
|
|
|
background: rgba(#fff,0.5);
|
|
|
|
text-shadow: none;
|
2012-11-02 00:46:16 +01:00
|
|
|
@include border-radius(3px 3px 3px 3px);
|
2012-11-05 05:51:38 +01:00
|
|
|
|
2012-11-06 01:23:20 +01:00
|
|
|
&.notice {
|
|
|
|
background-color: lighten($color-notice,22%); // Blue
|
|
|
|
border-color: $color-notice;
|
|
|
|
}
|
|
|
|
&.warning { // Yellow
|
|
|
|
background-color: lighten($color-warning,47%);
|
2011-04-19 06:34:30 +02:00
|
|
|
border-color: $color-warning;
|
|
|
|
}
|
2012-11-06 01:23:20 +01:00
|
|
|
&.error, &.bad, &.required, &.validation { // Red
|
|
|
|
background-color: lighten($color-error,24%);
|
|
|
|
border-color: $color-error;
|
2012-11-02 00:46:16 +01:00
|
|
|
}
|
2012-11-06 01:23:20 +01:00
|
|
|
&.good { // Green
|
|
|
|
background-color: lighten($color-good,40%);
|
2011-12-21 19:45:20 +01:00
|
|
|
border-color: $color-good;
|
|
|
|
}
|
|
|
|
|
2011-08-26 04:09:25 +02:00
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2011-04-19 06:34:30 +02:00
|
|
|
}
|
2012-12-17 15:13:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
.cms-edit-form {
|
|
|
|
.message {
|
|
|
|
margin: $grid-x*2; // TODO Remove double padding when adjacent to a padded tabs panel
|
|
|
|
}
|
|
|
|
.ui-tabs-panel {
|
|
|
|
.message {
|
2013-02-20 10:48:40 +01:00
|
|
|
margin: $grid-x*2 0; // gets padding from tab panel
|
2012-12-17 15:13:43 +01:00
|
|
|
}
|
|
|
|
}
|
2012-11-22 04:30:50 +01:00
|
|
|
}
|
2011-04-19 06:34:30 +02:00
|
|
|
|
2013-09-16 02:49:18 +02:00
|
|
|
|
|
|
|
.notice-item {
|
|
|
|
border: 0;
|
|
|
|
@include border-radius(3px);
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
padding: 8px 10px 8px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notice-item-close {
|
|
|
|
color: #333333;
|
|
|
|
background: url(../images/filter-icons.png) no-repeat 0 -20px;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0px 0 20px 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-06-13 09:46:22 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Page icons
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
|
|
|
.page-icon, a .jstree-pageicon {
|
|
|
|
display: block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
background: transparent url(../images/sitetree_ss_pageclass_icons_default.png) no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-icon {
|
|
|
|
&.class-HomePage {
|
|
|
|
background-position: 0 -48px;
|
|
|
|
}
|
|
|
|
&.class-RedirectorPage {
|
|
|
|
background-position: 0 -16px;
|
|
|
|
}
|
|
|
|
&.class-VirtualPage {
|
|
|
|
background-position: 0 -32px;
|
|
|
|
}
|
|
|
|
&.class-ErrorPage {
|
|
|
|
background-position: 0 -112px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* "Add page" dialog
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
2011-04-24 01:05:59 +02:00
|
|
|
.cms-page-add-form-dialog {
|
2011-12-14 16:54:52 +01:00
|
|
|
|
|
|
|
display: none;
|
2012-01-05 12:30:29 +01:00
|
|
|
}
|
2011-12-14 16:54:52 +01:00
|
|
|
|
2012-01-05 12:30:29 +01:00
|
|
|
.cms-add-form {
|
2012-03-27 16:54:25 +02:00
|
|
|
.step-label {
|
2012-05-08 04:15:09 +02:00
|
|
|
opacity:0.9;
|
2012-03-27 16:54:25 +02:00
|
|
|
.flyout {
|
|
|
|
height:17px; //centres number within the grey arrow
|
|
|
|
padding-top:5px;
|
|
|
|
}
|
|
|
|
.title {
|
|
|
|
padding-top:5px; //aligns label with point of arrow
|
|
|
|
font-weight:bold; //to match pagetype label
|
|
|
|
@include text-shadow(1px 1px 0 $color-text-shadow);
|
2012-11-02 00:46:16 +01:00
|
|
|
}
|
2012-03-27 16:54:25 +02:00
|
|
|
}
|
|
|
|
ul.SelectionGroup {
|
|
|
|
padding-left:28px;
|
2013-06-19 01:27:22 +02:00
|
|
|
overflow: visible;
|
|
|
|
@include legacy-pie-clearfix;
|
2012-03-27 16:54:25 +02:00
|
|
|
}
|
2012-03-12 10:53:51 +01:00
|
|
|
.parent-mode {
|
|
|
|
padding: $grid-x;
|
|
|
|
overflow: auto;
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
|
|
|
}
|
2012-11-21 22:01:02 +01:00
|
|
|
|
2012-11-22 02:14:11 +01:00
|
|
|
#PageType {
|
2012-11-21 22:01:02 +01:00
|
|
|
ul {
|
2012-11-22 02:14:11 +01:00
|
|
|
padding-left: 20px;
|
|
|
|
li {
|
|
|
|
float: none;
|
|
|
|
width: 100%;
|
|
|
|
padding: 9px 0 9px 15px;
|
|
|
|
overflow: hidden;
|
|
|
|
border-bottom-width: 2px;
|
|
|
|
border-bottom: 2px groove lighten($color-shadow-light, 95%);
|
|
|
|
-webkit-border-image: url(../images/textures/bg_fieldset_elements_border.png) 2 stretch stretch;
|
|
|
|
border-image: url(../images/textures/bg_fieldset_elements_border.png) 2 stretch stretch;
|
2012-01-03 17:38:11 +01:00
|
|
|
|
2012-11-22 02:14:11 +01:00
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover, &.selected {
|
|
|
|
background-color: $color-highlight-opacity;
|
|
|
|
}
|
2012-01-05 12:30:29 +01:00
|
|
|
|
2012-11-22 02:14:11 +01:00
|
|
|
&.disabled {
|
|
|
|
color: $color-text-disabled;
|
2013-04-08 09:54:46 +02:00
|
|
|
|
|
|
|
@include opacity(0.5);
|
|
|
|
|
2012-11-22 02:14:11 +01:00
|
|
|
&:hover {
|
|
|
|
background: none;
|
2012-07-11 00:09:10 +02:00
|
|
|
}
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
2012-01-05 12:30:29 +01:00
|
|
|
|
2012-11-22 02:14:11 +01:00
|
|
|
input {
|
|
|
|
margin: inherit;
|
2012-07-11 00:09:10 +02:00
|
|
|
}
|
2012-11-22 02:14:11 +01:00
|
|
|
|
|
|
|
label {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input, label, .page-icon, .title {
|
|
|
|
float: left;
|
|
|
|
line-height: 1.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-icon {
|
|
|
|
margin: 0 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
width: 120px;
|
|
|
|
font-weight: bold;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
font-style: italic;
|
2013-02-13 10:15:06 +01:00
|
|
|
// Undo some generic styles from tooltips
|
|
|
|
display: inline;
|
|
|
|
clear: none;
|
|
|
|
margin: 0;
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
|
|
|
}
|
2012-01-05 12:30:29 +01:00
|
|
|
}
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
2011-04-24 01:05:59 +02:00
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Content toolbar
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
2011-04-24 01:05:59 +02:00
|
|
|
.cms-content-toolbar {
|
2012-11-22 02:14:11 +01:00
|
|
|
min-height: 29px;
|
2011-07-07 07:34:55 +02:00
|
|
|
display: block;
|
2013-06-04 02:11:05 +02:00
|
|
|
margin: 0 0 $grid-y*1.5 0;
|
|
|
|
padding-bottom: 0;
|
2011-07-06 15:22:13 +02:00
|
|
|
|
2012-11-27 06:03:43 +01:00
|
|
|
@include doubleborder(bottom, $color-light-separator, $box-shadow-shine);
|
2011-08-05 05:46:57 +02:00
|
|
|
@include legacy-pie-clearfix();
|
2011-04-24 01:05:59 +02:00
|
|
|
|
2012-02-17 05:00:29 +01:00
|
|
|
.cms-tree-view-modes {
|
2012-02-28 21:44:11 +01:00
|
|
|
float:right;
|
|
|
|
padding-top:$grid-y - 3;
|
2012-02-17 05:00:29 +01:00
|
|
|
* {
|
|
|
|
display: inline-block;
|
|
|
|
label {
|
|
|
|
color:$color-text-blue-link;
|
|
|
|
}
|
2012-02-07 23:24:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-11-22 04:30:50 +01:00
|
|
|
/* smaller treedropdown */
|
2012-02-07 23:24:42 +01:00
|
|
|
.chzn-container-single .chzn-single {
|
|
|
|
height: 26px;
|
|
|
|
line-height: 26px;
|
|
|
|
padding-left:25px;
|
|
|
|
color: darken($color-dark-grey, 15%);
|
|
|
|
@include background-image(
|
|
|
|
linear-gradient($color-button-generic, darken($color-button-generic, 10%))
|
|
|
|
);
|
|
|
|
font: {
|
|
|
|
size:13px;
|
|
|
|
weight:bold;
|
|
|
|
}
|
|
|
|
text-shadow:darken($color-text-shadow, 10%) 0 -1px 1px;
|
|
|
|
box-shadow:none;
|
|
|
|
&:hover {
|
|
|
|
@include box-shadow(0 0 5px darken($color-button-generic, 20%));
|
|
|
|
@include background-image(
|
|
|
|
linear-gradient(lighten($color-button-generic, 2%), darken($color-button-generic, 8%))
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
@include box-shadow(inset 0 1px 3px darken($color-button-generic, 60%));
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
padding-top:1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
border-left:none;
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
div b {
|
2012-02-17 00:35:10 +01:00
|
|
|
background: url(../images/sprites-32x32/menu-arrow-deselected-down.png) no-repeat 9px 11px;
|
2012-02-07 23:24:42 +01:00
|
|
|
float:right;
|
|
|
|
width:24px;
|
|
|
|
}
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
2012-11-22 04:30:50 +01:00
|
|
|
|
|
|
|
.ss-ui-button {
|
|
|
|
margin-bottom: $grid-y;
|
|
|
|
}
|
2011-04-24 01:41:21 +02:00
|
|
|
}
|
|
|
|
|
2011-08-09 07:52:13 +02:00
|
|
|
|
|
|
|
/* --------------------------------------------------------
|
|
|
|
* Content Tools is the sidebar on the left of the main content
|
|
|
|
* panel
|
|
|
|
*/
|
2011-07-07 07:34:55 +02:00
|
|
|
.cms-content-tools {
|
2012-11-22 02:14:11 +01:00
|
|
|
background: $tab-panel-texture-color;
|
2012-12-17 11:27:24 +01:00
|
|
|
width: $grid-x * 25;
|
2011-08-22 06:44:41 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
z-index: 70;
|
2012-11-27 06:03:43 +01:00
|
|
|
border-right: 1px solid $color-separator;
|
|
|
|
@include box-shadow($box-shadow-shine -1px 0 0 inset, 0 0 1px $color-shadow-light);
|
2012-02-13 18:14:29 +01:00
|
|
|
float: left;
|
|
|
|
position: relative;
|
2012-05-01 07:14:16 +02:00
|
|
|
|
|
|
|
&.filter{
|
|
|
|
padding:0 !important;
|
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
|
|
|
|
.cms-panel-header {
|
2012-03-09 09:52:03 +01:00
|
|
|
clear: both;
|
2013-06-04 02:11:05 +02:00
|
|
|
margin: 10px 0 $grid-y - 1;
|
|
|
|
padding-bottom: 2px;
|
2012-02-14 11:18:58 +01:00
|
|
|
line-height: $grid-y * 3;
|
2011-08-09 07:52:13 +02:00
|
|
|
|
2012-11-27 06:03:43 +01:00
|
|
|
@include doubleborder(bottom, $color-light-separator, $box-shadow-shine);
|
2011-08-09 07:52:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.cms-panel-content {
|
2012-12-17 13:00:18 +01:00
|
|
|
width: ($grid-x * 23);
|
2013-03-12 23:43:33 +01:00
|
|
|
padding: $grid-x*1.1 $grid-x 0; // smaller left/right padding to use space efficiently
|
2012-02-15 14:18:13 +01:00
|
|
|
overflow: auto;
|
2012-02-17 05:00:29 +01:00
|
|
|
height:100%;
|
2012-08-27 16:03:21 +02:00
|
|
|
|
2012-04-11 06:00:56 +02:00
|
|
|
.Actions .ss-ui-action-constructive {
|
|
|
|
margin-right:5px; //accounts for the scrollbar in the filter - keeps the actions on one line instead of wrapping onto two.
|
|
|
|
}
|
2011-08-22 06:44:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.cms-content-header {
|
2011-10-29 02:36:03 +02:00
|
|
|
background-color: darken($color-widget-bg, 40%);
|
2011-08-22 06:44:41 +02:00
|
|
|
@include background-image(
|
|
|
|
linear-gradient(darken($color-widget-bg, 20%), darken($color-widget-bg, 40%))
|
|
|
|
);
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
text-shadow: darken($color-widget-bg, 50%) -1px -1px 0;
|
2012-02-14 11:18:58 +01:00
|
|
|
width: $grid-x * 22 /* 24 - (padding on each side + margin) */;
|
2011-08-22 06:44:41 +02:00
|
|
|
color: lighten($color-widget-bg, 60%);
|
|
|
|
@include hide-text-overflow();
|
2011-08-09 07:52:13 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-08-04 02:02:39 +02:00
|
|
|
h3,h4,h5 {
|
|
|
|
font-weight: bold;
|
2012-02-14 11:18:58 +01:00
|
|
|
line-height: $grid-y * 2;
|
2011-08-04 02:02:39 +02:00
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
font-size: $font-base-size + 1;
|
|
|
|
}
|
2012-04-11 06:00:56 +02:00
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: $font-base-size;
|
|
|
|
margin:5px 0;
|
|
|
|
}
|
2011-08-04 02:02:39 +02:00
|
|
|
|
2011-08-16 04:57:30 +02:00
|
|
|
.ui-widget-content {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
.field {
|
2011-08-16 04:57:30 +02:00
|
|
|
/*
|
|
|
|
* Fields are more compressed in the sidebar compared to the
|
|
|
|
* main content editing window so the below alters the internal
|
|
|
|
* spacing of the fields so we can move that spacing to between
|
|
|
|
* the form fields rather than padding
|
|
|
|
*/
|
2011-07-07 07:34:55 +02:00
|
|
|
label {
|
|
|
|
float: none;
|
|
|
|
width: auto;
|
2011-08-16 04:57:30 +02:00
|
|
|
font-size: 11px;
|
2012-02-14 11:18:58 +01:00
|
|
|
padding: 0 $grid-x 4px 0;
|
2011-07-07 07:34:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.middleColumn {
|
2011-08-16 04:57:30 +02:00
|
|
|
margin: 0;
|
2011-08-09 07:52:13 +02:00
|
|
|
}
|
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
input.text,
|
2011-08-09 07:52:13 +02:00
|
|
|
select,
|
|
|
|
textarea {
|
2011-08-16 04:57:30 +02:00
|
|
|
padding: 5px;
|
|
|
|
font-size: 11px;
|
2011-08-09 07:52:13 +02:00
|
|
|
}
|
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
&.checkbox {
|
2012-11-27 06:03:43 +01:00
|
|
|
padding: 0 0 8px;
|
2011-08-22 06:44:41 +02:00
|
|
|
|
|
|
|
input {
|
|
|
|
margin: 2px 0;
|
|
|
|
}
|
|
|
|
}
|
2013-10-09 09:25:43 +02:00
|
|
|
|
|
|
|
.description {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2011-08-22 06:44:41 +02:00
|
|
|
}
|
2012-02-07 23:24:42 +01:00
|
|
|
|
2011-08-04 02:02:39 +02:00
|
|
|
.fieldgroup {
|
|
|
|
.fieldgroup-field {
|
2011-08-09 07:52:13 +02:00
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.field {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2011-08-04 02:02:39 +02:00
|
|
|
}
|
|
|
|
}
|
2011-08-22 06:44:41 +02:00
|
|
|
|
|
|
|
table {
|
|
|
|
margin: 8px -4px;
|
|
|
|
thead {
|
|
|
|
th {
|
|
|
|
color: $color-text-dark;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 16px;
|
|
|
|
font-size: 11px;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
&.active {
|
|
|
|
background-color: $color-menu-button;
|
|
|
|
color: $color-text-light;
|
|
|
|
|
|
|
|
td.first-column {
|
|
|
|
@include border-radius(6px 0 0 6px);
|
|
|
|
}
|
|
|
|
td.last-column {
|
|
|
|
@include border-radius(0 6px 6px 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 4px;
|
|
|
|
line-height: 16px;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
border-bottom: 1px solid darken($color-widget-bg, 10%);
|
2012-02-14 11:18:58 +01:00
|
|
|
padding: $grid-y - 1 2px;
|
2011-08-22 06:44:41 +02:00
|
|
|
font-size: 11px;
|
|
|
|
}
|
2011-07-07 07:34:55 +02:00
|
|
|
}
|
|
|
|
|
2013-06-04 02:11:05 +02:00
|
|
|
/** ------------------------------------------------------------------
|
|
|
|
* CMS notice, used for filter messages, but generic enough to use elsewhere
|
|
|
|
* ----------------------------------------------------------------- */
|
|
|
|
|
|
|
|
.cms-notice {
|
|
|
|
display: block;
|
|
|
|
margin: 0 0 8px;
|
|
|
|
padding: 10px 12px;
|
|
|
|
font-weight: normal;
|
|
|
|
border: 1px $color-light-separator solid;
|
|
|
|
background: #fff; // for browsers that don't understand rgba
|
|
|
|
background: rgba(#fff,0.5);
|
|
|
|
text-shadow: none;
|
|
|
|
@include border-radius(3px);
|
|
|
|
}
|
|
|
|
|
2011-08-16 04:57:30 +02:00
|
|
|
/**
|
|
|
|
* CMS Batch actions
|
|
|
|
*/
|
2011-07-07 07:34:55 +02:00
|
|
|
|
|
|
|
.cms-content-batchactions {
|
2012-02-07 23:24:42 +01:00
|
|
|
float: left;
|
2011-07-07 07:34:55 +02:00
|
|
|
position: relative;
|
|
|
|
display: block;
|
2012-10-12 05:02:04 +02:00
|
|
|
|
|
|
|
.view-mode-batchactions-wrapper {
|
2013-01-25 16:41:02 +01:00
|
|
|
height: 18px;
|
2012-10-12 05:02:04 +02:00
|
|
|
float: left;
|
|
|
|
padding: 4px 6px;
|
|
|
|
border: 1px solid #aaa;
|
|
|
|
margin-bottom: 8px;
|
2013-06-04 02:48:51 +02:00
|
|
|
margin-right:-1px;
|
2012-11-27 06:03:43 +01:00
|
|
|
background-color: #D9D9D9;
|
2012-10-12 05:02:04 +02:00
|
|
|
@include background-image(linear-gradient(top, #fff, #D9D9D9));
|
|
|
|
border-top-left-radius: 4px;
|
2013-01-25 16:41:02 +01:00
|
|
|
border-bottom-left-radius: 4px;
|
|
|
|
|
|
|
|
input {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2012-10-12 05:02:04 +02:00
|
|
|
|
|
|
|
label {
|
2013-01-25 16:41:02 +01:00
|
|
|
vertical-align: middle;
|
2012-10-12 05:02:04 +02:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
fieldset, .Actions {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2013-06-04 02:11:05 +02:00
|
|
|
#view-mode-batchactions {
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2012-10-12 05:02:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.inactive .view-mode-batchactions-wrapper {
|
2013-01-25 16:41:02 +01:00
|
|
|
border-radius: 4px;
|
2012-10-12 05:02:04 +02:00
|
|
|
|
|
|
|
label {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
}
|
2013-01-25 16:41:02 +01:00
|
|
|
|
2011-08-16 04:57:30 +02:00
|
|
|
form > * {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
}
|
2013-01-25 16:41:02 +01:00
|
|
|
|
2011-08-16 04:57:30 +02:00
|
|
|
form.cms-batch-actions {
|
|
|
|
float: left;
|
|
|
|
}
|
2012-10-12 05:02:04 +02:00
|
|
|
|
|
|
|
&.inactive form {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2013-01-25 16:41:02 +01:00
|
|
|
.chzn-container-single {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
.chzn-single {
|
|
|
|
border-radius: 0;
|
|
|
|
@include background-image(linear-gradient(top, #fff, #D9D9D9));
|
|
|
|
|
|
|
|
span {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2012-10-12 05:02:04 +02:00
|
|
|
}
|
|
|
|
|
2013-06-04 02:48:51 +02:00
|
|
|
|
|
|
|
.cms-batch-actions {
|
|
|
|
.dropdown {
|
|
|
|
margin: 0;
|
|
|
|
.chzn-single {
|
|
|
|
padding-left: 8px; /* use default size without icon */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.Actions .ss-ui-button {
|
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
height: 28px;
|
|
|
|
margin-left: -1px;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
2012-10-12 05:02:04 +02:00
|
|
|
|
2013-06-04 02:48:51 +02:00
|
|
|
&.ui-state-disabled {
|
|
|
|
opacity: 1;
|
|
|
|
color: #ccc;
|
|
|
|
}
|
2012-10-12 05:02:04 +02:00
|
|
|
}
|
|
|
|
}
|
2011-07-07 07:34:55 +02:00
|
|
|
}
|
|
|
|
|
2011-10-29 12:59:42 +02:00
|
|
|
#Form_BatchActionsForm select {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
2012-01-03 17:38:11 +01:00
|
|
|
* Preview
|
2011-07-07 07:34:55 +02:00
|
|
|
* -------------------------------------------- */
|
2012-01-03 17:38:11 +01:00
|
|
|
.cms-switch-view {
|
|
|
|
a {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
}
|
2012-11-22 02:14:11 +01:00
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Member Profile
|
|
|
|
* -------------------------------------------- */
|
2011-04-30 06:48:57 +02:00
|
|
|
|
|
|
|
form.member-profile-form {
|
2012-03-16 03:59:58 +01:00
|
|
|
padding: 0 $grid-x*2 0 0;
|
|
|
|
|
|
|
|
#Root_Permissions {
|
|
|
|
clear:both;
|
2012-04-03 04:34:42 +02:00
|
|
|
border-top: 1px solid darken($color-tab, 20%);
|
2012-03-16 03:59:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#Root_Main {
|
|
|
|
clear:both;
|
2012-04-03 04:34:42 +02:00
|
|
|
border-top: 1px solid darken($color-tab, 20%);
|
2012-03-16 04:30:35 +01:00
|
|
|
.cms-help-toggle {
|
|
|
|
text-indent: -9999em;
|
|
|
|
display: inline-block;
|
|
|
|
width: 20px;
|
|
|
|
background:url(../images/question.png) no-repeat 0px 0px;
|
|
|
|
}
|
2012-03-16 03:59:58 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#FavouritePageID {
|
|
|
|
margin-top:$grid-y;
|
|
|
|
}
|
|
|
|
|
2011-04-30 06:48:57 +02:00
|
|
|
#CsvFile .middleColumn {
|
|
|
|
background: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.advanced h4 {
|
|
|
|
margin-bottom: .5em;
|
|
|
|
}
|
|
|
|
.Actions {
|
|
|
|
text-align: left;
|
|
|
|
border: 0;
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
2011-04-30 06:48:57 +02:00
|
|
|
input.customFormat {
|
2012-02-14 11:18:58 +01:00
|
|
|
width: $grid-x * 10;
|
2011-04-30 06:48:57 +02:00
|
|
|
border: 1px solid #ccc !important;
|
|
|
|
padding: 3px;
|
2012-01-06 20:44:34 +01:00
|
|
|
display: inline-block;
|
|
|
|
margin-left: 1em;
|
2011-04-30 06:48:57 +02:00
|
|
|
}
|
|
|
|
.formattingHelpToggle {
|
2011-12-21 19:45:20 +01:00
|
|
|
display: block;
|
2011-04-30 06:48:57 +02:00
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
.formattingHelpText {
|
2011-12-21 19:45:20 +01:00
|
|
|
margin: 5px 0 0 -5px;
|
2011-04-30 06:48:57 +02:00
|
|
|
color: #333;
|
|
|
|
padding: 5px 10px;
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
.formattingHelpText ul {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.formattingHelpText li {
|
|
|
|
font-size: 11px;
|
|
|
|
color: #333;
|
|
|
|
margin-bottom: 2px;
|
2012-01-06 20:44:34 +01:00
|
|
|
padding-bottom: 0;
|
2011-12-21 19:45:20 +01:00
|
|
|
float: none;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
#Groups .middleColumn {
|
|
|
|
margin-left: 0;
|
|
|
|
width: 100%;
|
|
|
|
.TreeDropdownField {
|
|
|
|
width: 90%;
|
|
|
|
max-width: 90%;
|
|
|
|
}
|
2011-04-30 06:48:57 +02:00
|
|
|
}
|
2012-01-06 20:44:34 +01:00
|
|
|
|
|
|
|
// Same rules in .SecurityAdmin
|
|
|
|
#Permissions {
|
|
|
|
.optionset {
|
|
|
|
li {
|
|
|
|
float: none;
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-04-30 06:48:57 +02:00
|
|
|
}
|
|
|
|
|
2012-11-30 12:27:38 +01:00
|
|
|
.memberdatetimeoptionset {
|
|
|
|
.description {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
.toggle {
|
|
|
|
font-size: $font-base-size - 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-08-04 02:02:39 +02:00
|
|
|
.cms {
|
2011-08-05 05:46:57 +02:00
|
|
|
.cms-content {
|
2012-12-06 03:22:45 +01:00
|
|
|
border-right: 1px solid #BBB;
|
2011-08-05 05:46:57 +02:00
|
|
|
@include border-radius(0);
|
2012-11-22 02:14:11 +01:00
|
|
|
background: $tab-panel-texture-color;
|
|
|
|
width: 800px;
|
|
|
|
z-index: 40;
|
2011-08-05 05:46:57 +02:00
|
|
|
}
|
|
|
|
|
2011-08-04 02:02:39 +02:00
|
|
|
.cms-content-fields {
|
2012-03-27 15:31:04 +02:00
|
|
|
// always show a y scroll bar as popups like TreeDropdowns
|
|
|
|
// can trigger longer pages and the extra scroll bar doesn't fire our sizing bar
|
2011-10-29 11:19:12 +02:00
|
|
|
overflow-y: auto;
|
2011-08-05 05:46:57 +02:00
|
|
|
overflow-x: auto;
|
2014-01-29 03:47:15 +01:00
|
|
|
background: darken($tab-panel-texture-color, 2%);
|
2012-02-23 22:43:37 +01:00
|
|
|
width:100%;
|
2012-03-19 04:39:10 +01:00
|
|
|
#Root_Main {
|
|
|
|
.confirmedpassword {
|
|
|
|
border-bottom:none;
|
|
|
|
box-shadow:none;
|
|
|
|
}
|
|
|
|
.customFormat {
|
|
|
|
max-width:80px;
|
|
|
|
}
|
|
|
|
.cms-help-toggle {
|
|
|
|
text-indent: -9999em;
|
|
|
|
display: inline-block;
|
|
|
|
width: 20px;
|
|
|
|
background:url(../images/question.png) no-repeat 0px 0px;
|
|
|
|
}
|
|
|
|
}
|
2012-03-19 04:57:16 +01:00
|
|
|
#Root_Permissions{
|
|
|
|
ul.optionset li {
|
|
|
|
float:none;
|
|
|
|
}
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
2012-06-11 06:02:33 +02:00
|
|
|
}
|
2012-10-08 04:02:01 +02:00
|
|
|
form.member-profile-form {
|
|
|
|
#Root .ui-tabs-nav {
|
|
|
|
display: none;
|
2012-06-11 06:02:33 +02:00
|
|
|
}
|
2012-10-08 04:02:01 +02:00
|
|
|
|
|
|
|
#Root_Main, #Root_Permissions {
|
|
|
|
border: none;
|
2012-06-11 06:02:33 +02:00
|
|
|
}
|
2012-10-08 04:02:01 +02:00
|
|
|
}
|
2011-08-04 02:02:39 +02:00
|
|
|
}
|
2012-12-17 11:27:24 +01:00
|
|
|
|
2012-03-04 21:57:05 +01:00
|
|
|
/** --------------------------------------------
|
|
|
|
* "Settings" Form
|
|
|
|
* -------------------------------------------- */
|
|
|
|
#CanViewType, #CanEditType, #CanCreateTopLevelType {
|
|
|
|
.optionset li {
|
|
|
|
// All options on their own line
|
|
|
|
float: none;
|
|
|
|
width: auto;
|
2012-03-09 01:20:27 +01:00
|
|
|
white-space: nowrap;
|
2012-03-04 21:57:05 +01:00
|
|
|
}
|
|
|
|
}
|
2012-03-04 22:07:36 +01:00
|
|
|
#ViewerGroups, #EditorGroups, #CreateTopLevelGroups {
|
|
|
|
select {
|
|
|
|
// Fix for chosen.js width detection on hidden elements.
|
|
|
|
// TODO Remove once .field styling in _form.scss is refactored to allow flexible field widths
|
|
|
|
width: $grid-x * 64;
|
|
|
|
}
|
|
|
|
}
|
2012-03-04 21:57:05 +01:00
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Panels
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
2011-05-13 03:30:49 +02:00
|
|
|
.cms-panel {
|
|
|
|
overflow: hidden;
|
2011-10-29 02:01:06 +02:00
|
|
|
.cms-panel-toggle {
|
2012-11-27 06:03:43 +01:00
|
|
|
@include box-shadow(0 0 1px $box-shadow-shine);
|
2012-05-21 01:00:10 +02:00
|
|
|
&.south {
|
2012-11-27 06:03:43 +01:00
|
|
|
border-top: 1px solid darken($color-base, 6%);
|
|
|
|
@include box-shadow(lighten($color-base, 4%) 0 1px 0px inset);
|
2012-11-22 04:30:50 +01:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
2012-11-27 06:03:43 +01:00
|
|
|
width:100%;
|
2012-05-21 01:00:10 +02:00
|
|
|
}
|
2011-10-29 02:01:06 +02:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
text-align: right;
|
2012-02-14 11:18:58 +01:00
|
|
|
padding: $grid-y/2 0;
|
2011-10-29 02:01:06 +02:00
|
|
|
width: 100%;
|
|
|
|
text-decoration: none;
|
|
|
|
span {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 5px;
|
|
|
|
color: $color-text-dark;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2011-10-30 14:34:35 +01:00
|
|
|
|
|
|
|
&.toggle-expand {
|
|
|
|
width: 40px; // will set the collapsed width
|
2012-11-22 02:14:11 +01:00
|
|
|
display: none;
|
2011-10-30 14:34:35 +01:00
|
|
|
}
|
2011-05-13 03:30:49 +02:00
|
|
|
}
|
|
|
|
}
|
2012-05-21 01:00:10 +02:00
|
|
|
&.cms-content-tools .cms-panel-toggle {
|
|
|
|
&.south {
|
2012-11-27 06:03:43 +01:00
|
|
|
border-top: 1px solid darken($tab-panel-texture-color,10%);
|
|
|
|
@include box-shadow($box-shadow-shine 0 1px 0px inset);
|
2012-05-21 01:00:10 +02:00
|
|
|
}
|
2012-11-22 02:14:11 +01:00
|
|
|
}
|
2011-05-13 03:30:49 +02:00
|
|
|
&.collapsed {
|
2012-02-15 14:18:13 +01:00
|
|
|
cursor: pointer;
|
2012-11-22 04:30:50 +01:00
|
|
|
.cms-panel-header *,
|
|
|
|
.cms-panel-content,
|
|
|
|
.cms-panel-toggle a.toggle-collapse{
|
2012-11-22 02:14:11 +01:00
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
.cms-panel-toggle a.toggle-expand {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2012-01-06 16:39:51 +01:00
|
|
|
}
|
|
|
|
|
2012-02-15 14:18:13 +01:00
|
|
|
.cms-panel-header {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2012-02-17 05:00:29 +01:00
|
|
|
&#cms-content-tools-CMSPageEditController {
|
|
|
|
.cms-panel-content-collapsed {
|
|
|
|
width: 40px;
|
|
|
|
display: none; // Avoids FOUC
|
|
|
|
|
|
|
|
h2, h3 {
|
|
|
|
border-bottom: 0;
|
|
|
|
margin-left: $grid-y;
|
|
|
|
@include transform-origin(bottom, right);
|
|
|
|
@include rotate(270deg);
|
|
|
|
}
|
|
|
|
.cms-panel-header {
|
|
|
|
width: 600px;
|
|
|
|
position:relative;
|
|
|
|
top:24px;
|
|
|
|
right:577px;
|
|
|
|
text-align:right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-01-06 16:39:51 +01:00
|
|
|
.cms-panel-content-collapsed {
|
|
|
|
width: 40px;
|
2012-02-16 11:45:07 +01:00
|
|
|
display: none; // Avoids FOUC
|
2012-01-06 16:39:51 +01:00
|
|
|
|
|
|
|
h2, h3 {
|
|
|
|
border-bottom: 0;
|
2012-02-14 11:18:58 +01:00
|
|
|
margin-left: $grid-y;
|
2012-02-17 05:00:29 +01:00
|
|
|
@include transform-origin(bottom, right);
|
|
|
|
@include rotate(270deg);
|
|
|
|
}
|
|
|
|
.cms-panel-header {
|
|
|
|
width: 600px;
|
|
|
|
position:relative;
|
|
|
|
right:577px;
|
|
|
|
text-align:right;
|
2012-04-18 03:59:00 +02:00
|
|
|
border-bottom:none;
|
|
|
|
box-shadow:none;
|
2012-01-06 16:39:51 +01:00
|
|
|
}
|
2011-05-13 03:30:49 +02:00
|
|
|
}
|
2011-10-07 06:48:53 +02:00
|
|
|
|
2011-10-10 02:24:27 +02:00
|
|
|
.child-flyout-indicator {
|
2011-10-07 06:48:53 +02:00
|
|
|
width:0;
|
|
|
|
height:0;
|
|
|
|
border-right:3px dashed $color-text-dark;
|
|
|
|
border-top:3px solid transparent;
|
|
|
|
border-left:3px solid transparent;
|
|
|
|
border-bottom:3px dashed $color-text-dark;
|
|
|
|
position: absolute;
|
|
|
|
right: 1px;
|
|
|
|
margin-top: -8px;
|
|
|
|
display: none; /* To be shown by javascript, see LeftAndMain.Panel.js */
|
|
|
|
}
|
|
|
|
.collapsed-flyout {
|
|
|
|
display: block !important;
|
|
|
|
left: 41px;
|
|
|
|
margin-top: -40px;
|
|
|
|
position: fixed;
|
|
|
|
width: 191px;
|
|
|
|
|
|
|
|
li a span {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
}
|
2011-05-13 03:30:49 +02:00
|
|
|
}
|
|
|
|
|
2012-12-17 15:13:43 +01:00
|
|
|
.cms {
|
|
|
|
.cms-panel-padded {
|
|
|
|
padding: $grid-y*2 $grid-x*2;
|
|
|
|
margin:0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-09-29 05:25:31 +02:00
|
|
|
/** ------------------------------------------------------------------
|
2012-01-03 17:38:11 +01:00
|
|
|
* Dialog
|
|
|
|
*
|
|
|
|
* Contained in a jQuery UI dialog ('.ui-dialog'), with either inline
|
|
|
|
* markup (for the "insert" dialogs), or an iframe (for member profile).
|
2011-09-29 05:25:31 +02:00
|
|
|
* ----------------------------------------------------------------- */
|
|
|
|
|
2012-01-03 17:38:11 +01:00
|
|
|
// overlay for switching between CMS panes
|
2011-09-29 06:09:36 +02:00
|
|
|
.cms .ui-widget-overlay-light {
|
|
|
|
background: #aaaaaa url(../../thirdparty/jquery-ui-themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
|
|
|
|
opacity: 0.3;
|
2011-09-29 05:25:31 +02:00
|
|
|
}
|
|
|
|
|
2012-01-03 17:38:11 +01:00
|
|
|
// Adjusting the color of the background overlay to be darker for pop-up dialogs (created by jQuery-UI)
|
2011-09-29 05:25:31 +02:00
|
|
|
.cms .ui-widget-overlay {
|
|
|
|
background-color: #000;
|
|
|
|
background-image: none;
|
|
|
|
}
|
|
|
|
|
2012-06-25 07:35:05 +02:00
|
|
|
.cms .ui-dialog{
|
|
|
|
.ss-ui-dialog.ui-dialog-content {
|
|
|
|
padding-top: 0px; //removes padding so that tabs are flush with header
|
|
|
|
}
|
2012-03-16 03:59:58 +01:00
|
|
|
}
|
|
|
|
|
2012-01-03 17:38:11 +01:00
|
|
|
// Elements with this class can either frame inline markup or an iframe,
|
|
|
|
// most styles should be applied to .cms-dialog instead (which declares the content in the frame)
|
2011-09-29 05:25:31 +02:00
|
|
|
.ui-dialog {
|
2012-11-22 02:14:11 +01:00
|
|
|
background: url("../images/textures/bg_cms_main_content.png") repeat left top #F0F3F4;
|
|
|
|
border: 3px solid #000 !important;
|
2012-02-14 11:18:58 +01:00
|
|
|
border-radius: $grid-y;
|
2012-11-22 02:14:11 +01:00
|
|
|
overflow: visible;
|
|
|
|
padding: 0;
|
2012-04-05 03:23:45 +02:00
|
|
|
|
2012-11-22 02:14:11 +01:00
|
|
|
// Titlebar for pop-up dialog.
|
2012-01-03 17:38:11 +01:00
|
|
|
.ui-dialog-titlebar.ui-widget-header {
|
2012-03-30 03:33:20 +02:00
|
|
|
font-size: $font-base-size+2;
|
2012-04-05 03:23:45 +02:00
|
|
|
padding: 0;
|
2012-03-30 03:33:20 +02:00
|
|
|
border:none;
|
|
|
|
background: {
|
|
|
|
color:transparent;
|
|
|
|
image:url(../images/textures/cms_content_header.png);
|
|
|
|
repeat:repeat;
|
|
|
|
}
|
|
|
|
@include box-shadow($color-shadow-dark 0 0 ($grid-x / 2) inset);
|
2012-04-05 03:23:45 +02:00
|
|
|
.ui-dialog-title {
|
|
|
|
position:absolute;
|
|
|
|
}
|
2012-02-08 15:34:06 +01:00
|
|
|
}
|
2011-09-30 01:48:27 +02:00
|
|
|
|
2013-06-13 19:57:18 +02:00
|
|
|
.ui-dialog-content {
|
|
|
|
overflow: auto; // TODO Replace with proper $.layout grid
|
|
|
|
|
|
|
|
&.loading {
|
|
|
|
background-image: url(../images/spinner.gif);
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-03-30 03:33:20 +02:00
|
|
|
.cms-dialog-content {
|
|
|
|
background: url("../images/textures/bg_cms_main_content.png") repeat left top #F0F3F4;
|
|
|
|
padding-bottom: $grid-y;
|
2012-04-05 03:23:45 +02:00
|
|
|
padding-top:0px;
|
2011-09-29 05:25:31 +02:00
|
|
|
|
2012-03-30 03:33:20 +02:00
|
|
|
.Actions {
|
|
|
|
overflow: auto;
|
|
|
|
margin: $grid-y 0;
|
|
|
|
padding-bottom: $grid-y;
|
|
|
|
float: right;
|
|
|
|
}
|
2011-09-30 01:48:27 +02:00
|
|
|
|
2012-11-06 10:53:20 +01:00
|
|
|
.ui-tabs{
|
|
|
|
position:static;
|
|
|
|
// Shift navigation upwards to be horizontally centered with dialog title.
|
|
|
|
// Can't use floats since this title is in a different DOM parent sibling
|
|
|
|
// Note: Does NOT apply to member profile form (unnecessary, since it doesn't have a dialog title)
|
|
|
|
.ui-tabs-nav {
|
|
|
|
position:absolute;
|
|
|
|
top:0;
|
|
|
|
// Tabs nav is included in scollbar. By absolutely positioning it off the edge,
|
|
|
|
// we avoid tabs shifting position when scrollbar toggles
|
|
|
|
right: 40px;
|
2012-03-30 03:33:20 +02:00
|
|
|
}
|
2012-01-03 17:38:11 +01:00
|
|
|
|
2012-11-06 10:53:20 +01:00
|
|
|
// Don't show top border, since these styles already have a title bar
|
|
|
|
.ui-tabs-panel {
|
|
|
|
border: 0;
|
2012-01-03 17:38:11 +01:00
|
|
|
}
|
2011-12-21 19:45:20 +01:00
|
|
|
}
|
2012-11-06 10:53:20 +01:00
|
|
|
|
2012-03-30 03:33:20 +02:00
|
|
|
.clear {
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2011-12-21 19:45:20 +01:00
|
|
|
}
|
2012-03-30 03:33:20 +02:00
|
|
|
|
|
|
|
&.loading {
|
|
|
|
background-image: url(../images/spinner.gif);
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
2011-12-21 19:45:20 +01:00
|
|
|
}
|
2011-12-17 04:12:21 +01:00
|
|
|
}
|
2012-01-03 17:38:11 +01:00
|
|
|
|
2012-03-30 03:33:20 +02:00
|
|
|
body.cms-dialog {
|
|
|
|
overflow: auto;
|
|
|
|
background: url("../images/textures/bg_cms_main_content.png") repeat left top #F0F3F4;
|
2012-04-23 07:01:38 +02:00
|
|
|
position:relative;
|
2011-12-17 04:12:21 +01:00
|
|
|
}
|
2012-01-03 17:38:11 +01:00
|
|
|
|
2012-01-03 22:30:24 +01:00
|
|
|
/** --------------------------------------------
|
|
|
|
* "Insert X" forms
|
|
|
|
* -------------------------------------------- */
|
2012-06-11 10:51:47 +02:00
|
|
|
.htmleditorfield-dialog{
|
|
|
|
&.ui-dialog-content{
|
|
|
|
padding:0;
|
|
|
|
position:relative;
|
|
|
|
}
|
|
|
|
|
2013-06-14 23:55:43 +02:00
|
|
|
.htmleditorfield-from-web {
|
2012-06-11 02:55:40 +02:00
|
|
|
.CompositeField{
|
|
|
|
@include clearfix;
|
|
|
|
}
|
|
|
|
#RemoteURL{
|
|
|
|
border:none;
|
|
|
|
@include box-shadow-none;
|
|
|
|
width:55%;
|
2012-06-22 08:04:13 +02:00
|
|
|
max-width:512px;
|
2012-06-11 02:55:40 +02:00
|
|
|
float:left;
|
2012-06-21 04:19:41 +02:00
|
|
|
position: relative;
|
|
|
|
|
2012-06-22 10:25:15 +02:00
|
|
|
label {
|
2012-11-22 02:14:11 +01:00
|
|
|
position: absolute;
|
|
|
|
left: 8px;
|
|
|
|
top: 13px;
|
|
|
|
font-weight: normal; color: #888;
|
2012-06-21 04:19:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.middleColumn {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.remoteurl {
|
|
|
|
padding-left: 40px;
|
2014-10-22 03:57:59 +02:00
|
|
|
max-width: 350px;
|
2012-06-21 04:19:41 +02:00
|
|
|
}
|
2012-06-11 02:55:40 +02:00
|
|
|
}
|
|
|
|
button.add-url{
|
2014-10-22 03:57:59 +02:00
|
|
|
margin-top:20px;
|
2012-06-11 02:55:40 +02:00
|
|
|
@include clearfix;
|
|
|
|
border:none;
|
|
|
|
background:none;
|
|
|
|
opacity:0.8;
|
|
|
|
cursor: hand;
|
|
|
|
.btn-icon-addMedia{
|
|
|
|
width:20px;
|
|
|
|
height:20px;
|
|
|
|
}
|
2013-05-25 03:40:37 +02:00
|
|
|
.ui-button-text{
|
|
|
|
margin-left:10px;
|
2014-10-22 03:57:59 +02:00
|
|
|
padding-top:10px;
|
2013-05-25 03:40:37 +02:00
|
|
|
}
|
2012-06-11 02:55:40 +02:00
|
|
|
&:hover, &:active{
|
|
|
|
border:none;
|
|
|
|
@include box-shadow-none;
|
|
|
|
opacity:1;
|
|
|
|
}
|
2012-06-21 04:19:41 +02:00
|
|
|
&.ui-state-disabled {
|
|
|
|
&, &:hover, &:active {
|
|
|
|
opacity: 0.35;
|
|
|
|
filter: Alpha(Opacity=35);
|
|
|
|
}
|
|
|
|
}
|
2012-06-11 02:55:40 +02:00
|
|
|
}
|
2012-06-22 10:25:15 +02:00
|
|
|
.loading button.add-url .ui-icon {
|
|
|
|
background-image: url(../images/throbber.gif);
|
|
|
|
background-position: 50% 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
2012-06-11 02:55:40 +02:00
|
|
|
}
|
|
|
|
|
2012-06-11 10:51:47 +02:00
|
|
|
.cms-content-header{
|
|
|
|
padding:0;
|
|
|
|
width:100%;
|
|
|
|
height: 40px;
|
|
|
|
h3{
|
|
|
|
padding: 0 8px;
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
}
|
2012-11-06 10:53:20 +01:00
|
|
|
|
2012-06-25 05:31:39 +02:00
|
|
|
.ss-insert-media, .Actions, .ss-insert-link{
|
2012-06-11 10:51:47 +02:00
|
|
|
padding:$grid-y $grid-x*2 ;
|
2013-06-14 22:05:04 +02:00
|
|
|
.ui-tabs-panel {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2012-06-11 10:51:47 +02:00
|
|
|
}
|
|
|
|
.details{
|
|
|
|
.file-url{
|
|
|
|
display:block;
|
2013-06-14 13:54:33 +02:00
|
|
|
width:300px;
|
2012-06-11 10:51:47 +02:00
|
|
|
@include hide-text-overflow;
|
|
|
|
}
|
|
|
|
.cms-file-info{
|
|
|
|
.field{
|
|
|
|
border:none;
|
|
|
|
@include box-shadow(0 0 0 rgba(0, 0, 0, 0));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.field{
|
|
|
|
border-bottom: 1px solid $color-shadow-light;
|
|
|
|
@include box-shadow(0 1px 0 lighten($color-shadow-light, 95%));
|
|
|
|
&.last{
|
|
|
|
border-bottom:none;
|
|
|
|
@include box-shadow(0 0 0 rgba(0, 0, 0, 0));
|
|
|
|
margin-bottom:0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-05-25 05:52:20 +02:00
|
|
|
|
|
|
|
.CompositeField{
|
|
|
|
.text{
|
|
|
|
select{
|
|
|
|
margin: 5px 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-06-11 10:51:47 +02:00
|
|
|
}
|
|
|
|
|
2012-01-03 22:30:24 +01:00
|
|
|
.htmleditorfield-linkform {
|
|
|
|
.step2 {
|
2012-02-14 11:18:58 +01:00
|
|
|
margin-bottom: $grid-x*2;
|
2012-01-03 22:30:24 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-02-09 17:17:39 +01:00
|
|
|
.htmleditorfield-mediaform {
|
|
|
|
.ss-gridfield {
|
2013-06-14 13:53:09 +02:00
|
|
|
.gridfield-button-delete {
|
|
|
|
// TODO Remove from PHP instead of hiding
|
|
|
|
display: none; // delete action shouldn't be allowed here
|
|
|
|
}
|
2013-06-14 22:05:04 +02:00
|
|
|
table.ss-gridfield-table {
|
|
|
|
tbody td:first-child {
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
|
|
|
img {
|
|
|
|
max-height: 30px; // same thumbnail size as uploadfield rows
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tr td {
|
|
|
|
padding: $grid-x/2; // more compressed space
|
|
|
|
}
|
2012-02-09 17:17:39 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-14 23:55:43 +02:00
|
|
|
.htmleditorfield-from-web, .htmleditorfield-from-cms {
|
|
|
|
.ss-uploadfield {
|
2012-06-22 08:04:13 +02:00
|
|
|
.middleColumn {
|
|
|
|
width:auto;
|
|
|
|
background:none;
|
|
|
|
border:none;
|
|
|
|
margin-top:13px;
|
|
|
|
}
|
|
|
|
}
|
2013-06-14 23:55:43 +02:00
|
|
|
}
|
2012-06-22 08:04:13 +02:00
|
|
|
|
2013-06-14 23:55:43 +02:00
|
|
|
.htmleditorfield-from-cms {
|
|
|
|
.ss-uploadfield {
|
2013-06-14 22:05:04 +02:00
|
|
|
h4 {
|
|
|
|
float: left; // headline and dropdown on same line
|
|
|
|
margin-top: $grid-y/2; // bring to same baseline as dropdown
|
|
|
|
margin-bottom: 0;
|
2012-06-22 08:04:13 +02:00
|
|
|
}
|
|
|
|
.middleColumn {
|
2013-06-14 22:05:04 +02:00
|
|
|
margin-top: $grid-y*2; // same as left-floated h4
|
|
|
|
margin-left: $grid-x*23; // make room for headline
|
2014-11-15 14:15:50 +01:00
|
|
|
min-width: 0; // fit within available space
|
|
|
|
clear: none; // headline and dropdown on same line
|
2013-06-14 22:05:04 +02:00
|
|
|
}
|
|
|
|
.field.treedropdown {
|
|
|
|
border-bottom: 0; // don't show border, dropdown and gridfield visually belong together
|
|
|
|
padding: 0;
|
2012-06-22 08:04:13 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-06-20 05:21:18 +02:00
|
|
|
.ss-assetuploadfield .ss-uploadfield-editandorganize {
|
|
|
|
.ss-uploadfield-files {
|
|
|
|
.ss-uploadfield-item-info {
|
|
|
|
background-color: grayscale(#5db4df);
|
|
|
|
@include background-image(linear-gradient(top, grayscale(#5db4df) 0%, grayscale(#5db1dd) 8%, grayscale(#439bcb) 50%, grayscale(#3f99cd) 54%, grayscale(#207db6) 96%, grayscale(#1e7cba) 100%));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-02-09 17:17:39 +01:00
|
|
|
}
|
|
|
|
|
2012-03-09 09:52:03 +01:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Search forms (used in AssetAdmin, ModelAdmin, etc)
|
|
|
|
* -------------------------------------------- */
|
|
|
|
.cms-search-form {
|
|
|
|
margin-bottom: $grid-y*2;
|
2012-05-01 07:14:16 +02:00
|
|
|
.filter &{
|
|
|
|
margin-bottom:0;
|
|
|
|
}
|
2012-11-27 06:03:43 +01:00
|
|
|
.Actions {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2012-03-09 09:52:03 +01:00
|
|
|
}
|
|
|
|
|
2012-01-03 22:30:24 +01:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Step labels
|
|
|
|
* -------------------------------------------- */
|
2012-01-03 22:17:28 +01:00
|
|
|
.step-label {
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flyout {
|
|
|
|
height: 26px - 2*4px; // minus padding
|
|
|
|
font-size: $font-base-size+2;
|
|
|
|
font-weight: bold;
|
|
|
|
@include border-top-left-radius(3px);
|
|
|
|
@include border-bottom-left-radius(3px);
|
|
|
|
background-color: #667980; // hardcoding colour since its tied to the sprite
|
|
|
|
padding: 4px 3px 4px 6px;
|
|
|
|
text-align: center;
|
|
|
|
text-shadow: none;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.arrow {
|
|
|
|
height: 26px;
|
|
|
|
width: 10px;
|
|
|
|
background: sprite($sprites32, numeric-label) no-repeat;
|
|
|
|
margin-right: 4px;
|
2012-01-03 17:38:11 +01:00
|
|
|
}
|
|
|
|
|
2012-01-03 22:17:28 +01:00
|
|
|
.title {
|
|
|
|
height: 26px - 2*4px; // minus padding
|
|
|
|
padding: 4px;
|
2012-11-02 00:46:16 +01:00
|
|
|
}
|
2012-02-23 22:43:37 +01:00
|
|
|
}
|
|
|
|
|
2012-11-02 00:46:16 +01:00
|
|
|
|
2012-02-23 22:43:37 +01:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Item Edit Form
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
2012-02-28 18:07:55 +01:00
|
|
|
.cms-file-info {
|
|
|
|
overflow: auto;
|
|
|
|
// Emulate .field bottom border styling without applying .field class,
|
|
|
|
// as it messes up the nested .field element styling (blocklevel labels)
|
|
|
|
border-bottom: 1px solid $color-shadow-light;
|
2012-06-08 06:42:14 +02:00
|
|
|
@include box-shadow(0 1px 0 lighten($color-shadow-light, 95%));
|
|
|
|
margin-bottom: $grid-x;
|
2012-02-28 18:07:55 +01:00
|
|
|
|
|
|
|
// Preview might not always be available
|
|
|
|
.cms-file-info-preview {
|
|
|
|
float: left;
|
|
|
|
width: $grid-x * 22; // Same as ".field label"
|
|
|
|
margin-right: $grid-x;
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: $grid-x * 22; // Same as ".field label"
|
2013-06-15 10:02:11 +02:00
|
|
|
max-height: $grid-x * 16; // Fitting typical info displayed (~5 rows)
|
2012-02-23 22:43:37 +01:00
|
|
|
}
|
2012-02-28 18:07:55 +01:00
|
|
|
}
|
|
|
|
.cms-file-info-data {
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
.field {
|
|
|
|
// Unsetting styles from .field, make it more compact visually
|
2013-06-15 10:02:11 +02:00
|
|
|
margin: 0;
|
2012-02-28 18:07:55 +01:00
|
|
|
padding-bottom: $grid-x;
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
2013-06-15 10:02:11 +02:00
|
|
|
label.left {
|
|
|
|
width: $grid-x*12;
|
|
|
|
}
|
|
|
|
.middleColumn {
|
|
|
|
margin-left: $grid-x*13;
|
|
|
|
}
|
2012-02-28 18:07:55 +01:00
|
|
|
label, span {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-03-01 11:57:35 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
form.small {
|
|
|
|
.cms-file-info-preview {
|
|
|
|
width: $grid-x*14;
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: $grid-x*14;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-file-info-data {
|
2012-05-21 01:00:10 +02:00
|
|
|
// Ensure it fits beside the image preview, increased size for long url
|
|
|
|
max-width: 550px;
|
|
|
|
|
2012-03-01 11:57:35 +01:00
|
|
|
|
|
|
|
// Reduced label widths to fit everything in smaller space
|
|
|
|
.field {
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
|
|
label {
|
|
|
|
width: $grid-x*14;
|
|
|
|
}
|
|
|
|
.middleColumn {
|
|
|
|
margin-left: $grid-x*15;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-03-06 03:55:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/** --------------------------------------------
|
|
|
|
* Users Members Admin
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
|
|
|
.members_grid {
|
2012-03-08 04:28:45 +01:00
|
|
|
span button#action_gridfield_relationfind {
|
2012-03-08 22:33:17 +01:00
|
|
|
display:none; //hides find button - redundant functionality
|
2012-03-08 04:28:45 +01:00
|
|
|
}
|
|
|
|
p button#action_export {
|
|
|
|
span.btn-icon-download-csv {
|
2012-03-08 22:33:17 +01:00
|
|
|
height:17px; //exact height of icon
|
2012-03-08 04:28:45 +01:00
|
|
|
}
|
2012-03-06 03:55:26 +01:00
|
|
|
}
|
2012-03-24 01:20:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Import forms
|
|
|
|
*/
|
2013-01-15 00:16:45 +01:00
|
|
|
|
|
|
|
body.SecurityAdmin {
|
2013-03-12 23:43:33 +01:00
|
|
|
background-color: darken($tab-panel-texture-color,2%); //adds background to import members/groups iframe
|
2013-01-15 00:16:45 +01:00
|
|
|
}
|
|
|
|
|
2012-03-24 01:20:19 +01:00
|
|
|
form.import-form {
|
|
|
|
ul {
|
|
|
|
list-style: disc;
|
|
|
|
li {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
label.left {
|
|
|
|
width: 250px;
|
|
|
|
}
|
2012-03-27 16:36:00 +02:00
|
|
|
|
2012-03-24 01:20:19 +01:00
|
|
|
}
|
|
|
|
|
2012-03-27 16:36:00 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Page Edit Controller
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
2012-11-22 04:30:50 +01:00
|
|
|
/*.cms-container {
|
2012-06-13 07:10:48 +02:00
|
|
|
.CMSPageEditController, .CMSPageSettingsController, .CMSPageHistoryController {
|
2012-04-18 03:35:57 +02:00
|
|
|
// Fix pixel gap between nav tree and main page header
|
2012-11-06 10:53:20 +01:00
|
|
|
margin-left: -1px; // Removed to close gap far right of right tabs?
|
2012-04-18 03:35:57 +02:00
|
|
|
}
|
2012-11-22 04:30:50 +01:00
|
|
|
}*/
|
2012-04-18 03:35:57 +02:00
|
|
|
|
2012-05-02 06:58:08 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Page Settings Controller
|
|
|
|
* -------------------------------------------- */
|
2012-04-18 03:35:57 +02:00
|
|
|
|
2012-05-02 06:58:08 +02:00
|
|
|
.cms-container .CMSMain.CMSPageSettingsController {
|
|
|
|
.tab#Root_Settings {
|
|
|
|
.optionset li {
|
|
|
|
white-space:nowrap;
|
|
|
|
label {
|
|
|
|
padding-left:2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.fieldgroup .fieldgroup-field {
|
|
|
|
width:$grid-x*27;
|
|
|
|
padding-left:0;
|
|
|
|
}
|
|
|
|
}
|
2012-05-07 11:21:23 +02:00
|
|
|
}
|
2012-05-08 04:15:09 +02:00
|
|
|
|
|
|
|
/** --------------------------------------------
|
|
|
|
* Buttons for FileUpload
|
|
|
|
* -------------------------------------------- */
|
2012-06-08 06:42:14 +02:00
|
|
|
.ss-uploadfield-item-edit-all .ui-button-text{
|
|
|
|
padding-right:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-details-icon {
|
|
|
|
background: sprite($sprites32, menu-arrow-down) no-repeat;
|
2012-11-02 00:46:16 +01:00
|
|
|
.ss-uploadfield-item-edit-all &{
|
2012-06-08 06:42:14 +02:00
|
|
|
background: sprite($sprites32, menu-arrow-deselected-down) no-repeat;
|
|
|
|
display:inline-block;
|
|
|
|
width:8px;
|
|
|
|
height:8px;
|
|
|
|
padding-left:5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.opened {
|
|
|
|
background: sprite($sprites32, menu-arrow-up) no-repeat;
|
2012-11-02 00:46:16 +01:00
|
|
|
.ss-uploadfield-item-edit-all &{
|
2012-06-08 06:42:14 +02:00
|
|
|
background: sprite($sprites32, menu-arrow-deselected-up) no-repeat;
|
|
|
|
}
|
2012-05-08 04:15:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-12-06 04:01:33 +01:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Hide preview toggle link by default. May be shown
|
|
|
|
in IE7 stylesheet and forced to show with js if needed
|
|
|
|
* -------------------------------------------- */
|
|
|
|
.cms .Actions > .cms-preview-toggle-link,
|
|
|
|
.cms .cms-navigator > .cms-preview-toggle-link{
|
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
|
2012-05-08 04:15:09 +02:00
|
|
|
|
|
|
|
|
2012-06-08 06:42:14 +02:00
|
|
|
|