Same filename in this branch
Same filename and directory in other branches
The .admin.css file is intended to only contain positioning and size declarations. For example: display, position, float, clear, and overflow.
File
core/modules/views_ui/css/views_ui.admin.cssView source
- /**
- * @file
- * The .admin.css file is intended to only contain positioning and size
- * declarations. For example: display, position, float, clear, and overflow.
- */
-
- .views-admin ul,
- .views-admin menu,
- .views-admin dir {
- padding: 0;
- }
- .views-admin pre {
- margin-top: 0;
- margin-bottom: 0;
- white-space: pre-wrap;
- }
- .views-left-25 {
- float: left; /* LTR */
- width: 25%;
- }
- [dir="rtl"] .views-left-25 {
- float: right;
- }
- .views-left-30 {
- float: left; /* LTR */
- width: 30%;
- }
- [dir="rtl"] .views-left-30 {
- float: right;
- }
- .views-left-40 {
- float: left; /* LTR */
- width: 40%;
- }
- [dir="rtl"] .views-left-40 {
- float: right;
- }
- .views-left-50 {
- float: left; /* LTR */
- width: 50%;
- }
- [dir="rtl"] .views-left-50 {
- float: right;
- }
- .views-left-75 {
- float: left; /* LTR */
- width: 75%;
- }
- [dir="rtl"] .views-left-75 {
- float: right;
- }
- .views-right-50 {
- float: right; /* LTR */
- width: 50%;
- }
- [dir="rtl"] .views-right-50 {
- float: left;
- }
- .views-right-60 {
- float: right; /* LTR */
- width: 60%;
- }
- [dir="rtl"] .views-right-60 {
- float: left;
- }
- .views-right-70 {
- float: right; /* LTR */
- width: 70%;
- }
- [dir="rtl"] .views-right-70 {
- float: left;
- }
- .views-group-box .form-item {
- margin-right: 3px;
- margin-left: 3px;
- }
-
- /*
- * The attachment details section, its tabs for each section and the buttons
- * to add a new section
- */
- .views-displays {
- clear: both;
- }
-
- /* The tabs that switch between sections */
- .views-displays .tabs {
- overflow: visible;
- margin: 0;
- padding: 0;
- border-bottom: 0 none;
- }
- .views-displays .tabs > li {
- float: left; /* LTR */
- padding: 0;
- border-right: 0 none; /* LTR */
- }
- [dir="rtl"] .views-displays .tabs > li {
- float: right;
- border-right: 1px solid #bfbfbf;
- border-left: 0 none;
- }
- .views-displays .tabs .open > a {
- position: relative;
- z-index: 51;
- }
- .views-displays .tabs .views-display-deleted-link {
- text-decoration: line-through;
- }
- .views-display-deleted > details > summary,
- .views-display-deleted .details-wrapper > .views-ui-display-tab-bucket > *,
- .views-display-deleted .views-display-columns {
- opacity: 0.25;
- }
- .views-display-disabled > details > summary,
- .views-display-disabled .details-wrapper > .views-ui-display-tab-bucket > *,
- .views-display-disabled .views-display-columns {
- opacity: 0.5;
- }
- .views-display-tab .details-wrapper > .views-ui-display-tab-bucket .actions {
- opacity: 1;
- }
- .views-displays .tabs .add {
- position: relative;
- }
- .views-displays .tabs .action-list {
- position: absolute;
- z-index: 50;
- top: 23px;
- left: 0; /* LTR */
- margin: 0;
- }
- [dir="rtl"] .views-displays .tabs .action-list {
- right: 0;
- left: auto;
- }
- .views-displays .tabs .action-list li {
- display: block;
- }
- .views-display-columns .details-wrapper {
- padding: 0;
- }
- .views-display-column {
- box-sizing: border-box;
- }
- .views-display-columns > * {
- margin-bottom: 2em;
- }
-
- @media screen and (min-width: 45em) { /* 720px */
- .views-display-columns > * {
- float: left; /* LTR */
- width: 32%;
- margin-bottom: 0;
- margin-left: 2%; /* LTR */
- }
- [dir="rtl"] .views-display-columns > * {
- float: right;
- margin-right: 2%;
- margin-left: 0;
- }
- .views-display-columns > *:first-child {
- margin-left: 0; /* LTR */
- }
- [dir="rtl"] .views-display-columns > *:first-child {
- margin-right: 0;
- }
- }
-
- .views-ui-dialog .scroll {
- overflow: auto;
- padding: 1em;
- }
- .views-filterable-options-controls {
- display: none;
- }
- .views-ui-dialog .views-filterable-options-controls {
- display: inline;
- }
-
- /* Don't let the messages overwhelm the modal */
- .views-ui-dialog .views-messages {
- overflow: auto;
- max-height: 200px;
- }
- .views-display-setting .label,
- .views-display-setting .views-ajax-link {
- float: left; /* LTR */
- }
- [dir="rtl"] .views-display-setting .label,
- [dir="rtl"] .views-display-setting .views-ajax-link {
- float: right;
- }
- .form-item-options-value-all {
- display: none;
- }
- .js-only {
- display: none;
- }
- html.js .js-only {
- display: inherit;
- }
- html.js span.js-only {
- display: inline;
- }
- .js .views-edit-view .dropbutton-wrapper {
- width: auto;
- }
-
- /* JS moves Views action buttons under a secondary tabs container, which causes
- a large layout shift. We mitigate this by using animations to temporarily hide
- the buttons, but they will appear after a set amount of time just in case the JS
- is loaded but does not properly run. */
- @media (scripting: enabled) {
- .views-tabs__action-list-button:not(.views-tabs--secondary *) {
- animation-name: appear;
- animation-duration: 0.1s;
- /* Buttons will be hidden for the amount of time in the animation-delay if
- not moved. Note this is the approximate time to download the views
- aggregate CSS with slow 3G. */
- animation-delay: 5s;
- animation-iteration-count: 1;
- animation-fill-mode: backwards;
- }
- }
-
- @keyframes appear {
- from {
- display: none;
- }
-
- to {
- display: unset;
- }
- }