silverstripe-cms/css/cms_right.css

492 lines
8.4 KiB
CSS
Raw Normal View History

/**
* General
*/
#right p/*,
#right .optionset*/ {
margin: 7px 0;
}
#right .optionset li {
margin: 4px 0;
}
/**
* Forms
*/
.right form {
margin: 1em;
position: relative;
}
.right form .field {
/*margin: 3px !important;*/
margin: 0;
}
.right form .text,
.right form .field span.readonly,
.right form .field span.readonly i,
.right form div.TableListField table i,
.right form .calendardate input,
.right form .dropdowntime input {
font-size: 14px;
}
.right form .field span.readonly {
margin: 0;
width: auto;
}
.right form #URL .fieldgroup * {
font-size: 14px;
font-weight: bold;
}
.right form #URL .fieldgroup {
display:block;
height: 16px;
background-color:#F7F7F7;
border:1px dotted #CCCCCC;
padding:3px;
}
.right form #URL .originallang_holder {
display: inline;
border: none;
padding: 0;
}
.right form #URL .fieldgroup input {
border: 1px solid #A7A7A7;
padding: 2px;
margin-top: -3px;
}
.right form #URL .fieldgroup span.readonly {
display: inline;
border: none;
padding: 0;
}
.right form .dropdown,
.right form .typedropdown,
.right form .countrydropdown {
font-size: 12px;
}
.right form .dropdown select,
.right form .typedropdown select,
.right form .countrydropdown select {
font-size: 12px;
height: 19px;
}
.right form .dropdown select option,
.right form .typedropdown select option,
.right form .countrydropdown select option {
font-size: 12px;
}
.right form .field .middleColumn {
display: block;
background: #e9e9e9;
padding: 3px;
width: 97%;
}
.right form .field.image .middleColumn,
.right form .field.simpleimagefield_disabled .middleColumn {
padding-bottom:0;
}
.right form .htmleditorfield span.readonly *,
#right form .htmleditorfield span.readonly * {
margin: 0;
border: 0;
padding: 0;
}
.right form .checkbox input,
.right form .optionset input {
border: none;
}
.right form .field label {
font-size: 11px;
}
.right form .field label.left {
float: none;
display: block;
margin-left: 0;
color: #666;
margin-bottom: 3px;
/*font-size: 11px;*/
width: 96%;
}
#right .TreeDropdownField {
width: 27.7em;
background: #fff;
font-size: 12px;
height: 21px;
}
.right form textarea,
.right form input.text,
.right form textarea.htmleditor {
border: 1px solid #a7a7a7;
padding: 3px;
width: 99%;
}
.right form textarea {
font-size: 12px;
}
.right form textarea.htmleditor {
display: none;
}
.right form .mceEditor {
width: 100%;
border: 1px solid #a7a7a7;
}
.right form input.checkbox,
.right form .optionset input,
.right form .htmleditor select,
.right form input.action {
width: auto;
}
.right form ul.optionset {
padding: 0;
}
.right form .optionset li {
list-style: none;
}
.right form .optionset li.cancel {
float: left;
}
.right form .optionset li.submit {
text-align: right;
}
.right form h1 {
font-size: 20px;
}
.right form h2 {
font-size: 18px;
clear: both;
}
.right form h3 {
font-size: 16px;
}
.right form h4 {
font-size: 14px;
}
.right form h5 {
font-size: 12px;
}
.right form .fieldgroup input,
.right form .fieldgroup select {
width: auto;
}
/**
* Tabs
*/
.right form div.tab {
background: #fff;
clear: left;
overflow: auto;
border: 1px solid #aaa;
border-top: none;
position: relative;
top: 0;
padding: 10px;
}
.right form div.tabset {
border: 1px solid #fff; /* Hack for FF1.5/Win Float-Bug */
clear: left;
}
/**
* Bottom-right
*/
#rightbottom {
border: none;
margin-top: 4px;
margin-left: 1px;
border: 1px solid #808080;
}
#rightbottom form {
margin: 1em;
}
#rightbottom form div {
margin-top: 3px;
}
#rightbottom form div.field {
clear: both;
margin-left: 10em;
font-size: 12px;
border: none;
}
#rightbottom form label.left {
float: left;
width: 10em;
margin-left: -10em;
}
#rightbottom form input,
#rightbottom form select,
#rightbottom form textarea {
width: 90%;
}
#rightbottom form input.checkbox,
#rightbottom form .optionset input,
#rightbottom form .htmleditor select,
#rightbottom form input.action {
width: auto;
}
#rightbottom form .optionset li {
list-style: none;
}
#rightbottom form h2 {
clear: both;
}
#rightbottom form .fieldgroup input,
#rightbottom form .fieldgroup select {
width: auto;
}
/**
* RHS Action Parameters boxes
*/
#right form.actionparams {
border: 1px solid #777;
background: #ccc;
position: absolute;
bottom: 32px;
right: 11px;
width: 300px;
z-index: 200;
padding: 10px;
}
#right form.actionparams div.field {
margin-left: 6em;
}
#right form.actionparams label.left {
width: 6em;
margin-left: -6em;
}
#right form.actionparams input, #right form.actionparams select, #right form.actionparams textarea {
width: 100%;
}
#right form.actionparams input.checkbox, #right form.actionparams .optionset input {
width: auto;
}
#right form.actionparams p.label {
margin: 10px 0 0 0;
}
#right form.actionparams .actions {
margin: 10px 0 0 0;
text-align: right;
}
#right form.actionparams .actions input {
width: auto;
}
#right form.actionparams .sendingText {
position: absolute;
left: 0;
top: 0;
width: 100%;
padding: 10% 0 0 0;
height: 60%;
background: #ccc;
font-size: 25px;
font-weight: bold;
color: #fff;
text-align: center;
}
#right form.actionparams div.TreeDropdownField {
width: 220px;
padding-bottom: 150px;
}
#right form.actionparams div.TreeDropdownField span.items {
width: 195px;
}
#right form.actionparams div.TreeDropdownField div.tree_holder {
width: 214px;
}
/**
* Autocomplete
*/
.autocomplete {
background: #eee;
}
.autocomplete ul {
border: 1px solid #aaa;
}
.autocomplete li {
list-style-type: none;
cursor: pointer;
font-size: 12px;
padding: 3px;
white-space: nowrap;
}
.autocomplete .data {
display: none;
}
.autocomplete .informal {
font-style: italic;
}
/*
* Status
*/
#statusMessage {
position: absolute;
z-index: 500;
bottom: 4px;
left: 10px;
text-align: left;
padding: 2px 20px 2px 20px;
font-size: 14px;
font-weight: bold;
color: #660;
background: #f4f3eb;
border: 1px solid #a9a67d;
margin: 0 !important;
line-height: 1.5;
}
#statusMessage.good {
padding: 2px 20px 2px 40px;
color: #060;
background: #E2F9E3 url(../images/alert-good.gif) 7px 50% no-repeat;
border: 1px solid #8dd38d;
}
#statusMessage.bad {
padding: 2px 20px 2px 40px;
border-color: #ff8e8e;
color: #c80700;
background: #ffe9e9 url(../images/alert-bad.gif) 7px 50% no-repeat;
max-height: 300px;
overflow: auto;
}
/**
* TableField Subclasses
*/
div.MemberListFilter,
div.MemberFilter,
div.CommentFilter {
width: 37em;
margin: 5px 0;
padding: 5px;
background: #ebeadb;
border: 1px solid #aca899;
}
div.MemberListFilter .middleColumn,
div.MemberFilter .middleColumn,
div.CommentFilter .middleColumn {
display: inline !important;
}
.right form div.MemberListFilter label,
.right form div.MemberFilter label,
.right form div.CommentFilter label {
display: block;
width: 5em;
float: left;
margin-left: 0;
line-height: 2.3;
font-weight: bold;
font-size: 12px;
}
div.MemberListFilter div.field,
div.MemberFilter div.field,
div.CommentFilter div.field {
margin-left: 0 !important;
font-size: 12px;
display: inline;
}
div.MemberListFilter input,
div.MemberListFilter select,
div.MemberFilter input,
div.MemberFilter select,
div.CommentFilter input,
div.CommentFilter select {
width: auto;
}
/* Makes room for AJAX Action buttons */
#right {
padding-bottom: 20px;
overflow: hidden;
/* HACK: any IE */
padding-bottom: expression('35px');
}
/**
* i18n
*/
div.originallang_holder.field.CompositeField.nolabel {
border: 1px dashed #aaa;
margin-bottom: 10px;
margin-left: 0;
padding: 8px 0 6px 5px;
}
.originallang,
#Form_EditForm_URLSegment_original {
color: #666;
font-style: italic;
}
.right form div.languageDropdown {
clear: right;
float: left;
padding-right: 4px;
}
.right form div.createTranslationButton {
clear: right;
}
.translatingMessage {
background: #F9F9E3;
border: 1px solid #CCCC99;
font-size: 12px;
padding: 3px;
}
.nonTranslating {
display: none;
}
#contentPanel div.TreeDropdownField a.editLink {
float: left;
margin: 0px;
outline: 0;
}
#contentPanel div.tree_holder {
width: 184px;
height: 260px;
/* Keep a scrollbar in the RHS tree dropdowns, in case the content is too wide for the column */
overflow-x: scroll;
}
#contentPanel ul.tree a {
padding-left: 15px;
}
#contentPanel h2 img {
float: right;
margin-right: 2px;
cursor: pointer;
}