mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
7b3068ac4f
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@69703 467b73ca-7a2a-4603-9d3b-597d59a354a9
603 lines
11 KiB
CSS
603 lines
11 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
html {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body {
|
|
height: 100%;
|
|
background: #ccdef3;
|
|
}
|
|
/**
|
|
* Actions/Buttons
|
|
*/
|
|
.ajaxActions {
|
|
position: absolute;
|
|
bottom: 5px;
|
|
right: 15px;
|
|
text-align: right;
|
|
}
|
|
|
|
#TreeActions {
|
|
background: #eee;
|
|
border-bottom: 1px solid #ccc;
|
|
float: left;
|
|
width: 100%;
|
|
}
|
|
#TreeActions li {
|
|
float: left;
|
|
}
|
|
|
|
.ajaxActions input,
|
|
.actions input,
|
|
button.action,
|
|
div.Actions input,
|
|
input.action,
|
|
li.action input,
|
|
li.action button {
|
|
cursor: pointer;
|
|
background-image: url(../images/textures/ToolBar.png);
|
|
color: #333;
|
|
overflow: visible;
|
|
width: auto;
|
|
border-color: #CCCCCC rgb(153, 153, 153) rgb(153, 153, 153) rgb(204, 204, 204);
|
|
border-style: double;
|
|
margin: 1px;
|
|
padding: 2px;
|
|
font-size: 11px;
|
|
}
|
|
.ajaxActions input,
|
|
#TreeActions li.action input {
|
|
float: left;
|
|
height: 25px;
|
|
padding: 0 10px;
|
|
font-weight: bold;
|
|
}
|
|
#TreeActions li.action input {
|
|
font-weight: normal;
|
|
}
|
|
.ajaxActions input:active {
|
|
background: #F4F4F4 none repeat scroll 0%;
|
|
border-color: #999999 rgb(204, 204, 204) rgb(204, 204, 204) rgb(153, 153, 153);
|
|
}
|
|
|
|
.ajaxActions input:hover,
|
|
div.Actions input:hover,
|
|
input.action:hover,
|
|
button.action:hover,
|
|
li.action input:hover,
|
|
li.action button:hover {
|
|
background: #fff;
|
|
}
|
|
|
|
.ajaxActions input.disabled {
|
|
color: #666;
|
|
}
|
|
|
|
input.action.loading, input.action.loading:hover {
|
|
padding-left: 22px;
|
|
background: url(../images/network-save.gif) 3px 2px no-repeat;
|
|
}
|
|
|
|
input.delete:hover,
|
|
button.delete:hover,
|
|
.actionparams input.delete:hover {
|
|
background: #ce0000;
|
|
color: #fff;
|
|
}
|
|
|
|
input.loading {
|
|
padding-left: 16px;
|
|
background: #fff url(../images/network-save.gif) no-repeat center left;
|
|
}
|
|
|
|
/* Overrides - TODO Find a better place to put them */
|
|
form#Form_EditForm fieldset {
|
|
height: 100%;
|
|
border: none;
|
|
}
|
|
body.stillLoading select {
|
|
display: none;
|
|
}
|
|
|
|
/** 3-PANEL LAYOUT **/
|
|
#top {
|
|
font-size: 14px;
|
|
height: 33px;
|
|
background: #474855 url(../images/mainmenu/top-bg.gif) top left repeat-x;
|
|
color: #fff;
|
|
overflow: hidden;
|
|
}
|
|
#left {
|
|
position: absolute;
|
|
top: 45px;
|
|
left: 3px;
|
|
width: 205px;
|
|
height: 91%;
|
|
z-index: 50;
|
|
border: 1px solid #acbbcc;
|
|
background: #fff;
|
|
}
|
|
#right {
|
|
position: absolute;
|
|
left: 208px;
|
|
top: 45px;
|
|
height: 91%;
|
|
width: 600px;
|
|
overflow: auto;
|
|
z-index: 50;
|
|
border: 1px solid #acbbcc;
|
|
background: #eee;
|
|
margin-right: 3px;
|
|
}
|
|
|
|
#separator {
|
|
position: absolute;
|
|
top: 51px;
|
|
left: 205px;
|
|
height: 92%;
|
|
width: 3px;
|
|
cursor: e-resize;
|
|
}
|
|
|
|
/**
|
|
* Hidden left-hand panel
|
|
*/
|
|
#left.hidden form, #left.hidden .title, #left.hidden #TreeActions {
|
|
display: none;
|
|
}
|
|
|
|
#left.hidden {
|
|
width: 18px;
|
|
display: block;
|
|
}
|
|
#separator.hidden {
|
|
display: none;
|
|
}
|
|
|
|
|
|
#left div.title, #right div.title {
|
|
border-top: 1px solid #77BBEE;
|
|
height: 22px !important;
|
|
background: #0075C9 url(../images/texture/obar.gif) repeat-x 0 0;
|
|
}
|
|
|
|
#left div.title div, #right div.title div {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
color: #fff;
|
|
padding: 2px 0 0 4px;
|
|
background-position: 2px 2px;
|
|
background-repeat: no-repeat;
|
|
padding-left: 20px;
|
|
border-top: 1px solid #77BBEE;
|
|
}
|
|
|
|
#left h2,
|
|
#contentPanel h2 {
|
|
background-image:url(../images/textures/obar-18.gif);
|
|
height: 18px;
|
|
line-height: 18px;
|
|
color: #fff;
|
|
font-size: 12px;
|
|
padding-left: 3px;
|
|
}
|
|
|
|
/** TOP PANEL **/
|
|
#top #MainMenu {
|
|
margin: 0 0 0 6px;
|
|
}
|
|
#top #MainMenu li {
|
|
margin: 0 4px;
|
|
float: left;
|
|
height: 33px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#top #MainMenu a {
|
|
display: block;
|
|
height: 33px;
|
|
float: left;
|
|
padding: 0 6px;
|
|
font-size: 14px;
|
|
letter-spacing: -0.1px;
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
font-weight: normal;
|
|
line-height: 32px;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
}
|
|
#top #MainMenu a:hover {
|
|
text-decoration: none;
|
|
background: #6a7580 url(../images/mainmenu/hover.gif) repeat-x left top;
|
|
}
|
|
|
|
#top #MainMenu .current {
|
|
background: #ccdef3 url(../images/mainmenu/current.gif) repeat-x left top;
|
|
border-bottom : none;
|
|
}
|
|
#top #MainMenu .current a:hover {
|
|
background: #cddef3 url(../images/mainmenu/currentHover.gif) repeat-x left top;
|
|
}
|
|
|
|
#top #MainMenu .current a:link,
|
|
#top #MainMenu .current a:visited {
|
|
color : #2f383f;
|
|
}
|
|
|
|
#top #Logo {
|
|
float: right;
|
|
}
|
|
#top #Logo a {
|
|
margin: 0;
|
|
display: block;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
height: 26px;
|
|
line-height: 22px;
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 8px;
|
|
padding-right: 34px;
|
|
background: url(../images/mainmenu/logo.gif) right top no-repeat;
|
|
color: #fff;
|
|
}
|
|
html > body #top #Logo {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
#bottom {
|
|
width: 100%;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
height: 23px;
|
|
overflow: hidden;
|
|
background: #4d4e5a url(../images/textures/footerBg.gif) repeat-x left top;
|
|
}
|
|
|
|
#bottom .holder {
|
|
text-align: center;
|
|
padding: 5px 6px 0 3px;
|
|
font-size: 10px;
|
|
color: #fff;
|
|
}
|
|
|
|
#bottom #logInStatus {
|
|
float: right;
|
|
}
|
|
#bottom a {
|
|
color: #fff;
|
|
background: none;
|
|
}
|
|
#bottom a:hover {
|
|
text-decoration: none;
|
|
color: #ccc;
|
|
}
|
|
#bottom #logInStatus #LogoutLink {
|
|
background: url(../images/logout.gif) no-repeat right top;
|
|
padding-right: 20px;
|
|
padding-bottom: 3px;
|
|
}
|
|
#bottom #switchView {
|
|
float: left;
|
|
}
|
|
#bottom #switchView a {
|
|
background: none;
|
|
}
|
|
|
|
#bottom .bottomTabs a {
|
|
color: #fff;
|
|
}
|
|
|
|
#bottom .bottomTabs div.blank {
|
|
display: block;
|
|
float: left;
|
|
cursor: pointer;
|
|
background-color: transparent;
|
|
padding-right: 4px;
|
|
font-weight: bold;
|
|
line-height: 13px;
|
|
font-size: 11px;
|
|
padding-left: 2px;
|
|
color: #fff;
|
|
}
|
|
#bottom .bottomTabs .current {
|
|
color: #ccc;
|
|
}
|
|
#bottom .bottomTabs a:hover {
|
|
color: #ccc;
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
/** LEFT PANEL **/
|
|
#sitetree_holder {
|
|
height: 80%;
|
|
width: 100%;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
#sitetree {
|
|
margin-top: 2px;
|
|
width: 500px; /* IE's chocking right now */
|
|
}
|
|
html>body #sitetree {
|
|
width: auto;
|
|
}
|
|
|
|
div.spacer, li.spacer {
|
|
float: none;
|
|
clear: both;
|
|
background-color: transparent;
|
|
border-style: none;
|
|
margin: -1px 0 0 0;
|
|
height: 1px;
|
|
font-size: 1px;
|
|
width: auto;
|
|
}
|
|
/** RIGHT PANEL **/
|
|
.mceToolbarExternal {
|
|
background-color: #eee;
|
|
display: block;
|
|
}
|
|
.mceToolbarExternal a {
|
|
text-decoration: none;
|
|
border: 0 !important;
|
|
}
|
|
.mceToolbarExternal a img {
|
|
border: none;
|
|
}
|
|
|
|
#right form#Form_EditorToolbarLinkForm,
|
|
#right form#Form_EditorToolbarImageForm,
|
|
#right form#Form_EditorToolbarFlashForm {
|
|
background: #eee;
|
|
border-bottom: 1px solid #ccc;
|
|
display: none;
|
|
margin: 1px 0 0 0;
|
|
padding: 5px;
|
|
/*
|
|
* HACK IE (all versions): container needs to be higher stacking order
|
|
* than any DOM-elemnt under it.
|
|
* @see http://www.aplus.co.yu/lab/z-pos/
|
|
*/
|
|
/*overflow: hidden;*/
|
|
z-index: 1001;
|
|
}
|
|
|
|
|
|
#right form#Form_EditorToolbarLinkForm ul.optionset {
|
|
height: 1em;
|
|
}
|
|
|
|
#right form#Form_EditorToolbarLinkForm ul.optionset li {
|
|
float: left;
|
|
}
|
|
|
|
.thumbnailstrip {
|
|
overflow: auto;
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
float: left;
|
|
border: 1px solid #aaa;
|
|
}
|
|
|
|
.thumbnailstrip li {
|
|
float: left;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
/* CMS specific icons for the tree */
|
|
ul.tree li.Root span.Root span.c a {
|
|
background: url(../../cms/images/treeicons/root.png) no-repeat !important;
|
|
}
|
|
|
|
/* Misc Styling */
|
|
iframe {
|
|
border: none;
|
|
}
|
|
/* Content Panel Design
|
|
* This is our new right hand pane for inserting images and links etc
|
|
*/
|
|
#contentPanel {
|
|
background-color: #fff;
|
|
width: 205px;
|
|
position: absolute;
|
|
border: 1px solid #ACBBCC;
|
|
top: 45px;
|
|
padding: 0;
|
|
margin-right: 10px;
|
|
overflow:hidden;
|
|
font-size: 12px;
|
|
}
|
|
|
|
#contentPanel div,
|
|
#contentPanel p#TargetBlank {
|
|
margin-left: 0;
|
|
}
|
|
#contentPanel div.TreeDropdownField {
|
|
width: 180px;
|
|
}
|
|
#contentPanel div.TreeDropdownField span.items {
|
|
width: 155px;
|
|
background: #fff;
|
|
font-size: 12px;
|
|
border:1px solid #A7A7A7;
|
|
border-right: none;
|
|
overflow: hidden;
|
|
}
|
|
#contentPanel .thumbnailstrip {
|
|
border: none;
|
|
width: 180px;
|
|
height: 120px;
|
|
overflow-y: auto;
|
|
}
|
|
#contentPanel fieldset {
|
|
padding: 5px;
|
|
}
|
|
#contentPanel h2 {
|
|
margin: -5px -5px 0 -5px;
|
|
}
|
|
#contentPanel .thumbnailstrip h2 {
|
|
margin: 0;
|
|
background: none;
|
|
color: #555;
|
|
height: auto;
|
|
}
|
|
#contentPanel select {
|
|
width: 186px;
|
|
padding: 1px 0;
|
|
font-size: 12px;
|
|
}
|
|
#contentPanel option {
|
|
font-size: 12px;
|
|
}
|
|
#contentPanel .middleColumn {
|
|
background:#E9E9E9 none repeat scroll 0%;
|
|
display:block;
|
|
padding:3px;
|
|
width:98%;
|
|
}
|
|
#contentPanel input.text {
|
|
border:1px solid #A7A7A7;
|
|
padding:3px;
|
|
width: 179px;
|
|
}
|
|
#contentPanel #Dimensions div.middleColumn {
|
|
background: none;
|
|
}
|
|
|
|
/* Image height and width inputs. We need to position them in the right places */
|
|
#contentPanel input#Form_EditorToolbarImageForm_Width,
|
|
#contentPanel input#Form_EditorToolbarFlashForm_Width {
|
|
width: 30px;
|
|
}
|
|
#contentPanel input#Form_EditorToolbarImageForm_Height,
|
|
#contentPanel input#Form_EditorToolbarFlashForm_Height {
|
|
width: 30px;
|
|
}
|
|
#Form_EditorToolbarImageForm #Image,
|
|
#Form_EditorToolbarFlashForm #Flash {
|
|
margin: 5px;
|
|
}
|
|
#Form_EditorToolbarImageForm fieldset label.left,
|
|
#Form_EditorToolbarFlashForm fieldset label.left,
|
|
#Form_EditorToolbarLinkForm fieldset label.left {
|
|
float:left;
|
|
margin-left:0px;
|
|
color: #666;
|
|
line-height: 18px;
|
|
font-size: 11px;
|
|
width:120px;
|
|
}
|
|
#Form_EditorToolbarImageForm fieldset div.middleColumn,
|
|
#Form_EditorToolbarFlashForm fieldset div.middleColumn,
|
|
#Form_EditorToolbarLinkForm fieldset div.middleColumn {
|
|
float: left;
|
|
}
|
|
#Form_EditorToolbarLinkForm fieldset li div.middleColumn,
|
|
#Form_EditorToolbarFlashForm fieldset li div.middleColumn,
|
|
#Form_EditorToolbarImageForm fieldset li div.middleColumn {
|
|
float: none;
|
|
}
|
|
|
|
#Form_EditorToolbarImageForm fieldset div.fieldgroupField,
|
|
#Form_EditorToolbarFlashForm fieldset div.fieldgroupField,
|
|
#Form_EditorToolbarLinkForm fieldset div.fieldgroupField {
|
|
display: inline;
|
|
}
|
|
|
|
|
|
#Form_EditorToolbarImageForm_Width,
|
|
#Form_EditorToolbarImageForm_Height,
|
|
#Form_EditorToolbarFlashForm_Width,
|
|
#Form_EditorToolbarFlashForm_Height {
|
|
outline: 3px solid #E9E9E9;
|
|
}
|
|
|
|
#Form_EditorToolbarImageForm #Image img,
|
|
#Form_EditorToolbarFlashForm #Flash img {
|
|
border: 2px solid #e4e3e3;
|
|
}
|
|
#contentPanel div.Actions {
|
|
margin: 2px 5px 0 0;
|
|
text-align: right;
|
|
}
|
|
#contentPanel #Image a.selectedImage img,
|
|
#contentPanel #Flash a.selectedFlash img {
|
|
border: 2px solid #222;
|
|
}
|
|
|
|
/* IMAGE ALIGNMENT in the right panel */
|
|
#ImageAlignmentStyles_Wrapper {
|
|
padding-left: 3px;
|
|
}
|
|
#ImageAligmentStyle {
|
|
clear: both;
|
|
padding-top: 8px;
|
|
}
|
|
|
|
#ImageAligmentStyle label{
|
|
display: block;
|
|
color: #666666;
|
|
font-size: 11px;
|
|
line-height: 18px;
|
|
}
|
|
#ImageAligmentStyle a {
|
|
float: left;
|
|
display: block;
|
|
width: 38px;
|
|
height: 47px;
|
|
text-indent: -9999em;
|
|
margin-top: 5px;
|
|
margin-right: 8px;
|
|
outline: none;
|
|
}
|
|
#ImageAligmentStyle a:hover {
|
|
background-position: 0px -47px;
|
|
}
|
|
#ImageAligmentStyle a.selected {
|
|
background-position: 0px -94px;
|
|
}
|
|
a#ImageAligmentStyle_left { background-image: url(../images/imagealignment_left.gif); }
|
|
a#ImageAligmentStyle_leftAlone { background-image: url(../images/imagealignment_leftalone.gif); }
|
|
a#ImageAligmentStyle_right { background-image: url(../images/imagealignment_right.gif); }
|
|
a#ImageAligmentStyle_center { background-image: url(../images/imagealignment_center.gif); }
|
|
|
|
/* going to use this */
|
|
#BlankImage {
|
|
text-indent: -9000px;
|
|
|
|
}
|
|
|
|
/**
|
|
* Messages (see sapphire/css/Form.css)
|
|
*/
|
|
.message {
|
|
margin: 1em 0;
|
|
padding: 0.5em;
|
|
font-weight: bold;
|
|
border: 1px black solid;
|
|
background-color: #B9FFB9;
|
|
border-color: #00FF00;
|
|
}
|
|
.message.notice {
|
|
background-color: #FCFFDF;
|
|
border-color: #FF9300;
|
|
}
|
|
|
|
.message.warning {
|
|
background-color: #FFD2A6;
|
|
border-color: #FF9300;
|
|
}
|
|
.message.bad {
|
|
background-color: #FF8080;
|
|
border-color: #FF0000;
|
|
} |