123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321 |
- /**
- * Views styling
- */
- /* @group Forms */
- /**
- * Mediteran 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 input.form-submit,
- .views-ui-dialog input.form-submit,
- .views-admin a.button,
- .views-ui-dialog a.button {
- margin-bottom: 0;
- }
- [dir="rtl"] .views-admin input.form-submit:first-child,
- [dir="rtl"] .views-ui-dialog input.form-submit:first-child,
- [dir="rtl"] .views-admin a.button:first-child,
- [dir="rtl"] .views-ui-dialog a.button:first-child {
- margin-right: 0;
- }
- .form-radios > .form-item {
- margin-top: 5px;
- margin-bottom: 0;
- }
- .form-item-options-expose-required,
- .form-item-options-expose-label,
- .form-item-options-expose-description {
- margin-left: 0;
- }
- .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;
- }
- /* @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.is-active a,
- .views-displays ul.secondary li.is-active a.is-active {
- padding: 6px 16px;
- line-height: 14px;
- font-size: 12px;
- font-weight: 700;
- text-transform: uppercase;
- }
- .views-displays ul.secondary li a {
- color: #0074bd;
- }
- .views-displays ul.secondary li a:focus {
- text-decoration: none;
- }
- .views-displays ul.secondary li.is-active a,
- .views-displays ul.secondary li.is-active a.is-active {
- border: 1px solid #0074bd;
- }
- .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; /* LTR */
- }
- [dir="rtl"] .views-display-top ul.secondary {
- float: right;
- }
- .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;
- border-bottom: 1px solid #f3f3f3;
- }
- /* @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 2px;
- }
- .views-displays .secondary a:hover > .icon.add {
- background-position: center 2px;
- }
- .views-displays .secondary .open > a {
- border-radius: 0;
- }
- .views-displays .secondary .open > a:hover,
- .views-displays .secondary .open > a:focus {
- background-color: white;
- }
- /* @end */
- /* @group Attachment buckets
- *
- * These are the individual "buckets," or boxes, inside the display settings area
- */
- .views-ui-display-tab-bucket h3 {
- text-transform: uppercase;
- }
- .views-ui-display-tab-bucket .links {
- padding: 2px 6px 4px;
- }
- .views-ui-display-tab-bucket .links li + li {
- margin-left: 3px; /* LTR */
- }
- [dir="rtl"] .views-ui-display-tab-bucket .links li + li {
- margin-left: 0;
- margin-right: 3px;
- }
- /* @end */
- /* @group Rearrange filter criteria */
- .views-ui-rearrange-filter-form .action-links {
- float: left;
- margin: 0 0 1em;
- padding: 0;
- }
- .views-ui-rearrange-filter-form .tabledrag-toggle-weight-wrapper {
- float: right;
- margin-bottom: 1em;
- }
- .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; /* LTR */
- }
- [dir="rtl"] .views-ui-rearrange-filter-form tr td:last-child {
- border-left: medium none;
- border-right: initial;
- }
- .views-ui-rearrange-filter-form .filter-group-operator-row {
- border-left: 1px solid transparent;
- border-right: 1px solid transparent;
- }
- .views-ui-rearrange-filter-form tr.drag td {
- background-color: #fe7;
- }
- .views-ui-rearrange-filter-form tr.drag-previous td {
- background-color: #ffb;
- }
- /* @end */
- /* @group Live preview elements */
- .views-query-info pre {
- margin-bottom: 0;
- margin-top: 0;
- }
- /* @group Query info table */
- .views-query-info table {
- -webkit-border-horizontal-spacing: 1px;
- -webkit-border-vertical-spacing: 1px;
- }
- .views-query-info table tr td:last-child {
- /* Fixes a Mediteran style that bleeds down into this table unnecessarily */
- border-right: 0 none; /* LTR */
- }
- [dir="rtl"] .views-query-info table tr td:last-child {
- border-left: 0 none;
- border-right: initial;
- }
- /* @end */
- /* @group Add view */
- .form-item-page-create,
- .form-item-block-create {
- margin-top: 0px;
- }
- /* @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 Mediteran's reset for .form-items is aggressive. */
- padding-bottom: 4px;
- padding-left: 4px; /* LTR */
- padding-top: 4px;
- }
- [dir="rtl"] .filterable-option .form-item.form-type-checkbox {
- padding-left: 8px;
- padding-right: 4px;
- }
- /* @end */
- .view-filters form {
- display: flex;
- }
- .view-filters .form--inline .form-item {
- width: 100%;
- }
- .view-filters .form--inline .form-item-permission .form-select {
- width: 100%;
- }
- @media screen and (min-width: 640px) {
- .view-filters .form--inline .form-item {
- width: 280px;
- }
- .view-filters .form--inline .form-item-langcode {
- width: auto;
- }
- }
|