silverstripe-reports/css/cms_right.css
Ingo Schommer 0fddddb87e !!BUGFIX: Refactored CSS and Requirements: Created more specific css-files to reduce side-effects and ease debugging, moved generic form-styling from cms/css/cms_*.css into sapphire/css/Form.css.
!!BUGFIX: Ordered Requirement-inclusions in CMSMain/LeftAndMain to be more coherent (avoiding duplicate Requirement-calls)
ENHANCEMENT: Removed some css-rules disabled by comments
ENHANCEMENT: coding-conventions (see r42726)
FEATURE: Added Profile-page with LeftAndMain->myprofile()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@42728 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-27 20:56:55 +00:00

425 lines
6.8 KiB
CSS

/**
* Forms
*/
.right form {
margin: 1em;
position: relative;
/*top: 70px;*/
}
html>body .right from {
/*top: 50px;*/
}
.right form .field {
font-size: 1.2em;
}
.right form textarea {
width: 98%;
}
.right form input {
width: 96%;
}
.right form textarea.htmleditor {
width: 90%;
display : none;
}
html>body .right form textarea.htmleditor {
width: 98%;
}
.right form .creditCardfield input {
width: 4.415em;
}
.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 h2 {
clear: both;
}
.right form .fieldgroup input,
.right form .fieldgroup select {
width: auto;
}
/**
* Actions/Buttons
*/
.ajaxActions {
position: absolute;
bottom: 3px;
right: 10px;
padding: 0;
margin: 0;
text-align: right;
}
.ajaxActions input {
cursor: pointer;
float : left;
height : 25px;
background-image: url(../images/textures/ToolBar.png);
padding-left: 10px;
padding-right : 10px;
margin : 0px;
color : #333333;
overflow: visible;
width: auto;
border-color: #CCCCCC rgb(153, 153, 153) rgb(153, 153, 153) rgb(204, 204, 204);
border-style: double;
border-width: 3px;
margin: 1px;
}
.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 {
background: #fff;
}
input.delete:hover {
background: #ce0000;
color: #fff;
}
input.loading {
background-color: #fff;
background-image: url(../images/network-save.gif);
background-position: center left;
background-repeat: no-repeat;
padding-left: 16px;
}
/**
* Tabs
*/
.right form div.tab {
clear: left;
overflow: auto;
border: 1px #AAA solid;
border-top: none;
position: relative;
top: 0px;
margin: 0;
padding: 10px;
}
.right form div.tabset {
border: 1px solid #fff; /* Hack for FF1.5/Win Float-Bug */
clear: left;
margin: 0;
}
/**
* 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: 1.2em;
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 ul.optionset {
padding: 0;
}
#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 #777 solid;
background-color: #CCC;
position: absolute;
bottom: 32px;
right: 11px;
width: 300px;
z-index: 200;
margin: 0;
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 p.actions {
margin: 10px 0 0 0;
text-align: right;
}
#right form.actionparams p.actions input {
width: auto;
}
#right form.actionparams .sendingText {
position: absolute;
left: 0;
top: 0;
width: 100%;
padding: 10% 0 0 0;
height: 60%;
background-color: #CCC;
font-size: 25px;
font-weight: bold;
color: white;
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-color: #EEEEEE;
margin : 0px;
padding : 0px;
}
.autocomplete ul {
border: 1px #AAA solid;
margin : 0px;
padding : 0px;
}
.autocomplete li {
list-style-type: none;
cursor: pointer;
margin: 0px;
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: 3px;
left: 3px;
text-align: left;
padding: 1px 1px 1px 40px;
font-size: 16px;
font-weight: bold;
color: #660;
margin: 2px;
}
#statusMessage.good {
border-color: #9c9;
color: #060;
background: url(../images/alert-good.gif) /*#E2F9E3*/ 7px no-repeat;
}
#statusMessage.bad {
border-color: #c99;
color: #c00;
background: url(../images/alert-bad.gif) #fff 7px no-repeat;
max-height: 300px;
overflow: auto;
}
.pageStatusMessage {
position: absolute;
top: 0;
right: 0;
background-color: #F9F9E3;
font-weight: bold;
font-size: 1.2em;
padding: 5px;
border: 1px solid #cc9;
}
/**
* TableField Subclasses
*/
div.MemberListFilter,
div.MemberFilter,
div.CommentFilter {
/*float: right;*/
width: 40em;
margin: 5px 0;
padding: 5px;
background-color : #ebeadb;
border: 1px solid #aca899;
}
.right form div.MemberListFilter label,
.right form div.MemberFilter label,
.right form div.CommentFilter label {
display: block;
width: 10em;
float: left;
margin-left: 0em;
}
div.MemberListFilter div.field,
div.MemberFilter div.field,
div.CommentFilter div.field {
margin-left: 0em;
}
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;
/* HACK: any IE */
padding-bottom: expression('35px');
}
/**
* i18n
*/
div.originallang_holder.field.CompositeField.nolabel {
border: 1px dashed #AAAAAA;
margin-bottom: 10px;
margin-left: 0px;
padding-top: 8px;
padding-bottom: 6px;
padding-left: 5px;
}
.originallang {
color: #666666;
font-style: italic;
}
.originallang span.readonly{
font-size: 0.9em;
}
#Form_EditForm_URLSegment_original {
color: #666666;
font-style: italic;
font-size: 0.9em;
}
.right form div.languageDropdown {
clear: right;
padding-right: 4pt;
float: left;
}
.right form div.createTranslationButton {
clear: right;
}
.translatingMessage {
background-color: #F9F9E3;
border: 1px solid #CCCC99;
font-size: 1.2em;
padding: 3px;
}
.nonTranslating {
display: none;
}