Mercurial > hg > isophonics-drupal-site
view core/modules/settings_tray/css/settings_tray.theme.css @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children | 1fec387a4317 |
line wrap: on
line source
/** * @file * Visual styling for Settings Tray module. */ /* @todo remove the @imports when we find a better way to load these styles last. * https://www.drupal.org/node/1945262. */ /* Style the edit mode toolbar and tabs. */ #toolbar-bar.js-settings-tray-edit-mode { background-image: linear-gradient(to bottom,#0c97ed,#1f86c7); } .js-settings-tray-edit-mode .toolbar-item:not(.toolbar-icon-edit) { color: #999; } .js-settings-tray-edit-mode .toolbar-item:not(.toolbar-icon-edit) .is-active { color: #333; } /* Style both the edit and editing states of the contextual links toggle tab. */ .toolbar-tab > .toolbar-icon.toolbar-icon-edit.toolbar-item, .toolbar-tab > .toolbar-icon.toolbar-icon-edit.toolbar-item.is-active, .toolbar-tab > .toolbar-icon.toolbar-icon-edit.toolbar-item:focus { background-color: #50a0e9; background-image: linear-gradient(to bottom, #007bc6, #0071b8); color: #ddd; text-shadow: none; font-weight: bold; outline: none; } /* Make the hover of the inactive state the same as the active state. */ .toolbar-tab > .toolbar-icon.toolbar-icon-edit.toolbar-item:hover, .toolbar-tab > .toolbar-icon.toolbar-icon-edit.toolbar-item.is-active { background-image: linear-gradient(to bottom, #0c97ed, #1f86c7); color: #fff; } /* Make the hover of the active state the same as the inactive state. */ .toolbar-tab > .toolbar-icon.toolbar-icon-edit.toolbar-item.is-active:hover { background-color: #2369a6; background-image: linear-gradient(to bottom, #007bc6, #0071b8); color: #fff; } /* Make the inactive icon grey. */ .toolbar-tab > .toolbar-icon.toolbar-icon-edit.toolbar-item:before { background-image: url(../../../misc/icons/bebebe/pencil.svg); } /* Make the active icon white. */ .toolbar-tab > .toolbar-icon.toolbar-icon-edit.toolbar-item.is-active:before { background-image: url(../../../misc/icons/ffffff/pencil.svg); } .toolbar-tab > .toolbar-icon.toolbar-icon-edit.toolbar-item:hover:before { background-image: url(../../../misc/icons/ffffff/pencil.svg); } .toolbar-tab > .toolbar-icon.toolbar-icon-edit.toolbar-item:hover > .toolbar-icon-edit:before { background-image: url(../../../misc/icons/ffffff/pencil.svg); } .toolbar-tab > .button.toolbar-icon.toolbar-icon.toolbar-icon-edit:before { background-image: url(../../../misc/icons/ffffff/pencil.svg); } /* Style the editables while in edit mode. */ .dialog-off-canvas__main-canvas.js-settings-tray-edit-mode .settings-tray-editable { outline: 1px dashed rgba(0,0,0,0.5); box-shadow: 0 0 0 1px rgba(255,255,255,0.7); } .dialog-off-canvas__main-canvas.js-settings-tray-edit-mode .settings-tray-editable:hover, .dialog-off-canvas__main-canvas.js-settings-tray-edit-mode .settings-tray-editable.settings-tray-active-editable { background-color: rgba(0,0,0,0.2); }