silverstripe-reports/css/layout.css
Will Rossiter 480f96cc2a fixs to the image uploader
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44154 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-02 02:09:34 +00:00

375 lines
6.3 KiB
CSS

/*
Tenative color scheme:
#0074C6 #95B2C6 #639DC6 #162F42 #2C5F84
4A7695 819BAD
*/
html {
margin: 0;
height: 100%;
overflow:hidden;
}
body {
height: 100%;
margin: 0;
font-size: 62.5%;
background-color: #ccdef3;
}
#top,
#left,
#bottom,
div.title,
div.mceToolbarExternal,
ul.tabstrip,
div.field label,
#separator {
/*-moz-user-select: none;*/ /*need to explicitly allow input box selection becuase of this */
}
form#Form_EditForm fieldset {
height: 100%;
}
body.stillLoading select {
display: none;
}
/** 3-PANEL LAYOUT **/
#top {
font-size: 14px;
height: 33px;
padding: 0;
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 #acbbcc solid;
background-color:#FFFFFF;
}
#right, #rightbottom {
position: absolute;
left: 208px;
top: 45px;
height: 91%;
width: 600px;
overflow: auto;
z-index: 50;
border: 1px #acbbcc solid;
background-color: #eee;
margin-right : 3px;
}
#rightbottom {
height: 30%;
}
#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, #rightbottom div.title{
border-top: 1px #77BBEE solid;
background-image:url(../images/textures/obar.gif);
height : 22px !important;
background-color : #0075C9;
background-repeat : repeat-x !important;
background-position: 0px 0px;
}
#rightbottom div.light {
background-image: url(../images/textures/obar-light.png) !important;
}
#left div.title div, #right div.title div, #rightbottom div.title div{
font-size : 14px;
font-weight : bold;
color: white;
padding: 2px 0 0 4px;
background-position: 2px 2px;
background-repeat:no-repeat;
padding-left : 20px;
border-top: 1px #77BBEE solid;
}
#left h2 {
margin: 0;
background-image:url(../images/textures/obar-18.gif);
height: 18px;
line-height: 18px;
color: white;
font-size: 12px;
padding-left: 3px;
}
/** TOP PANEL **/
#top #MainMenu {
margin: 0 0 0 6px;
padding: 0;
}
#top #MainMenu li {
margin: 0px 4px;
/* Do not want to do padding: 0 0; you'll see why */
padding-top: 0px;
padding-bottom: 0px;
list-style-type: none;
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;
letter-spacing: -0.4px;
height: 26px;
font-family: Verdana, Arial, Helvetica, sans-serif;
line-height: 22px;
position: absolute;
top: 5px;
right: 8px;
padding-right: 34px;
background: url(../images/mainmenu/logo.gif) right top no-repeat;
}
html>body #top #Logo {
padding-bottom: 0;
}
#top #Logo a {
color: white;
}
#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-top: 5px;
padding-left : 3px;
padding-right : 6px;
font-size: 10px;
color: white;
}
#bottom #logInStatus {
float: right;
}
#bottom #logInStatus a {
color: #FFF;
text-decoration: underline;
}
#bottom #logInStatus a:hover {
color: #fff;
text-decoration: none;
}
#bottom #logInStatus a#LogoutLink {
background: url(../images/logout.gif) no-repeat right bottom;
padding-right: 20px;
}
#bottom #switchView {
float: left;
}
#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:#FFFFFF;
}
#bottom .bottomTabs a.current {
cursor: auto;
}
#bottom .bottomTabs a:hover {
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 {
list-style-type: none;
float: none;
clear: both;
background-color: transparent;
border-style: none;
padding: 0;
margin: -1px 0 0 0;
height: 1px;
font-size: 1px;
width: auto;
}
/** RIGHT PANEL **/
.mceToolbarExternal {
background-color: #eee;
/*border-bottom: 1px #CCC solid;*/
/*position: absolute;
top: 23px;
left: 0;*/
display: block;
}
.mceToolbarExternal a {
text-decoration: none;
}
#right form#Form_EditorToolbarLinkForm,
#right form#Form_EditorToolbarImageForm,
#right form#Form_EditorToolbarFlashForm {
background-color: #EEE;
border-bottom: 1px #CCC solid;
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/
*/
z-index: 1001;
}
#right form#Form_EditorToolbarLinkForm ul.optionset {
height: 1em;
margin: 0;
}
#right form#Form_EditorToolbarLinkForm ul.optionset li {
float: left;
}
.thumbnailstrip {
height: 58px;
overflow: auto;
white-space: nowrap;
width: 100%;
float: left;
border : 1px solid #AAAAAA;
}
.thumbnailstrip ul {
margin: 0;
padding: 0;
list-style: none;
}
.thumbnailstrip li {
float: left;
margin-right: 4px;
}
/* CMS specific icons for the tree */
ul.tree li.Root span.Root span.c a {
background-image : url(../../cms/images/treeicons/root.png) !important;
}
.TreeDropdownField {
background: #ff0;
}
/* Misc Styling */
iframe {
border : none;
}