Commit e65cdab9 authored by Dries's avatar Dries
Browse files

- Patch #1020640 by TR, Jody Lynn: CSS coding standards for dashboard.css.

parent d5744cb3
#dashboard div.dashboard-region {
float: left;
min-height: 1px;
}
#dashboard div#dashboard_main {
width: 65%;
margin-right: 1%; /* LTR */
width: 65%;
}
#dashboard div#dashboard_sidebar {
width: 33%;
}
#dashboard div.block {
margin-bottom: 20px;
}
#dashboard .dashboard-region .block {
clear: both;
}
#dashboard .dashboard-region .block-placeholder {
display: block;
height: 1.6em;
margin: 0 0 20px 0;
padding: 0;
width: 100%;
}
#dashboard div.block h2 {
float: none;
}
#dashboard #disabled-blocks .block,
#dashboard .block-placeholder {
background: #e2e1dc;
padding: 6px 4px 6px 8px; /* LTR */
margin: 3px 3px 3px 0; /* LTR */
float: left; /* LTR */
background: #E2E1DC;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
float: left; /* LTR */
margin: 3px 3px 3px 0; /* LTR */
padding: 6px 4px 6px 8px; /* LTR */
}
#dashboard .dashboard-add-other-blocks {
margin: 10px 0 0 0;
}
#dashboard .ui-sortable {
border: 2px dashed #ccc;
border: 2px dashed #CCC;
padding: 10px;
}
#dashboard .canvas-content {
padding: 10px;
}
#dashboard #disabled-blocks .ui-sortable {
padding: 0;
background-color: #777;
border: 0;
}
#dashboard .canvas-content a.button {
color: #5A5A5A;
margin: 0 0 0 10px; /* LTR */
color: #5a5a5a;
text-decoration: none;
}
#dashboard .region {
margin: 5px;
}
#dashboard #disabled-blocks {
padding: 5px 0;
}
#dashboard #disabled-blocks .ui-sortable {
background-color: #777;
border: 0;
padding: 0;
}
#dashboard #disabled-blocks .region {
background-color: #E0E0D8;
border: #ccc 1px solid;
border: #CCC 1px solid;
padding: 10px;
}
#dashboard #disabled-blocks {
padding: 5px 0;
}
#dashboard #disabled-blocks h2 {
display: inline;
font-weight: normal;
white-space: nowrap;
}
#dashboard #disabled-blocks .block {
background: #444;
color: #fff;
color: #FFF;
}
#dashboard.customize-inactive #disabled-blocks .block:hover {
background: #0074BD;
}
#dashboard #disabled-blocks .block-placeholder {
height: 1.6em;
width: 30px;
}
#dashboard #disabled-blocks .block .content,
#dashboard .ui-sortable-helper .content {
display: none;
}
#dashboard .ui-sortable .block {
cursor: move;
min-height: 1px;
}
#dashboard .ui-sortable .block h2 {
background: transparent url(../../misc/draggable.png) no-repeat 0px -39px;
padding: 0 17px;
}
#dashboard.customize-inactive #disabled-blocks .block:hover h2 {
background: #0074BD url(../../misc/draggable.png) no-repeat 0px -39px;
color: #fff;
color: #FFF;
}
#dashboard.customize-inactive .dashboard-region .ui-sortable .block:hover h2 {
background: #0074BD url(../../misc/draggable.png) no-repeat;
background-position: 3px -36px;
color: #fff;
}
#dashboard .dashboard-region .block-placeholder {
margin: 0 0 20px 0;
padding: 0;
display: block;
height: 1.6em;
width: 100%;
}
#dashboard #disabled-blocks .block-placeholder {
width: 30px;
height: 1.6em;
background: #0074BD url(../../misc/draggable.png) no-repeat 3px -36px;
color: #FFF;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment