2011-04-15 01:27:23 +02:00
|
|
|
/**
|
|
|
|
* This file defines the 'theme' of the CMS: Colors, fonts, backgrounds, and detailed alignments.
|
|
|
|
* Together with _layout.css it provides the presentational backbone to the CMS.
|
|
|
|
* Ideally a developer should be able to exchange this file with his own theme easily.
|
|
|
|
*
|
|
|
|
* Please don't put any dimension, display or float information on major structural components
|
|
|
|
* like '.cms-container' or '.cms-header' in here, use the _layout.scss file instead.
|
|
|
|
*
|
|
|
|
* Use SCSS variable definitions in screen.css to avoid repeating styles like background colours
|
2011-04-19 06:34:30 +02:00
|
|
|
* or padding dimensions. See _colours.scss to get started.
|
2011-04-15 01:27:23 +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-05-20 01:29:40 +02:00
|
|
|
/** ----------------------------------------------------
|
|
|
|
* Core Styles
|
|
|
|
* ---------------------------------------------------- */
|
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;
|
|
|
|
font-family: $font-family;
|
2011-04-19 06:34:30 +02:00
|
|
|
color: $color-text;
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
|
2011-05-20 01:29:40 +02:00
|
|
|
a {
|
|
|
|
color: $color-text-dark-link;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
body .ui-widget {
|
2011-05-20 01:29:40 +02:00
|
|
|
font-size: $font-base-size;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-container {
|
|
|
|
height: 100%;
|
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,
|
|
|
|
.cms-content-form {
|
|
|
|
@include inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2011-04-24 01:05:59 +02:00
|
|
|
strong {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2011-04-19 06:34:30 +02:00
|
|
|
// ######################### Misc Panels #########################
|
|
|
|
|
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-05-20 01:29:40 +02:00
|
|
|
padding: 8px;
|
|
|
|
height: 32px;
|
|
|
|
|
2011-04-19 06:34:30 +02:00
|
|
|
@include linear-gradient(color-stops(
|
|
|
|
darken($color-widget-bg, 20%),
|
|
|
|
darken($color-widget-bg, 30%)
|
|
|
|
));
|
2011-05-20 01:29:40 +02:00
|
|
|
|
2011-04-15 01:27:23 +02:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
float: left;
|
2011-05-20 01:29:40 +02:00
|
|
|
padding: 8px;
|
2011-04-15 01:27:23 +02:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
2011-05-20 01:29:40 +02:00
|
|
|
width: 250px - (10px*2);
|
|
|
|
}
|
|
|
|
|
|
|
|
& > 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 {
|
|
|
|
height: 40px;
|
2011-04-24 01:05:59 +02:00
|
|
|
|
|
|
|
a {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 11px;
|
2011-05-20 01:29:40 +02:00
|
|
|
padding-top: 8px;
|
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-04-27 09:37:46 +02:00
|
|
|
background-color: lighten($color-shadow-light, 20%);
|
2011-04-24 01:05:59 +02:00
|
|
|
@include linear-gradient(color-stops(
|
|
|
|
lighten($color-shadow-light, 20%),
|
|
|
|
lighten($color-shadow-light, 5%)
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-state-active,
|
|
|
|
.ui-widget-content .ui-state-active,
|
|
|
|
.ui-widget-header .ui-state-active {
|
|
|
|
background: $color-widget-bg;
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-content-tools {
|
2011-04-19 06:34:30 +02:00
|
|
|
background-color: darken($color-widget-bg, 5%);
|
2011-05-20 01:29:40 +02:00
|
|
|
padding: 10px;
|
|
|
|
width: 230px;
|
|
|
|
overflow: auto;
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
|
2011-05-20 01:29:40 +02:00
|
|
|
|
|
|
|
/** -------------------------------------------------------
|
|
|
|
* Top Left Header and logo area
|
|
|
|
* -------------------------------------------------------- */
|
2011-04-15 01:27:23 +02:00
|
|
|
|
|
|
|
.cms-header {
|
2011-04-27 09:37:46 +02:00
|
|
|
background-color: darken($color-dark-bg, 10%);
|
2011-05-20 01:29:40 +02:00
|
|
|
position: relative;
|
|
|
|
padding: 16px 8px 8px;
|
|
|
|
line-height: 24px;
|
|
|
|
|
2011-04-19 06:34:30 +02:00
|
|
|
@include linear-gradient(color-stops(
|
|
|
|
darken($color-dark-bg, 10%),
|
|
|
|
$color-dark-bg,
|
|
|
|
darken($color-dark-bg, 10%)
|
|
|
|
));
|
2011-04-15 01:27:23 +02:00
|
|
|
|
2011-05-20 01:29:40 +02:00
|
|
|
span {
|
2011-04-19 06:34:30 +02:00
|
|
|
color: $color-text-light;
|
2011-05-20 01:29:40 +02:00
|
|
|
white-space: no-wrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $color-text-dark-link;
|
|
|
|
display: inline;
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-logo {
|
2011-05-20 01:29:40 +02:00
|
|
|
border-bottom: 1px solid darken($color-dark-separator, 20%);
|
|
|
|
height: 31px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0 4px;
|
|
|
|
vertical-align: middle;
|
2011-04-15 01:27:23 +02:00
|
|
|
|
|
|
|
.version {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
2011-05-20 01:29:40 +02:00
|
|
|
height: $application-logo-small-ysize;
|
|
|
|
width: $application-logo-small-xsize;
|
2011-04-15 01:27:23 +02:00
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
2011-05-20 01:29:40 +02:00
|
|
|
background: $application-logo-small no-repeat;
|
2011-04-15 01:27:23 +02:00
|
|
|
text-indent: -9999em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-login-status {
|
2011-05-20 01:29:40 +02:00
|
|
|
border-top: 1px solid $color-dark-separator;
|
|
|
|
height: 23px;
|
|
|
|
padding: 8px 0 0 14px;
|
|
|
|
overflow: hidden;
|
|
|
|
line-height: 16px;
|
|
|
|
font-size: 11px;
|
2011-04-15 01:27:23 +02:00
|
|
|
|
|
|
|
.logout-link {
|
|
|
|
display: inline-block;
|
2011-05-20 01:29:40 +02:00
|
|
|
height: 16px;
|
|
|
|
width: 16px;
|
2011-04-15 01:27:23 +02:00
|
|
|
float: left;
|
|
|
|
margin-right: 10px;
|
|
|
|
background: url(../images/logout.png) no-repeat;
|
|
|
|
text-indent: -9999em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2011-04-19 06:34:30 +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
|
|
|
}
|
|
|
|
|
|
|
|
// ######################### Actions #########################
|
|
|
|
|
|
|
|
.cms-content-actions {
|
2011-05-20 01:29:40 +02:00
|
|
|
padding: 8px;
|
2011-04-19 06:34:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// ######################### Messages #########################
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Messages (see sapphire/css/Form.css)
|
|
|
|
*/
|
|
|
|
.message {
|
|
|
|
margin: 1em 0;
|
|
|
|
padding: 0.5em;
|
|
|
|
font-weight: bold;
|
|
|
|
border: 1px black solid;
|
|
|
|
|
|
|
|
&.notice {
|
|
|
|
background-color: lighten($color-notice, 20%);
|
|
|
|
border-color: $color-notice;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.warning {
|
|
|
|
background-color: lighten($color-warning, 20%);
|
|
|
|
border-color: $color-warning;
|
|
|
|
}
|
|
|
|
&.error {
|
|
|
|
background-color: lighten($color-error, 20%);
|
|
|
|
border-color: $color-error;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// ######################### ModelAdmin #########################
|
|
|
|
|
|
|
|
.ModelAdmin {
|
|
|
|
.cms-content-tools {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// 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
|
|
|
}
|
|
|
|
|
|
|
|
// ######################### "Add page" dialog #########################
|
|
|
|
.cms-page-add-form-dialog {
|
|
|
|
#PageType li {
|
|
|
|
clear: left;
|
|
|
|
height: 40px;
|
|
|
|
border-bottom: 1px solid $color-shadow-dark;
|
|
|
|
|
|
|
|
&:hover, &.selected {
|
|
|
|
background-color: lighten($color-highlight, 10%);
|
|
|
|
}
|
|
|
|
|
|
|
|
input, label, .icon, .title {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
width: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
width: 100px;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// ######################### Content toolbar #########################
|
|
|
|
.cms-content-toolbar {
|
|
|
|
& > * {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-tree-view-modes * {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2011-04-30 06:48:57 +02:00
|
|
|
.cms-content-batchactions form > * {
|
2011-04-24 01:05:59 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2011-04-24 01:41:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// ######################### Preview header (remove before release) #########################
|
2011-05-20 01:29:40 +02:00
|
|
|
.cms-preview {
|
|
|
|
width: 1px; // collapsed by default
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.cms-preview-toggle {
|
|
|
|
width: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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-04-30 06:48:57 +02:00
|
|
|
// ######################### Member Profile #########################
|
|
|
|
|
|
|
|
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-05-20 01:29:40 +02:00
|
|
|
.cms-content-form {
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2011-04-28 12:36:28 +02:00
|
|
|
.cms-preview {
|
|
|
|
background-color: $color-base;
|
|
|
|
|
|
|
|
.cms-preview-toggle {
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $color-text-light;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2011-05-02 01:43:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.cms-switch-view {
|
|
|
|
a {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|