2011-04-15 01:27:23 +02: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
|
|
|
|
2011-05-20 01:29:40 +02:00
|
|
|
html,body {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2011-04-15 01:27:23 +02:00
|
|
|
@include global-reset;
|
2011-05-20 01:29:40 +02:00
|
|
|
|
|
|
|
font-size: $font-base-size;
|
2011-07-29 05:10:14 +02:00
|
|
|
line-height: $grid-vertical * 2;
|
2011-05-20 01:29:40 +02:00
|
|
|
font-family: $font-family;
|
2011-04-19 06:34:30 +02:00
|
|
|
color: $color-text;
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
.cms {
|
|
|
|
a {
|
|
|
|
color: $color-text-dark-link;
|
|
|
|
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
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
|
|
|
.cms-helper-hide-actions {
|
|
|
|
.Actions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2011-05-20 01:29:40 +02:00
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Panels Styles
|
|
|
|
* -------------------------------------------- */
|
2011-05-20 01:29:40 +02:00
|
|
|
.cms-container {
|
|
|
|
height: 100%;
|
2011-08-04 02:02:39 +02:00
|
|
|
background: $tab-panel-texture-background;
|
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 {
|
2011-04-27 09:37:46 +02:00
|
|
|
background-color: darken($color-widget-bg, 20%);
|
2011-10-29 02:36:03 +02:00
|
|
|
padding: $grid-vertical $grid-horizontal ($grid-vertical - 2);
|
2011-07-29 05:10:14 +02:00
|
|
|
height: $grid-vertical * 4;
|
2011-08-01 00:54:31 +02:00
|
|
|
z-index: 60;
|
2011-06-10 03:37:54 +02:00
|
|
|
border-bottom: 2px solid darken($color-widget-bg, 35%);
|
|
|
|
|
2011-08-09 07:52:13 +02:00
|
|
|
@include box-shadow($color-widget-bg 0 $grid-vertical $grid-vertical*2);
|
2011-10-29 02:01:06 +02:00
|
|
|
|
2011-07-28 06:57:41 +02:00
|
|
|
@include background-image(
|
|
|
|
linear-gradient(darken($color-widget-bg, 10%), darken($color-widget-bg, 30%))
|
|
|
|
);
|
2011-04-15 01:27:23 +02:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
float: left;
|
2011-08-04 02:02:39 +02:00
|
|
|
padding: $grid-vertical $grid-horizontal 0 0;
|
2011-08-09 07:52:13 +02:00
|
|
|
font-size: $font-base-size + 2;
|
2011-08-01 04:27:52 +02:00
|
|
|
line-height: $grid-horizontal * 3;
|
2011-04-15 01:27:23 +02:00
|
|
|
font-weight: bold;
|
2011-08-22 06:44:41 +02:00
|
|
|
text-shadow: darken($color-widget-bg, 15%) 1px 1px 0;
|
|
|
|
width: $grid-horizontal * 22 /* 24 - (padding on each side + margin) */;
|
2011-08-26 04:09:25 +02:00
|
|
|
margin: 0;
|
2011-08-04 02:02:39 +02:00
|
|
|
@include hide-text-overflow();
|
2011-05-20 01:29:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
width: 9999em;
|
|
|
|
overflow: hidden;
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.cms-content-header-tabs {
|
|
|
|
float: left;
|
2011-04-19 06:34:30 +02:00
|
|
|
}
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui-tabs .cms-content-header {
|
2011-04-19 06:34:30 +02:00
|
|
|
.ui-tabs-nav li {
|
2011-04-24 01:05:59 +02:00
|
|
|
a {
|
|
|
|
font-weight: bold;
|
2011-07-29 05:10:14 +02:00
|
|
|
line-height: $grid-vertical * 2;
|
2011-08-04 02:02:39 +02:00
|
|
|
padding: ($grid-vertical * 2 - 5) $grid-horizontal + 4 $grid-vertical + 1;
|
2011-06-10 03:37:54 +02:00
|
|
|
border-bottom: 2px solid darken($color-tab, 15%);
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
|
2011-04-24 01:05:59 +02:00
|
|
|
.ui-state-default,
|
|
|
|
.ui-widget-content .ui-state-default,
|
|
|
|
.ui-widget-header .ui-state-default {
|
2011-06-10 03:37:54 +02:00
|
|
|
background-color: $color-tab;
|
2011-07-28 06:57:41 +02:00
|
|
|
@include background-image(
|
|
|
|
linear-gradient($color-tab, darken($color-tab, 10%)
|
2011-04-24 01:05:59 +02:00
|
|
|
));
|
2011-06-10 03:37:54 +02:00
|
|
|
|
|
|
|
border-color: darken($color-tab, 20%);
|
|
|
|
text-shadow: lighten($color-tab, 60%) 0 1px 0;
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui-state-active,
|
|
|
|
.ui-widget-content .ui-state-active,
|
|
|
|
.ui-widget-header .ui-state-active {
|
2011-06-10 03:37:54 +02:00
|
|
|
background: $color-widget-bg;
|
|
|
|
|
|
|
|
a {
|
|
|
|
border-bottom: 2px solid $color-widget-bg;
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
/** -------------------------------------------------------
|
|
|
|
* Loading Interface
|
|
|
|
* ------------------------------------------------------- */
|
2011-05-20 01:38:36 +02:00
|
|
|
.cms-content {
|
2011-08-22 06:44:41 +02:00
|
|
|
&.loading,
|
|
|
|
form.loading {
|
2011-05-20 01:38:36 +02:00
|
|
|
background: url(../images/spinner.gif) no-repeat 50% 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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%;
|
|
|
|
z-index: 9999;
|
|
|
|
// Further styling by .ui-widget-overlay-light which is usually applied at the same time
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2011-06-10 03:37:54 +02:00
|
|
|
/** -----------------------------------------------
|
|
|
|
* Loading Screen
|
|
|
|
* ------------------------------------------------ */
|
2011-04-15 01:27:23 +02:00
|
|
|
.ss-loading-screen,
|
|
|
|
.ss-loading-screen .loading-logo {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
position: absolute;
|
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));
|
|
|
|
z-index: 100000;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-loading-screen {
|
|
|
|
.loading-logo {
|
|
|
|
background-url: url(../images/logo.gif);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-color: transparent;
|
|
|
|
background-position: 50% 50%;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 80px;
|
|
|
|
|
|
|
|
span.notice {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 10px 20px;
|
|
|
|
color: #dc7f00;
|
|
|
|
border: none;
|
2011-04-19 06:34:30 +02:00
|
|
|
@include border-radius(5px);
|
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
|
|
|
|
|
|
|
.cms-content-actions {
|
2011-08-04 02:02:39 +02:00
|
|
|
margin: $grid-vertical $grid-horizontal;
|
2011-07-29 05:10:14 +02:00
|
|
|
text-align: right;
|
2011-08-04 02:02:39 +02:00
|
|
|
height: $grid-vertical*4;
|
2011-08-09 07:52:13 +02:00
|
|
|
z-index: 70;
|
|
|
|
|
2011-08-04 02:02:39 +02:00
|
|
|
@include box-shadow($tab-panel-texture-color 0 $grid-vertical*-2 $grid-vertical*2);
|
2011-04-19 06:34:30 +02:00
|
|
|
}
|
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Messages
|
|
|
|
* -------------------------------------------- */
|
2011-04-19 06:34:30 +02:00
|
|
|
|
|
|
|
.message {
|
2011-08-01 04:27:52 +02:00
|
|
|
margin: 0 0 $grid_vertical 0;
|
2011-07-29 05:10:14 +02:00
|
|
|
padding: $grid_vertical - 1 $grid_horizontal - 1;
|
2011-04-19 06:34:30 +02:00
|
|
|
font-weight: bold;
|
2011-07-29 05:10:14 +02:00
|
|
|
|
2011-04-19 06:34:30 +02:00
|
|
|
border: 1px black solid;
|
|
|
|
|
|
|
|
&.notice {
|
|
|
|
background-color: lighten($color-notice, 20%);
|
|
|
|
border-color: $color-notice;
|
2011-08-26 04:09:25 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: #999;
|
|
|
|
}
|
2011-04-19 06:34:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.warning {
|
|
|
|
background-color: lighten($color-warning, 20%);
|
|
|
|
border-color: $color-warning;
|
|
|
|
}
|
|
|
|
&.error {
|
|
|
|
background-color: lighten($color-error, 20%);
|
|
|
|
border-color: $color-error;
|
|
|
|
}
|
2011-08-26 04:09:25 +02:00
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2011-04-19 06:34:30 +02:00
|
|
|
}
|
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* ModelAdmin
|
|
|
|
* -------------------------------------------- */
|
2011-04-19 06:34:30 +02:00
|
|
|
|
|
|
|
.ModelAdmin {
|
|
|
|
// Disable by default, will be replaced by more intuitive column selection in new data grid
|
|
|
|
.ResultAssemblyBlock {
|
|
|
|
display: none;
|
|
|
|
}
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* "Add page" dialog
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
2011-04-24 01:05:59 +02:00
|
|
|
.cms-page-add-form-dialog {
|
|
|
|
#PageType li {
|
2011-09-29 04:37:51 +02:00
|
|
|
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;
|
|
|
|
|
2011-04-24 01:05:59 +02:00
|
|
|
&:hover, &.selected {
|
2011-09-29 04:37:51 +02:00
|
|
|
background-color: $color-highlight-opacity;
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input, label, .icon, .title {
|
|
|
|
float: left;
|
2011-09-29 04:37:51 +02:00
|
|
|
line-height: 1.3em;
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
width: 20px;
|
2011-09-29 04:37:51 +02:00
|
|
|
display: block;
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 0 4px;
|
|
|
|
background-color: transparent;
|
|
|
|
background-image: url(../images/sitetree_ss_pageclass_icons_default.png);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
.class-HomePage {
|
|
|
|
background-position: 0 -48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.class-RedirectorPage {
|
|
|
|
background-position: 0 -16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.class-VirtualPage {
|
|
|
|
background-position: 0 -32px;
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
|
|
|
|
2011-09-29 04:37:51 +02:00
|
|
|
.class-ErrorPage {
|
|
|
|
background-position: 0 -112px;
|
|
|
|
}
|
|
|
|
|
2011-04-24 01:05:59 +02:00
|
|
|
.title {
|
2011-09-29 04:37:51 +02:00
|
|
|
width: 120px;
|
2011-04-24 01:05:59 +02:00
|
|
|
font-weight: bold;
|
2011-09-29 04:37:51 +02:00
|
|
|
padding-right: 10px;
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2011-09-29 04:37:51 +02: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 {
|
2011-08-05 05:46:57 +02:00
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
display: block;
|
|
|
|
margin: 0 0 15px 0;
|
2011-07-06 15:22:13 +02:00
|
|
|
|
2011-08-05 05:46:57 +02:00
|
|
|
@include doubleborder(bottom, $color-light-separator, lighten($color-light-separator, 50%));
|
|
|
|
@include legacy-pie-clearfix();
|
|
|
|
|
2011-04-24 01:05:59 +02:00
|
|
|
& > * {
|
2011-06-25 07:52:33 +02:00
|
|
|
float: left;
|
2011-04-24 01:05:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.cms-tree-view-modes * {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
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 {
|
2011-08-09 07:52:13 +02:00
|
|
|
background-color: darken($color-widget-bg, 5%);
|
2011-08-22 06:44:41 +02:00
|
|
|
width: $grid-horizontal * 24;
|
2011-08-09 07:52:13 +02:00
|
|
|
border-right: 1px solid darken($color-widget-bg, 15%);
|
2011-08-22 06:44:41 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
z-index: 70;
|
2011-08-09 07:52:13 +02:00
|
|
|
|
|
|
|
.cms-panel-header {
|
2011-10-29 02:36:03 +02:00
|
|
|
padding: 0;
|
|
|
|
margin: 0 0 $grid-vertical - 1;
|
2011-08-09 07:52:13 +02:00
|
|
|
line-height: $grid-vertical * 3;
|
|
|
|
|
|
|
|
@include doubleborder(bottom, $color-light-separator, lighten($color-light-separator, 10%))
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-panel-content {
|
2011-10-29 02:36:03 +02:00
|
|
|
width: ($grid-horizontal * 22);
|
|
|
|
padding: $grid-vertical $grid-horizontal;
|
|
|
|
overflow-x: hidden;
|
2011-10-29 11:19:12 +02:00
|
|
|
overflow-y: auto;
|
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
|
|
|
border-bottom: 2px solid darken($color-widget-bg, 50%);
|
|
|
|
|
|
|
|
@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;
|
|
|
|
width: $grid-horizontal * 22 /* 24 - (padding on each side + margin) */;
|
|
|
|
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;
|
|
|
|
line-height: $grid-vertical * 2;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
font-size: $font-base-size + 1;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
padding: 0 $grid-horizontal 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 {
|
2011-10-29 02:36:03 +02:00
|
|
|
padding: 0 8px 0;
|
2011-08-22 06:44:41 +02:00
|
|
|
|
|
|
|
input {
|
|
|
|
margin: 2px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-08-09 07:52:13 +02:00
|
|
|
/* smaller treedropdown */
|
|
|
|
.chzn-container-single .chzn-single {
|
2011-08-16 04:57:30 +02:00
|
|
|
height: 24px;
|
|
|
|
line-height: 24px;
|
|
|
|
font-size: 11px;
|
|
|
|
|
|
|
|
div b {
|
|
|
|
background-position: 4px 0;
|
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
}
|
2011-08-22 06:44:41 +02:00
|
|
|
}
|
2011-08-09 07:52:13 +02:00
|
|
|
|
2011-08-22 06:44:41 +02:00
|
|
|
/* buttons now need to line with with reduced input sizes */
|
|
|
|
.ss-ui-button {
|
|
|
|
padding: 5px $grid-horizontal;
|
2011-07-07 07:34:55 +02:00
|
|
|
}
|
2011-08-22 06:44:41 +02:00
|
|
|
|
2011-08-04 02:02:39 +02:00
|
|
|
.fieldgroup {
|
|
|
|
.fieldgroup-field {
|
|
|
|
width: auto;
|
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%);
|
|
|
|
padding: $grid-vertical - 1 2px;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
2011-07-07 07:34:55 +02:00
|
|
|
}
|
|
|
|
|
2011-08-16 04:57:30 +02:00
|
|
|
/**
|
|
|
|
* CMS Batch actions
|
|
|
|
*/
|
2011-07-07 07:34:55 +02:00
|
|
|
.cms-content-batchactions, .cms-content-constructive-actions {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-content-batchactions {
|
|
|
|
float: right;
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
2011-08-16 04:57:30 +02:00
|
|
|
margin-right: 8px;
|
|
|
|
|
|
|
|
form > * {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
form.cms-batch-actions {
|
|
|
|
float: left;
|
|
|
|
}
|
2011-07-07 07:34:55 +02:00
|
|
|
}
|
|
|
|
|
2011-08-16 04:57:30 +02:00
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
|
|
|
|
.cms-content-constructive-actions a {
|
2011-08-16 04:57:30 +02:00
|
|
|
display: block;
|
2011-07-07 07:34:55 +02:00
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
2011-10-29 12:59:42 +02:00
|
|
|
#Form_BatchActionsForm select {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Preview header (remove before release)
|
|
|
|
* -------------------------------------------- */
|
|
|
|
|
2011-05-20 01:29:40 +02:00
|
|
|
.cms-preview {
|
|
|
|
width: 1px; // collapsed by default
|
2011-07-21 20:14:33 +02:00
|
|
|
z-index: 100;
|
2011-05-20 01:29:40 +02:00
|
|
|
|
|
|
|
.cms-preview-toggle {
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
|
2011-07-15 10:37:46 +02:00
|
|
|
.cms-preview-overlay {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2011-05-20 01:29:40 +02:00
|
|
|
iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2011-07-21 20:14:33 +02:00
|
|
|
|
|
|
|
.cms-preview-controls {
|
|
|
|
z-index: 99;
|
|
|
|
background: $color-widget-bg;
|
|
|
|
padding: 10px;
|
|
|
|
min-height: 30px;
|
|
|
|
|
|
|
|
.cms-navigator {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
* {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-preview-states {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-preview-popup-link {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-preview-toggle-link {
|
|
|
|
float: right;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-05-20 01:29:40 +02:00
|
|
|
}
|
|
|
|
|
2011-04-24 01:41:21 +02:00
|
|
|
.cms-preview-header {
|
|
|
|
background-color: #FFBE66;
|
|
|
|
padding: 10px;
|
|
|
|
font-weight: bold;
|
2011-04-28 12:36:28 +02:00
|
|
|
}
|
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Member Profile
|
|
|
|
* -------------------------------------------- */
|
2011-04-30 06:48:57 +02:00
|
|
|
|
|
|
|
form.member-profile-form {
|
|
|
|
|
|
|
|
#CsvFile .middleColumn {
|
|
|
|
background: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.advanced h4 {
|
|
|
|
margin-bottom: .5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.Actions {
|
|
|
|
text-align: left;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
input.customFormat {
|
|
|
|
border: 1px solid #ccc !important;
|
|
|
|
padding: 3px;
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
.formattingHelpToggle {
|
|
|
|
font-size: 11px;
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
.formattingHelpText {
|
|
|
|
margin: 5px auto;
|
|
|
|
color: #333;
|
|
|
|
padding: 5px 10px;
|
|
|
|
width: 90%;
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
}
|
|
|
|
.formattingHelpText ul {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.formattingHelpText li {
|
|
|
|
font-size: 11px;
|
|
|
|
color: #333;
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2011-08-04 02:02:39 +02:00
|
|
|
.cms {
|
2011-08-05 05:46:57 +02:00
|
|
|
.cms-content {
|
|
|
|
border-right: 1px solid $color-light-separator;
|
|
|
|
|
|
|
|
@include box-shadow(3px 0 4px rgba(0,0,0,0.15));
|
|
|
|
@include border-radius(0);
|
|
|
|
}
|
|
|
|
|
2011-08-04 02:02:39 +02:00
|
|
|
.cms-content-fields {
|
2011-08-05 05:46:57 +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;
|
2011-08-04 02:02:39 +02:00
|
|
|
background: none;
|
|
|
|
}
|
2011-05-20 01:29:40 +02: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 {
|
|
|
|
@include box-shadow(0 0 5px rgba(107, 120, 123, 0.5));
|
2011-07-29 05:10:14 +02:00
|
|
|
|
2011-10-29 02:01:06 +02:00
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
text-align: right;
|
|
|
|
padding: $grid-vertical/2 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
@include background-image(
|
|
|
|
linear-gradient(darken($color-widget-bg, 20%), darken($color-widget-bg, 30%))
|
|
|
|
);
|
2011-07-28 06:57:41 +02:00
|
|
|
|
2011-10-29 02:01:06 +02:00
|
|
|
text-decoration: none;
|
2011-05-13 03:30:49 +02:00
|
|
|
|
2011-10-29 02:01:06 +02:00
|
|
|
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
|
|
|
|
}
|
2011-05-13 03:30:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.collapsed {
|
|
|
|
|
|
|
|
.cms-panel-content {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2011-10-30 14:34:35 +01:00
|
|
|
/*
|
2011-05-13 03:30:49 +02:00
|
|
|
.cms-panel-header {
|
|
|
|
@include rotate(-90deg);
|
|
|
|
position: relative;
|
2011-08-09 07:52:13 +02:00
|
|
|
top: $grid-vertical * 10;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
2011-05-13 03:30:49 +02:00
|
|
|
}
|
2011-10-30 14:34:35 +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
|
|
|
}
|
|
|
|
|
|
|
|
.cms-content .cms-panel.collapsed {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
/** --------------------------------------------
|
|
|
|
* Other
|
|
|
|
* -------------------------------------------- */
|
2011-04-28 12:36:28 +02:00
|
|
|
.cms-preview {
|
|
|
|
|
|
|
|
.cms-preview-toggle {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
a {
|
2011-05-15 05:43:21 +02:00
|
|
|
display: block;
|
2011-07-28 06:57:41 +02:00
|
|
|
padding: 2px 12px 2px 6px;
|
|
|
|
height: 16px;
|
2011-05-15 05:43:21 +02:00
|
|
|
position: relative;
|
|
|
|
top: 48%;
|
|
|
|
background-color: $color-base;
|
2011-04-28 12:36:28 +02:00
|
|
|
color: $color-text-light;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
2011-05-15 05:43:21 +02:00
|
|
|
z-index: 2000;
|
2011-07-28 06:57:41 +02:00
|
|
|
line-height: 16px;
|
|
|
|
|
|
|
|
@include border-bottom-right-radius(4px);
|
|
|
|
@include border-top-right-radius(4px);
|
|
|
|
|
|
|
|
@include box-shadow(0 0 10px rgba(180, 180,180,0.4));
|
2011-05-15 05:43:21 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-collapsed {
|
|
|
|
.cms-preview-toggle {
|
|
|
|
a {
|
|
|
|
left: -15px; // point left
|
|
|
|
}
|
2011-04-28 12:36:28 +02:00
|
|
|
}
|
|
|
|
}
|
2011-05-02 01:43:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.cms-switch-view {
|
|
|
|
a {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
2011-09-29 04:37:51 +02:00
|
|
|
}
|
|
|
|
|
2011-09-29 05:25:31 +02:00
|
|
|
|
|
|
|
/** ------------------------------------------------------------------
|
|
|
|
* Modal - JQuery UI Dialog pop-up
|
|
|
|
* ----------------------------------------------------------------- */
|
|
|
|
|
2011-09-29 06:09:36 +02:00
|
|
|
/* overlay for switching between CMS panes */
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
2011-09-29 06:09:36 +02: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;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$DialogHeaderColor: #5F6160;
|
|
|
|
$DialogHeaderFontSize: 14px;
|
|
|
|
$DialogBorderRadius: 8px;
|
2011-09-30 01:48:27 +02:00
|
|
|
$DialogLabelColor: #7B8C91;
|
2011-09-29 05:25:31 +02:00
|
|
|
.ui-dialog {
|
|
|
|
background: url("../images/textures/bg_cms_main_content.png") repeat left top #F0F3F4;
|
|
|
|
border: 3px solid #000 !important;
|
|
|
|
border-radius: $DialogBorderRadius;
|
|
|
|
overflow: visible;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
#PageType {
|
|
|
|
.middleColumn {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.optionset li {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
&.selected {
|
|
|
|
background-color: rgba(255,255,153, 0.5); /*background-color: #FFFF99;*/
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: #FFFF99 !important; /* lighter highlight on hover */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Labels for all the Dialogs of the pop-up form */
|
|
|
|
.field label.left {
|
|
|
|
font-size: $DialogHeaderFontSize;
|
|
|
|
font-weight: bold;
|
|
|
|
width: 100%;
|
|
|
|
float: none;
|
|
|
|
color: $DialogHeaderColor;
|
2011-09-30 01:48:27 +02:00
|
|
|
margin-top: -4px;
|
2011-09-30 01:52:00 +02:00
|
|
|
margin-left: 38px;
|
2011-09-30 01:48:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Numeric labels in the sitetree */
|
|
|
|
label.numeric-label {
|
|
|
|
font-size: $DialogHeaderFontSize;
|
|
|
|
font-weight: bold;
|
|
|
|
float: left;
|
|
|
|
@include border-top-left-radius(3px);
|
|
|
|
@include border-bottom-left-radius(3px);
|
|
|
|
background-color: $DialogLabelColor;
|
|
|
|
padding: 4px 8px 4px 3px;
|
|
|
|
text-align: right;
|
|
|
|
color: #fff;
|
|
|
|
position: absolute;
|
|
|
|
width: 15px;
|
|
|
|
|
|
|
|
/* Numeric label icon (supports up to two-digit numbers) */
|
2011-10-10 02:24:27 +02:00
|
|
|
.label-flyout-indicator {
|
2011-09-30 01:48:27 +02:00
|
|
|
position: absolute;
|
|
|
|
left: 26px;
|
|
|
|
margin-top: -18px;
|
|
|
|
overflow: visible;
|
|
|
|
display: block;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-top: 11px solid transparent;
|
|
|
|
border-left: 7px dashed $DialogLabelColor;
|
|
|
|
border-bottom: 11px solid transparent;
|
|
|
|
}
|
|
|
|
|
2011-09-29 05:25:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Exception for a label that is inline with the selector dropdown box */
|
|
|
|
#ParentID {
|
|
|
|
label.left {
|
2011-09-30 05:08:32 +02:00
|
|
|
padding: $grid-vertical 0 $grid-vertical 0;
|
2011-09-30 01:48:27 +02:00
|
|
|
float: left !important;
|
|
|
|
width: 125px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.middleColumn {
|
|
|
|
width: 320px;
|
2011-09-29 05:25:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.Actions {
|
|
|
|
float: right;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** ------------------------------------------------------------------
|
|
|
|
* Titlebar for pop-up dialog.
|
|
|
|
* ----------------------------------------------------------------- */
|
|
|
|
.ui-dialog-titlebar.ui-widget-header {
|
|
|
|
font-size: $DialogHeaderFontSize;
|
2011-09-30 01:52:00 +02:00
|
|
|
background-color: #92a5b2;
|
2011-09-30 05:08:32 +02:00
|
|
|
padding: $grid-vertical/2 $grid-horizontal/2 $grid-vertical/2 $grid-horizontal*2;
|
2011-09-29 05:25:31 +02:00
|
|
|
|
|
|
|
border-bottom: 2px solid #8399a7;
|
2011-09-30 01:48:27 +02:00
|
|
|
@include border-top-left-radius($DialogBorderRadius/2); /* /2 need to eliminate visual artifact */
|
|
|
|
@include border-top-right-radius($DialogBorderRadius);
|
2011-09-29 05:25:31 +02:00
|
|
|
@include background-image(linear-gradient(#ced7dc, #92a5b2));
|
2011-09-30 05:08:32 +02:00
|
|
|
margin-bottom: $grid-vertical*1.5;
|
2011-09-29 05:25:31 +02:00
|
|
|
}
|