X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/181e90a0934d0057202b92010a96139df934aaf1..74fec3cd8284eae4829dad2c287588d52c621c4b:/apps/workbench/app/assets/stylesheets/application.css.scss diff --git a/apps/workbench/app/assets/stylesheets/application.css.scss b/apps/workbench/app/assets/stylesheets/application.css.scss index 51d4702485..1f21c39729 100644 --- a/apps/workbench/app/assets/stylesheets/application.css.scss +++ b/apps/workbench/app/assets/stylesheets/application.css.scss @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + /* * This is a manifest file that'll be compiled into application.css, which will include all the files * listed below. @@ -9,12 +13,15 @@ * compiled file, but it's generally better to create a new file per style scope. * *= require_self - *= require bootstrap *= require bootstrap3-editable/bootstrap-editable *= require morris + *= require awesomplete *= require_tree . */ +@import "bootstrap-sprockets"; +@import "bootstrap"; + .contain-align-left { text-align: left; } @@ -93,6 +100,16 @@ form.small-form-margin { .nowrap { white-space: nowrap; } +input.select-on-focus { + font-family: monospace; + background: inherit; + border: thin #ccc solid; + border-radius: .2em; + padding: .15em .5em; +} +input.select-on-focus:focus { + border-color: #9bf; +} /* top nav */ $top-nav-bg: #3c163d; @@ -189,6 +206,10 @@ li.notification { padding: 10px; } +td.trash-project-msg { + white-space: normal; +} + // See HeaderRowFixer in application.js table.table-fixed-header-row { width: 100%; @@ -204,6 +225,15 @@ table.table-fixed-header-row tbody { top:1.5em; } +.dropdown-menu { + max-height: 30em; + overflow-y: auto; +} + +.dropdown-menu a { + cursor: pointer; +} + .row-fill-height, .row-fill-height>div[class*='col-'] { display: flex; } @@ -272,6 +302,54 @@ span.editable-textile { display: none; } +/* Hide Angular content until Angular is ready */ [ng\:cloak], [ng-cloak], .ng-cloak { display: none !important; } + +/* tabs */ +ul.nav.nav-tabs { + font-size: 90% +} + +.hover-dropdown:hover .dropdown-menu { + display: block; +} + +.arv-description-as-subtitle .editable-inline, +.arv-description-as-subtitle .editable-inline .form-group, +.arv-description-as-subtitle .editable-inline .form-group .editable-input, +.arv-description-as-subtitle .editable-inline .form-group .editable-input textarea, +{ + width: 98%!important; +} + +/* Needed for awesomplete to play nice with bootstrap */ +div.awesomplete { + display: block; +} +/* Makes awesomplete listings to be scrollable */ +.awesomplete > ul { + max-height: 410px; + overflow-y: auto; +} + +.dropdown-menu > li > form > button { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.428571429; + color: #333333; + white-space: nowrap; + cursor: pointer; + text-decoration: none; + background: transparent; + border-style: none; +} + +.dropdown-menu > li > form > button:hover { + text-decoration: none; + color: #262626; + background-color: #f5f5f5; +}