drupal/core/themes/seven/style.css

1670 lines
34 KiB
CSS

/**
* Menus and lists.
*/
.item-list ul {
list-style-type: disc;
list-style-image: none;
margin: 0.25em 0 0.25em 1.5em; /* LTR */
}
[dir="rtl"] .item-list ul {
margin: 0.25em 1.5em 0.25em 0;
}
.item-list ul li,
li.leaf,
ul.menu li {
list-style-type: disc;
list-style-image: none;
}
ul.menu li {
margin: 0;
}
.item-list ul li.collapsed,
ul.menu li.collapsed {
list-style-image: url(../../misc/menu-collapsed.png);
list-style-type: disc;
}
.item-list ul li.expanded,
ul.menu li.expanded {
list-style-image: url(../../misc/menu-expanded.png);
list-style-type: circle;
}
/**
* Skip link.
*/
.skip-link {
margin-top: 0;
position: absolute;
left: 50%; /* LTR */
margin-left: -5.25em; /* LTR */
width: auto;
z-index: 50;
}
[dir="rtl"] .skip-link {
right: 50%;
margin-right: -5.25em;
}
.skip-link,
.skip-link:link,
.skip-link:visited {
display: inline-block;
background: #444;
color: #fff;
font-size: 0.94em;
padding: 1px 10px 2px 10px; /* LTR */
text-decoration: none;
border-radius: 0 0 10px 10px;
}
[dir="rtl"] .skip-link,
[dir="rtl"] .skip-link:link,
[dir="rtl"] .skip-link:visited {
padding: 1px 10px 2px 10px;
}
.skip-link:hover,
.skip-link:focus,
.skip-link:active {
outline: 0;
}
/**
* Branding.
*/
#branding {
overflow: hidden;
background-color: #e0e0d8;
padding: 24px 0 0;
}
/* This layout styling is a copy of #page.
* @TODO: Replace with reuseable layout classes.
**/
.branding__inner {
margin-left: 1.25em;
margin-right: 1.25em;
}
@media screen and (min-width:45em) { /* 720px */
.branding__inner {
margin-left: 2.5em;
margin-right: 2.5em;
}
}
[dir="rtl"] #branding {
padding: 20px 20px 0 20px;
}
.breadcrumb {
font-size: 0.846em;
line-height: 1em;
padding: 20px 0 10px 0;
}
/**
* Help.
*/
#help {
font-size: 0.923em;
}
#help p {
margin: 0 0 10px;
}
#help div.more-help-link {
text-align: right; /* LTR */
}
[dir="rtl"] #help div.more-help-link {
text-align: left;
}
/**
* Page title.
*/
#page-title {
padding-top: 20px;
}
#branding .page-title {
color: #333;
display: inline-block;
margin: 0;
font-size: 1.625em;
line-height: 1.875em;
font-weight: 600;
-webkit-font-smoothing: antialiased;
}
[dir="rtl"] #branding h1.page-title {
float: right;
}
/**
* Console.
*/
#console {
margin: 9px 0 10px;
}
/**
* Tabs.
*/
.is-collapse-enabled .tabs,
.is-horizontal .tabs {
position: relative;
}
.is-collapse-enabled .tabs:before,
.is-horizontal .tabs:before {
content: '';
display: block;
background-color: #A6A6A6;
height: 1px;
position: absolute;
bottom: 0;
left: 0;
z-index: 10;
right: 0;
}
/* Span the full width of the viewport */
.branding__inner .is-horizontal .tabs:before,
.branding__inner .is-collapse-enabled .tabs:before {
left: -2.5em;
right: -2.5em;
}
/**
* Tab
*
* 1. Required by some elements such as <button>
* 2. Fixed height needed to ensure alignment with absolutely-positioned
* active tab.
*/
.tabs__tab {
position: relative;
display: block;
overflow: hidden;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: -1px 0 0;
padding: 9px 2em 7px 1em;
width: 100%; /* 1 */
border: 1px solid #bfbfbf;
background-color: rgba(242, 242, 240, 0.7);
color: #0074bd;
text-overflow: ellipsis;
white-space: nowrap;
}
.tabs__tab:hover {
color: #008ee6;
background-color: #fafaf7;
}
li.tabs__tab {
padding: 0;
}
li.tabs__tab a {
padding: 9px 2em 7px 1em;
}
.tabs a:hover,
.tabs a:focus {
text-decoration: none;
}
/* Primary tabs */
.tabs.primary {
clear: both;
margin: 16px 0 0;
margin: 1rem 0 0;
}
.tabs.primary .tabs__tab.active {
z-index: 15;
border-color: #a6a6a6;
border-radius: 4px 0 0 0;
background-color: #ffffff;
color: #004f80;
}
.tabs.primary a {
background: none;
}
.tabs.primary a:focus {
color: #008ee6;
background-color: #fafaf7;
text-decoration: underline;
}
.tabs.primary .active a:focus {
background: none;
text-decoration: underline;
}
/* Only add the arrow if there's space */
@media screen and (min-width:18.75em) { /* 300px */
.tabs.primary a {
background: url(../../misc/icons/0074bd/chevron-right.svg) 99% center no-repeat;
}
.no-svg .tabs.primary a {
background-image: url(../../misc/icons/0074bd/chevron-right.png);
}
[dir="rtl"] .tabs.primary a {
background: url(../../misc/icons/0074bd/chevron-left.svg) 1% center no-repeat;
}
[dir="rtl"] .no-svg .tabs.primary a {
background-image: url(../../misc/icons/0074bd/chevron-left.png);
}
.tabs.primary .tabs__tab.active a {
background-image: none;
}
}
.tabs__trigger {
display: none;
}
/* JS dependent styling */
.is-collapse-enabled .tabs__trigger {
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
display: block;
position: absolute;
z-index: 10;
right: 0;
top: 2px;
left: auto;
width: 25%;
padding-right: 4px;
padding-left: 4px;
border-left: 0;
border-radius: 0 4px 0 0;
font-family: Arial, sans-serif;
font-size: 1.25em;
letter-spacing: 0.1em;
text-align: center;
outline: 0;
}
[dir="rtl"] .is-collapse-enabled .tabs__trigger {
border-right: 0;
border-left: 1px solid #bfbfbf;
border-radius: 4px 0 0 0;
right: auto;
left: 0;
top: 11px;
}
.is-collapse-enabled .tabs {
padding-top: 38px;
max-height: 0;
}
.tabs.is-open {
max-height: 999em;
padding-bottom:16px;
padding-bottom: 1rem;
}
.is-collapse-enabled .tabs__tab.active {
position: absolute;
top: 2px;
left: 0;
width: 75%;
border-bottom: 0;
}
[dir="rtl"] .is-collapse-enabled .tabs__tab.active {
left: auto;
right: 0;
}
.is-collapse-enabled .tabs.primary a.active:before {
content: none;
}
.is-open .tabs__tab.active {
border-color: #a6a6a6;
background-color: #ffffff;
color: #004f80;
border-bottom: 1px solid #a6a6a6;
}
/* Styles for the horizontal state always take priority */
.is-horizontal .tabs {
max-height: none !important;
padding-top: 0 !important;
overflow: visible;
}
.is-horizontal .tabs__tab {
float: left;
height: auto;
width: auto;
margin: 0 0 -1px;
text-align: center;
border-bottom-color: #a6a6a6;
}
[dir="rtl"] .is-horizontal .tabs__tab {
float: right;
}
.is-horizontal .tabs__tab + .tabs__tab {
margin-left: -1px;
}
.is-horizontal .tabs.primary .tabs__tab:first-child {
border-radius: 4px 0 0 0;
}
[dir="rtl"] .is-horizontal .tabs.primary .tabs__tab:first-child {
border-radius: 0 4px 0 0;
}
.is-horizontal .tabs.primary .tabs__tab:last-child {
border-radius: 0 4px 0 0;
}
[dir="rtl"] .is-horizontal .tabs.primary .tabs__tab:last-child {
border-radius: 4px 0 0 0;
}
/* Override the states above */
.is-horizontal .tabs__tab.active,
.is-horizontal .tabs.primary .tabs__tab.active,
[dir="rtl"] .is-horizontal .tabs.primary .tabs__tab.active {
border-radius: 4px 4px 0 0;
position: relative;
width: auto;
top: 0;
border-bottom: 0;
margin: 0 -4px;
}
[dir="rtl"] .is-horizontal .tabs__tab.active {
margin: 0 -6px;
}
.is-horizontal .tabs.primary a {
background-image: none;
padding: 7px 2em 7px 2em;
}
.is-horizontal .tabs__trigger {
display: none;
}
/* Secondary tabs */
.tabs.secondary {
display: block;
margin-top: 16px;
margin-top: 1rem;
}
.tabs.secondary .tabs__tab {
display: block;
padding: 5px 15px 5px 16px;
margin-left: -1px;
color: #0074bd;
-webkit-transition: border-color 0.2s, background-color 0.2s;
-moz-transition: border-color 0.2s, background-color 0.2s;
transition: border-color 0.2s, background-color 0.2s;
}
.tabs.secondary .tabs__tab + .tabs__tab {
border-top: 1px solid #d9d8d4;
}
.tabs.secondary .tabs__tab.active {
color: #004f80;
border-left: 2px solid #004f80;
padding-left: 15px;
}
.tabs.secondary .tabs__tab:hover {
color: #008ee6;
border-left: 2px solid #008ee6;
padding-left: 15px;
}
.tabs.secondary a {
background-color: transparent;
padding: 7px 13px 5px;
text-decoration: none;
}
.tabs.secondary .active a {
color: #004f80;
}
.tabs.secondary a:focus {
text-decoration: underline;
}
/* Styles for the horizontal state */
.is-horizontal .tabs.secondary .tabs__tab {
background: none;
float: left;
position: relative;
top: 0;
z-index: 15;
margin-left: 1em;
margin-right: 1em;
border-bottom: 2px solid transparent;
border-left: 1px solid transparent;
border-right-color: transparent;
border-top: 0;
padding: 0;
}
.is-horizontal .tabs.secondary .tabs__tab.active {
border-bottom-color: #004f80;
}
.is-horizontal .tabs.secondary .tabs__tab:hover {
border-bottom-color: #008ee6;
}
/**
* Page layout.
*/
#page {
background: #fff;
color: #333;
margin-left: 0.8125em;
margin-right: 0.8125em;
position: relative;
}
@media screen and (min-width:28.125em) { /* 450px */
#page {
margin-left: 1.25em;
margin-right: 1.25em;
}
}
@media screen and (min-width:45em) { /* 720px */
#page {
margin-left: 2.5em;
margin-right: 2.5em;
}
}
ul.links li,
ul.inline li {
padding-right: 1em; /* LTR */
}
[dir="rtl"] ul.links li,
[dir="rtl"] ul.inline li {
padding-left: 1em;
}
ul.inline li {
display: inline;
}
ul.admin-list {
margin: 0;
padding: 0;
}
.admin-list li {
position: relative;
border-top: 1px solid #bfbfbf;
margin: 0;
list-style-type: none;
list-style-image: none;
padding: 0;
}
.admin-list.compact li {
border: none;
}
.admin-list li a {
background: url(../../misc/icons/bebebe/chevron-disc-right.svg) no-repeat 1px 16px; /* LTR */
display: block;
padding: 14px 15px 14px 25px; /* LTR */
min-height: 0;
}
.no-svg .admin-list li a {
background-image: url(../../misc/icons/bebebe/chevron-disc-right.png); /* LTR */
}
[dir="rtl"] .admin-list li a {
background: url(../../misc/icons/bebebe/chevron-disc-left.svg) no-repeat right 16px;
padding-right: 25px;
padding-left: 15px;
}
.no-svg [dir="rtl"] .admin-list li a {
background-image: url(../../misc/icons/bebebe/chevron-disc-left.png);
}
.admin-list.compact li a {
background-image: none;
padding: 2px 0;
}
.admin-list li a:hover,
.admin-list li a:focus,
.admin-list li a:active {
text-decoration: none;
}
.admin-list li a .label {
font-size: 1.0769em;
}
.admin-list li a:hover .label,
.admin-list li a:focus .label,
.admin-list li a:active .label {
text-decoration: underline;
}
div.submitted {
color: #898989;
}
/**
* Pagination.
* The item-list CSS uses quite strong selectors, we have to match them here to
* override.
*/
.item-list .pager li {
display: inline-block;
color: #8c8c8c;
font-size: 1.08em;
padding: 0 0.6em;
margin: 0;
}
.item-list .pager a,
.item-list .pager .pager-current {
border-bottom: 2px solid transparent;
line-height: 1.55em;
padding: 0 5px;
text-decoration: none;
-webkit-transition: border-bottom-color 0.2s;
-moz-transition: border-bottom-color 0.2s;
transition: border-bottom-color 0.2s;
font-weight: 600;
-webkit-font-smoothing: antialiased;
}
.item-list .pager a {
padding-bottom: 3px;
}
.item-list .pager .pager-current {
border-bottom-width: 3px;
border-bottom-color: #2a678c;
color: #2a678c;
margin: 0 5px;
font-weight: 700;
}
.item-list .pager a:focus,
.item-list .pager a:hover {
border-bottom-color: #3395d2;
color: #3395d2;
}
.item-list .pager-next a,
.item-list .pager-last a,
.item-list .pager-first a,
.item-list .pager-previous a {
border-bottom-width: 0;
color: #2a678c;
font-weight: 600;
}
/**
* Tables.
*/
table {
width: 100%;
margin: 0 0 10px;
font-size: 0.923em;
}
caption {
text-align: left; /* LTR */
}
[dir="rtl"] caption {
text-align: right;
}
th {
padding: 10px 12px;
background: #f5f5f2;
border: solid #bfbfba;
border-width: 1px 0;
color: #333;
text-align: left; /* LTR */
text-transform: uppercase;
}
[dir="rtl"] th {
text-align: right;
}
tr {
border-bottom: 1px solid #e6e4df;
padding: 0.1em 0.6em;
}
thead > tr {
border-bottom: 1px solid #000;
}
tbody tr:hover {
background: #f7fcff;
}
td,
th {
vertical-align: middle;
}
td {
padding: 10px 12px;
text-align: left; /* LTR */
}
[dir="rtl"] td {
text-align: right;
}
th > a {
position: relative;
display: block;
}
/* 1. Must match negative bottom padding of the parent <th> */
th > a:after {
content: '';
display: block;
position: absolute;
top: 0;
bottom: -10px; /* 1. */
left: 0;
right: 0;
border-bottom: 2px solid transparent;
transition: all 0.1s;
}
th.active > a {
color: #004875;
}
th.active img {
position: absolute;
right: 0; /* LTR */
top: 50%;
}
[dir="rtl"] th.active img {
right: auto;
left: 0;
}
th.active > a:after {
border-bottom-color: #004875;
}
th > a:focus,
th > a:hover,
th.active > a:focus,
th.active > a:hover {
color: #008ee6;
text-decoration: none;
}
th > a:focus:after,
th > a:hover:after,
th.active > a:focus:after,
th.active > a:hover:after {
border-bottom-color: #008ee6;
}
td .item-list ul {
margin: 0;
}
td.active {
background: none;
}
/* Force browsers to calculate the width of a 'select all' TH element. */
th.select-all {
width: 1px;
}
/**
* Status report table.
*/
table.system-status-report tr {
border-top: 1px solid #ccc;
border-left: 1px solid #bebfb9;
border-right: 1px solid #bebfb9;
border-bottom: inherit;
}
table.system-status-report tr:first-child {
border-top: 1px solid #bebfb9;
}
table.system-status-report tr:last-child {
border-bottom: 1px solid #bebfb9;
}
table.system-status-report tr.ok {
color: #255b1e;
background-color: #e5ffe2;
}
table.system-status-report tr.warning {
color: #840;
background-color: #fffce5;
}
table.system-status-report tr.error {
color: #8c2e0b;
background-color: #fef5f1;
}
/**
* Responsive tables.
*/
@media screen and (max-width: 37.5em) { /* 600px */
th.priority-low,
td.priority-low,
th.priority-medium,
td.priority-medium {
display: none;
}
}
@media screen and (max-width: 60em) { /* 920px */
th.priority-low,
td.priority-low {
display: none;
}
}
/**
* Collapsible details.
*/
details {
line-height: 1.295em;
}
details summary {
padding-top: 0.5em;
padding-bottom: 0.5em;
}
/**
* Form elements.
*/
form {
margin: 0;
padding: 0;
}
fieldset {
margin: 1em 0;
}
.form-item {
margin: 1em 0;
}
.form-type-checkbox {
padding: 0;
}
label {
display: block;
margin: 0;
padding: 0;
font-weight: bold;
}
.form-item label.option {
font-size: 0.923em;
text-transform: none;
}
.form-item label.option input {
vertical-align: middle;
}
.form-disabled input.form-text,
.form-disabled input.form-tel,
.form-disabled input.form-email,
.form-disabled input.form-url,
.form-disabled input.form-search,
.form-disabled input.form-number,
.form-disabled input.form-color,
.form-disabled input.form-file,
.form-disabled textarea.form-textarea,
.form-disabled select.form-select {
background-color: #eee;
color: #777;
}
/* Filter */
.filter-wrapper {
font-size: 0.923em;
}
ul.tips,
div.description,
.form-item div.description {
margin: 5px 0;
line-height: 1.231em;
font-size: 0.923em;
color: #555;
}
ul.tips li {
margin: 0.25em 0 0.25em 1.5em; /* LTR */
}
[dir="rtl"] ul.tips li {
margin: 0.25em 1.5em 0.25em 0;
}
body div.form-type-radio div.description,
body div.form-type-checkbox div.description {
margin-left: 1.5em; /* LTR */
}
[dir="rtl"] body div.form-type-radio div.description,
[dir="rtl"] body div.form-type-checkbox div.description {
margin-left: 0;
margin-right: 1.5em;
}
input.form-autocomplete,
input.form-text,
input.form-tel,
input.form-email,
input.form-url,
input.form-search,
input.form-number,
input.form-color,
input.form-file,
textarea.form-textarea,
select.form-select {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 2px;
border: 1px solid #ccc;
border-top-color: #999;
background: #fff;
color: #333;
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
max-width: 100%;
}
input.form-text:focus,
input.form-tel:focus,
input.form-email:focus,
input.form-url:focus,
input.form-search:focus,
input.form-number:focus,
input.form-color:focus,
input.form-file:focus,
textarea.form-textarea:focus,
select.form-select:focus {
color: #000;
border-color: rgba(0, 116, 189, 0.8);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(220, 220, 220, 0.4);
outline-color: rgba(0, 116, 189, 0.5);
}
/**
* Improve spacing of cancel link.
*/
#edit-cancel {
margin-left: 10px; /* LTR */
}
[dir="rtl"] #edit-cancel {
margin-left: 0;
margin-right: 10px;
}
/**
* Improve form element usability on narrow devices.
*/
@media screen and (max-width: 600px) {
#page {
margin: 0 10px;
}
input.form-autocomplete,
input.form-text,
input.form-tel,
input.form-email,
input.form-url,
input.form-search,
input.form-number,
input.form-color,
input.form-file,
textarea.form-textarea,
.form-select {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
}
input.form-number {
width: auto;
}
input.form-autocomplete,
input.form-text,
input.form-tel,
input.form-email,
input.form-url,
input.form-search,
input.form-number,
input.form-color,
input.form-file,
textarea.form-textarea {
font-size: 1.2em;
line-height: 1.2em;
}
.form-actions input,
.form-wrapper input[type="submit"] {
float: none;
margin-left: 0;
margin-right: 0;
margin-top: 10px;
padding-bottom: 6px;
width: 100%;
}
.form-actions input:first-child,
.form-wrapper input[type="submit"]:first-child {
margin-top: 0;
}
.exposed-filters .filters,
.exposed-filters .form-item label,
.exposed-filters .form-select {
float: none;
margin-bottom: 2px;
width: 100%;
}
details summary {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#dblog-filter-form .form-actions {
float: none;
padding: 0;
}
#edit-cancel {
display: block;
margin: 10px 0 0 0;
}
}
/* Exceptions */
#diff-inline-form select,
div.filter-options select {
padding: 0;
}
/**
* System.
*/
@media screen and (min-width: 40em) {
div.admin .right,
div.admin .left {
width: 49%;
margin: 0;
}
}
div.admin-panel,
div.admin-panel .body {
padding: 0;
clear: left;
}
div.admin-panel {
margin: 0 0 20px;
padding: 9px;
background: #f8f8f8;
border: 1px solid #ccc;
}
div.admin-panel h3 {
font-size: 0.923em;
text-transform: uppercase;
margin: 0;
padding-bottom: 9px;
}
/* admin/appearance */
#system-themes-page h2 {
font-weight: normal;
text-transform: uppercase;
}
.theme-selector h3 {
font-weight: normal;
}
.theme-default h3 {
font-weight: bold;
}
/* Update options. */
div.admin-options {
background: #f8f8f8;
line-height: 30px;
height: 30px;
padding: 9px;
border: 1px solid #ccc;
margin: 0 0 10px;
}
div.admin-options label {
text-transform: uppercase;
font: 0.846em/1.875em Lucida Grande, Lucida Sans Unicode, sans-serif;
}
div.admin-options label,
div.admin-options div.form-item {
margin-right: 10px; /* LTR */
float: left; /* LTR */
}
[dir="rtl"] div.admin-options label,
[dir="rtl"] div.admin-options div.form-item {
margin-left: 10px;
margin-right: 0;
float: right;
}
div.admin-options div.form-item {
padding: 0;
border: 0;
}
/* Update status */
.versions table.version {
border: none;
}
/* Maintenance theming */
body.in-maintenance #sidebar-first {
float: left; /* LTR */
max-width: 200px;
width: 25%;
}
[dir="rtl"] body.in-maintenance #sidebar-first {
float: right;
}
body.in-maintenance #content {
float: right; /* LTR */
clear: none;
width: 72%;
}
[dir="rtl"] body.in-maintenance #content {
float: left;
}
body.in-maintenance #page {
max-width: 770px;
margin: 0 auto;
padding-top: 2em;
width: 90%;
}
body.in-maintenance .branding__inner {
max-width: 770px;
margin: 0 auto;
float: none;
width: 90%;
}
body.in-maintenance .form-radios .form-type-radio {
padding: 2px 0;
}
body.in-maintenance div.form-item:after {
content: "";
display: none;
clear: none;
}
body.in-maintenance .form-submit {
display: block;
}
body.in-maintenance #logo {
margin-bottom: 1.5em;
max-width: 180px;
}
@media all and (max-width: 768px) {
body.in-maintenance #sidebar-first,
body.in-maintenance #content {
float: none;
max-width: none;
width: auto;
}
}
.task-list {
margin-left: 0; /* LTR */
list-style-type: none;
list-style-image: none;
}
[dir="rtl"] .task-list {
margin-right: 0;
}
.task-list li {
padding: 0.5em 1em 0.5em 20px; /* LTR */
color: #adadad;
}
[dir="rtl"] .task-list li {
padding: 0.5em 20px 0.5em 1em;
}
.task-list li.active {
background: transparent url(images/task-item.png) no-repeat 3px 50%; /* LTR */
padding: 0.5em 1em 0.5em 20px; /* LTR */
color: #000;
}
[dir="rtl"] .task-list li.active {
background: transparent url(images/task-item-rtl.png) no-repeat right 50%;
padding: 0.5em 20px 0.5em 1em;
}
.task-list li.done {
background: transparent url(images/task-check.png) no-repeat 0 50%;
color: green;
}
/* Field UI */
#field-display-overview input.field-plugin-settings-edit {
margin: 0;
padding: 1px 8px;
}
#field-display-overview tr.field-plugin-settings-changed {
background: #ffffbb;
}
#field-display-overview tr.drag {
background: #ffee77;
}
#field-display-overview tr.field-plugin-settings-editing {
background: #d5e9f2;
}
#field-display-overview .field-plugin-settings-edit-form .form-item {
margin: 10px 0;
}
#field-display-overview .field-plugin-settings-edit-form .form-submit {
margin-bottom: 0;
}
/* Modules page */
#system-modules fieldset {
border: 0;
border-top: 1px solid #ccc;
}
#system-modules .fieldset-wrapper {
padding: 0;
}
#system-modules table,
#locale-translation-status-form table {
border: 0;
}
#system-modules tr.even,
#system-modules tr.odd,
#locale-translation-status-form tr.even,
#locale-translation-status-form tr.odd {
background: #f3f4ee;
border: 0;
border-bottom: 10px solid #fff;
}
#system-modules tr td:last-child,
#locale-translation-status-form tr td:last-child {
border: 0;
}
#system-modules table th,
#locale-translation-status-form table th {
border: 0;
border-bottom: 10px solid #fff;
}
#system-modules .sticky-header th,
#locale-translation-status-form .sticky-header th {
border: 0;
}
/* Recent content block */
#block-node-recent table,
#block-node-recent tr {
border: none;
}
#block-node-recent .more-link {
padding: 0 5px 5px 0; /* LTR */
}
[dir="rtl"] #block-node-recent .more-link {
padding: 0 0 5px 5px;
}
/* Dropbutton */
.js .dropbutton-widget {
background-color: #fff;
background-image: -moz-linear-gradient(-90deg, rgba(255, 255, 255, 0), #e7e7e7);
background-image: -o-linear-gradient(-90deg, rgba(255, 255, 255, 0), #e7e7e7);
background-image: -webkit-linear-gradient(-90deg, rgba(255, 255, 255, 0), #e7e7e7);
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0), #e7e7e7);
border-radius: 5px;
}
.js .dropbutton-widget:hover {
background-color: #f0f0f0;
border-color: #b8b8b8;
}
.js .dropbutton-multiple.open .dropbutton-widget:hover {
background-color: #fff;
}
.dropbutton-content li:first-child > * {
text-overflow: ellipsis;
}
.dropbutton-multiple.open .dropbutton-content li:first-child > * {
text-overflow: clip;
}
.js .form-actions .dropbutton-widget:focus,
.js .form-actions .dropbutton-widget:hover {
background-color: #73b3dd;
border: 1px solid #6ea3bf;
border-bottom-color: #4680a0;
}
.js .form-actions .dropbutton-widget:active {
background-color: #3981b1;
border: 1px solid #36647c;
border-bottom-color: #284657;
}
.js .form-actions .dropbutton-multiple.open .dropbutton-widget:hover {
background-color: #9dcae7;
}
.js .form-actions .dropbutton-multiple.open .dropbutton-action:hover {
background-color: #73b3dd;
}
/**
* Views styling
*/
/* @group Forms */
/**
* Seven positions the summary absolutely, but does not have a way to ignore
* details without a summary so we make one up.
*
* @todo Neither a fieldset without legend nor a details without summary is
* valid HTML markup in any way. Refactor Views UI to not produce such invalid
* markup.
*/
details.fieldset-no-legend {
padding-top: 0;
}
/**
* Being extra safe here and scoping this to the add view wizard form (where
* a layout problem occurs for the Display format details if we don't fix its
* padding), but it's probably safe to just let it apply everywhere.
*/
#views-ui-add-form details details .details-wrapper {
padding-left: 0;
padding-right: 0;
}
.views-display-tab details.box-padding .details-wrapper {
padding: 0;
}
.views-admin .form-item label.option,
#views-ui-preview-form .form-item label.option {
font-size: 1em;
}
.views-admin input.form-submit,
.views-ui-dialog input.form-submit,
.views-admin a.button,
.views-ui-dialog a.button {
margin-bottom: 0;
margin-right: 0; /* LTR */
margin-top: 0;
}
[dir="rtl"] .views-admin input.form-submit,
[dir="rtl"] .views-ui-dialog input.form-submit,
[dir="rtl"] .views-admin a.button,
[dir="rtl"] .views-ui-dialog a.button {
margin-left: 0;
}
/* Override for a button on the edit display screen */
#edit-displays-preview-controls .form-submit {
display: inline-block;
margin-right: 1em;
}
.form-radios > .form-item {
margin-top: 3px;
}
/* @group Dependent options
*/
/* This is necessary to supercede the Seven .form-item
* reset declaration that sets the margin to zero.
*/
.form-item-options-expose-required,
.form-item-options-expose-label,
.form-item-options-expose-description {
margin-left: 1.5em;
}
.views-admin-dependent .form-item .form-item,
.views-admin-dependent .form-type-checkboxes,
.views-admin-dependent .form-type-radios,
.views-admin-dependent .form-item .form-item,
.form-item-options-expose-required,
.form-item-options-expose-label,
.form-item-options-expose-description {
margin-bottom: 6px;
margin-top: 6px;
}
.views-admin-dependent .form-type-radio,
.views-admin-dependent .form-radios .form-item {
margin-bottom: 2px;
margin-top: 2px;
}
/* @end */
/* @group Lists */
.views-admin ul.secondary,
.views-admin .item-list ul {
margin: 0;
padding: 0;
}
.views-displays ul.secondary li a,
.views-displays ul.secondary li.active a,
.views-displays ul.secondary li.active a.active {
padding: 2px 7px 3px;
}
.views-displays ul.secondary li a {
color: #0074bd;
}
.views-displays ul.secondary li.active a,
.views-displays ul.secondary li.active a.active {
border: 1px solid transparent;
}
.views-admin .links li {
padding-right: 0; /* LTR */
}
[dir="rtl"] .views-admin .links li {
padding-left: 0;
}
.views-admin .button .links li {
padding-right: 12px; /* LTR */
}
[dir="rtl"] .views-admin .button .links li {
padding-left: 12px;
}
.views-display-top ul.secondary {
background-color: transparent;
float: left
}
.views-display-top .secondary .action-list li {
float: none;
margin: 0;
}
/* @end */
/* @group Tables */
.views-ui-rearrange-filter-form table td,
.views-ui-rearrange-filter-form table th {
vertical-align: top;
}
/* @end */
/* @group Attachment details */
#edit-display-settings-title {
color: #008BCB;
}
/* @end */
/* @group Attachment details tabs
*
* The tabs that switch between sections
*/
.views-displays .secondary {
text-align: left; /* LTR */
}
[dir="rtl"] .views-displays .secondary {
text-align: right;
}
.views-admin .icon.add {
background-position: center 3px;
}
.views-displays .secondary a:hover > .icon.add {
background-position: center -25px;
}
.views-displays .secondary .open > a {
border-radius: 7px 7px 0 0;
}
.views-displays .secondary .open > a:hover {
background-color: #f1f1f1;
color: #008BCB;
}
.views-displays .secondary .action-list li:first-child {
border-radius: 0 7px 0 0;
}
.views-displays .secondary .action-list li:last-child {
border-radius: 0 0 7px 7px;
}
.views-displays .secondary .action-list input.form-submit {
color: #008bcb;
}
/* @end */
/* @group Attachment buckets
*
* These are the individual "buckets," or boxes, inside the display settings area
*/
.views-ui-display-tab-bucket h3 {
font-size: 12px;
text-transform: uppercase;
}
.views-ui-display-tab-bucket .links {
padding: 2px 6px 4px;
}
.views-ui-display-tab-bucket .links li + li {
margin-left: 3px;
}
/* @end */
/* @group Rearrange filter criteria */
#views-ui-rearrange-filter-form .action-links {
margin: 0;
padding: 0;
}
#views-ui-rearrange-filter-form table {
border: medium none;
}
#views-ui-rearrange-filter-form [id^="views-row"] {
border: medium none;
}
#views-ui-rearrange-filter-form tr td:last-child {
border-right: medium none;
}
#views-ui-rearrange-filter-form .filter-group-operator-row {
border-left: 1px solid transparent !important;
border-right: 1px solid transparent !important;
}
#views-ui-rearrange-filter-form tr.drag td {
background-color: #FFEE77 !important;
}
#views-ui-rearrange-filter-form tr.drag-previous td {
background-color: #FFFFBB !important;
}
/* @end */
/* @group Live preview elements */
.views-query-info pre {
margin-bottom: 0;
margin-top: 0;
}
/* @group Query info table */
.views-query-info table {
border-radius: 7px;
-webkit-border-horizontal-spacing: 1px;
-webkit-border-vertical-spacing: 1px;
}
.views-query-info table tr td:last-child {
/* Fixes a Seven style that bleeds down into this table unnecessarily */
border-right: 0 none;
}
/* @end */
/* @end */
/* @group Add view */
.form-item-page-create,
.form-item-block-create {
margin-top: 13px;
}
/* @end */
/* @group Modal dialog box
*
* The contents of the popup dialog on the views edit form.
*/
.filterable-option .form-item.form-type-checkbox {
/* This selector is aggressive because Seven's reset for .form-items is aggressive. */
padding-bottom: 4px;
padding-left: 4px;
padding-top: 4px;
}
/* @end */
/**
* Entity meta settings.
*/
.entity-meta {
background-color: #ececec;
border-bottom: 0;
border-left: 1px solid #bfbfbf;
border-right: 1px solid #bfbfbf;
border-top: 0;
box-shadow: inset 0 0 5px rgba(0, 0, 0, .15);
margin-top: 0;
padding-top: 0;
}
.entity-meta-header,
.entity-meta details {
background-color: #f7f7f7;
border-top: 1px solid #bfbfbf;
border-bottom: 1px solid #bfbfbf;
}
.entity-meta-header {
padding: 1em 1.5em;
}
.entity-meta-header .form-item {
margin: .25em 0;
}
.entity-meta-header .published {
font-size: 1.231em;
font-weight: bold;
text-shadow: 0 1px 0 #fff;
}
.entity-meta-header .changed {
font-style: italic; /* As-designed, but really: why is this italic? */
}
.entity-meta details {
border-left: 0;
border-right: 0;
border-top: 1px solid #ffffff;
margin: 0;
}
.entity-meta details[open] {
background-color: transparent;
background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, .125), transparent 4px);
background-image: -moz-linear-gradient(top, rgba(0, 0, 0, .125), transparent 4px);
background-image: -o-linear-gradient(top, rgba(0, 0, 0, .125), transparent 4px);
background-image: linear-gradient(to bottom, rgba(0, 0, 0, .125), transparent 4px);
border-top-width: 0;
padding-top: 1px;
}
.entity-meta details[open] + [open] {
background-image: none;
border-top-width: 1px;
padding-top: 0;
}
.entity-meta details > .details-wrapper {
padding-top: 0;
}
.entity-meta details > summary {
padding: 0.85em 1.25em;
text-shadow: 0 1px 0 white;
}
.entity-meta details .summary {
display: none; /* Hide JS summaries. @todo Rethink summaries. */
}
/**
* Widescreen
*
* Both of the following media queries must *exactly* match what is in
* node.module.css. This is rather crazy.
*
* @todo Figure out how to reduce media query duplication across files
* and modules. Layout styles only allowed in themes?
*/
@media
screen and (min-width: 780px),
(orientation: landscape) and (min-device-height: 780px) {
[class*="page-node-add-"] #console,
.page-node-edit #console {
margin: 0 2em;
}
[class*="page-node-add-"] .messages,
.page-node-edit .messages {
margin-top: 1em;
margin-bottom: 1em;
}
}
@media
screen and (max-width: 1020px),
(orientation: landscape) and (max-device-height: 1020px) {
.toolbar-vertical .block-list-secondary,
.toolbar-vertical .layout-region-node-secondary {
margin-bottom: 0;
padding-bottom: 0;
display: block;
}
.toolbar-vertical .layout-node-form:after {
display: none;
}
}
/**
* Node form dropbuttons.
*/
.form-actions .dropbutton-wrapper li a,
.form-actions .dropbutton-wrapper input {
padding: 5px 17px 6px 17px;
margin-bottom: 0em;
border: medium;
border-radius: 0;
background: none;
}
.form-actions .dropbutton-wrapper input:hover {
background: none;
border: none;
}
/* Delete button */
.form-actions .button-danger {
color: #c72100;
background: none;
border: none;
float: right;
margin-right: 0;
margin-left: 0;
padding-right: 0;
padding-left: 0;
}
.form-actions .button-danger:hover,
.form-actions .button-danger:focus {
color: #ff2a00;
background: none;
border: none;
text-decoration: underline;
}
.form-actions .button-danger:active {
color: #ff2a00;
background: none;
border: none;
text-decoration: underline;
}
/**
* Form edit action theming
*/
.js .form-actions .dropbutton-widget {
background-color: #50a0e9;
background-image: -moz-linear-gradient(-90deg, #50a0e9, #4481dc);
background-image: -o-linear-gradient(-90deg, #50a0e9, #4481dc);
background-image: -webkit-linear-gradient(-90deg, #50a0e9, #4481dc);
background-image: linear-gradient(180deg, #50a0e9, #4481dc);
border-radius: 3px;
border: 1px solid #3974ae;
}
.js .form-actions .dropbutton-widget .dropbutton li {
border-top: 1px solid rgba(255, 255, 255, 0.5);
border-top-left-radius: 3px;
}
.js .form-actions .dropbutton-widget .dropbutton .dropbutton-toggle {
border-top-left-radius: 0px;
border-top-right-radius: 3px;
top: 1px;
}
.js .form-actions .dropbutton-widget .dropbutton .secondary-action {
border-top: 1px solid rgba(255, 255, 255, 0.3);
border-top-left-radius: 0px;
}
.js .form-actions .dropbutton-widget .button {
color: #ffffff;
text-shadow: 1px 1px 1px rgba(31, 83, 131, 0.8);
}
.js .form-actions .dropbutton-multiple.open .dropbutton-action:hover {
background-color: #50a0e9;
}