This repository has been archived on 2025-06-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
suitedesk/themes/zuitedesk/css/blocks.css

205 lines
3.5 KiB
CSS

/**
* @file
* Block Styling.
*/
/*
* Admin blocks list.
*/
table#blocks td {
vertical-align: middle;
background-color: transparent;
}
table#blocks .draggable > td:first-child {
white-space: normal;
padding-left: 32px;
}
table#blocks .draggable a.tabledrag-handle {
position: absolute;
margin-left: -32px;
}
/*
* Admin blocks configure and edit.
*/
div.block.with-block-editing {
position: relative;
}
div.block.with-block-editing div.edit {
display: none;
position: absolute;
right: 0;
top: 0;
z-index: 100;
border: 1px solid #eee;
padding: 0 2px;
font-size: 0.75em;
background-color: #fff;
}
div.block.with-block-editing:hover div.edit {
display: block;
}
/*
* Generic blocks styles.
*/
.block {
margin: 0 0 1em 0;
background-color: #fff;
}
.block h2.title {
background-color: #556372;
color: #eee;
font-size: 18px;
font-weight: normal;
line-height: 23px;
letter-spacing: 1px;
margin: 0;
padding: 5px 5px 5px 23px;
}
.block h2.title:before {
content: "//";
margin-left: -18px;
position: absolute;
}
@media (min-width: 530px) and (max-width: 699px) { /* MINW */
.block h2.title {
padding-left: 5px;
}
.block h2.title:before {
content: "";
}
}
.block h2.title a {
color: #eee;
}
.block .content {
margin: .5em;
padding-bottom: .5em;
}
.block ul.menu {
padding-left: 1em;
}
.block ul.menu ul {
font-size: .98em;
}
.block ul.menu li,
.block ul.menu li.collapsed {
list-style-image: url(../images/menu-collapsed.gif);
}
.block ul.menu li.expanded {
list-style-image: url(../images/menu-expanded.gif);
}
.block ul.menu li.leaf {
list-style-image: url(../images/menu-leaf.gif);
}
.block ul.menu li a:link,
.block ul.menu li a:visited {
color: #3c8dbc;
}
.block ul.menu li a:hover {
color: #f70a0a;
}
.block ul.menu li a.active {
color: #3c8dbc;
font-weight: bold;
}
body.section-node-edit .block ul.menu li.active-trail > a {
font-weight: bold;
color: #f70a0a;
}
.block .more-link {
clear: both;
font-size: .75em;
padding-right: 1em;
text-align: right;
}
.block .btn {
margin: 0;
}
/*
* Search blocks.
*/
.block-custom_search_blocks {
background-color: transparent;
margin: 0;
}
#block-custom_search_blocks-1 {
margin-top: 2em;
}
.block-custom_search_blocks h2.title {
display: none;
}
.block-custom_search_blocks .content {
margin: 0;
}
.block-custom_search_blocks {
position: relative;
}
.block-custom_search_blocks input.form-text {
padding-right: 48px;
background: #fff;
font-weight: 300;
}
.block-custom_search_blocks button.form-submit {
position: absolute;
padding: 0;
top: 0;
right: 0;
width: 39px;
height: 39px;
color: #3c8dbc;
overflow: hidden;
}
.block-custom_search_blocks button.form-submit:hover {
color: #307095;
}
.block-custom_search_blocks button.form-submit span {
color: #fff;
display: block;
line-height: 34px;
margin: 0;
}
/*
* Print top block.
*/
#block-print-0 {
position: absolute;
top: 0;
right: 0;
}
@media (max-width: 529px) { /* MINW = 530px */
#block-print-0 {
right: 4%;
}
}
#block-print-0 .content {
margin-right: 0;
}
#block-print-0 span {
font-size: 15px;
line-height: 1.8em;
padding: .4em 0 .4em .8em;
white-space: nowrap;
}
#block-print-0 span:before {
font-family: "fonticons";
padding: 0 .38em 0 0;
color: #ff3300;
}
#block-print-0 span.print_html:before {
content: "\e831";
}
#block-print-0 span.print_pdf:before {
content: "\e82e";
}
/*
* SuiteDesk menu block.
*/
#block-storm-storm_dashboard_block .content {
margin: .5em 0;
}