X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6ba419ef43b3e06b2bc48b0204146349ab64ab5b..16f704326f44fd1e5e5e60b936c9b5895d6a6ff8:/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 710bc9227c..8822d5c0a0 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. @@ -12,6 +16,7 @@ *= require bootstrap *= require bootstrap3-editable/bootstrap-editable *= require morris + *= require awesomplete *= require_tree . */ @@ -93,6 +98,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 +204,10 @@ li.notification { padding: 10px; } +td.trash-project-msg { + white-space: normal; +} + // See HeaderRowFixer in application.js table.table-fixed-header-row { width: 100%; @@ -209,6 +228,10 @@ table.table-fixed-header-row tbody { overflow-y: auto; } +.dropdown-menu a { + cursor: pointer; +} + .row-fill-height, .row-fill-height>div[class*='col-'] { display: flex; } @@ -286,3 +309,45 @@ span.editable-textile { 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; +}