X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7024cc159936593350aaf7939d700102f6510787..549f4a1deddb41f6abbc493a660d9fb0976da91a:/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 a4163f8b3f..da958e1564 100644 --- a/apps/workbench/app/assets/stylesheets/application.css.scss +++ b/apps/workbench/app/assets/stylesheets/application.css.scss @@ -40,10 +40,18 @@ table.table-justforlayout>tbody>tr>th{ table.table-justforlayout { margin-bottom: 0; } +.smaller-text { + font-size: .8em; +} .deemphasize { font-size: .8em; color: #888; } +.arvados-filename, +.arvados-uuid { + font-size: .8em; + font-family: monospace; +} table .data-size, .table .data-size { text-align: right; } @@ -57,6 +65,9 @@ table.arv-index tbody td.arv-object-AuthorizedKey.arv-attr-public_key { overflow-x: hidden; max-width: 120px; } +table.arv-index > thead > tr > th { + border-top: none; +} table.table-fixedlayout { white-space: nowrap; table-layout: fixed; @@ -79,32 +90,40 @@ form.small-form-margin { white-space: nowrap; } -.navbar .nav li.nav-separator span { - display: block; - float: none; - color: #bbbbbb; - padding: 10px 0 10px; - text-decoration: none; - text-shadow: 0 1px 0 #ffffff; -} -/*.navbar .nav .dropdown .dropdown-menu li a { - padding: 2px 20px; -}*/ - -ul.arvados-nav { - list-style: none; - padding-left: 0em; - margin-left: 0em; +/* top nav */ +$top-nav-bg: #3c163d; +$top-nav-bg-bottom: #260027; +nav.navbar-fixed-top .navbar-brand { + color: #79537a; + letter-spacing: 0.4em; +} +nav.navbar-fixed-top { + background: $top-nav-bg; + background: linear-gradient(to bottom, $top-nav-bg 0%,$top-nav-bg-bottom 100%); +} +.navbar.breadcrumbs { + line-height: 50px; + border-radius: 0; + margin-bottom: 0; + border-right: 0; + border-left: 0; } - -ul.arvados-nav li ul { - list-style: none; - padding-left: 0; +.navbar.breadcrumbs .nav > li > a, +.navbar.breadcrumbs .nav > li { + color: #000; } - -ul.arvados-nav li ul li { - list-style: none; - padding-left: 1em; +.navbar.breadcrumbs .nav > li.nav-separator > i { + color: #bbb; +} +nav.navbar-fixed-top .navbar-nav.navbar-right > li.open > a, +nav.navbar-fixed-top .navbar-nav.navbar-right > li.open > a:focus, +nav.navbar-fixed-top .navbar-nav.navbar-right > li.open > a:hover { + background: lighten($top-nav-bg, 5%); +} +nav.navbar-fixed-top .navbar-nav.navbar-right > li > a, +nav.navbar-fixed-top .navbar-nav.navbar-right > li > a:focus, +nav.navbar-fixed-top .navbar-nav.navbar-right > li > a:hover { + color: #fff; } .dax { @@ -115,6 +134,7 @@ ul.arvados-nav li ul li { .smart-scroll { overflow: auto; + margin-bottom: -15px; } .inline-progress-container div.progress { @@ -122,38 +142,31 @@ ul.arvados-nav li ul li { } .inline-progress-container { - width: 100px; + width: 100%; display:inline-block; } +td.add-tag-button { + white-space: normal; +} td.add-tag-button .add-tag-button { - margin-top: 2px; - opacity: 0; + margin-right: 4px; + opacity: 0.2; } -td.add-tag-button:hover .add-tag-button { +td.add-tag-button .add-tag-button:hover { opacity: 1; } -.removable-tag a { +span.removable-tag-container { + line-height: 1.6; +} +.label.removable-tag a { + color: #fff; cursor: pointer; } li.notification { padding: 10px; } -.arvados-nav-container { - top: 70px; - height: calc(100% - 70px); - overflow: auto; - z-index: 2; -} - -.arvados-nav-active { - background: rgb(66, 139, 202); -} - -.arvados-nav-active a { - color: white; -} // See HeaderRowFixer in application.js table.table-fixed-header-row { @@ -169,3 +182,47 @@ table.table-fixed-header-row tbody { position:relative; top:1.5em; } + +/* Setting the height needs to be fixed with javascript. */ +.dropdown-menu { + padding-right: 20px; + max-height: 440px; + width: 400px; + overflow-y: auto; +} + +.row-fill-height, .row-fill-height>div[class*='col-'] { + display: flex; +} +.row-fill-height>div[class*='col-']>div { + width: 100%; +} + +/* Show editable popover above side-nav */ +.editable-popup.popover { + z-index:1055; +} + +/* Do not leave space for left-nav */ +div#wrapper { + padding-left: 0; +} + +.arv-description-as-subtitle { + padding-bottom: 1em; +} +.arv-description-in-table { + height: 4em; + overflow-x: hidden; + overflow-y: hidden; +} +.arv-description-in-table:hover { + overflow-y: auto; +} + +.btn.btn-nodecorate { + border: none; +} +svg text { + font-size: 6pt; +}