X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c16a97576716f81c721bcd0c889309cb75e3eb9a..1f48e58568dc961fd1e606c1d9bc250de8c010f7:/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 d94dc4efa4..4c8f921f47 100644 --- a/apps/workbench/app/assets/stylesheets/application.css.scss +++ b/apps/workbench/app/assets/stylesheets/application.css.scss @@ -9,12 +9,12 @@ * compiled file, but it's generally better to create a new file per style scope. * *= require_self - *= require bootstrap-editable + *= require bootstrap + *= require bootstrap3-editable/bootstrap-editable + *= require morris *= require_tree . */ -@import "bootstrap"; - .contain-align-left { text-align: left; } @@ -41,10 +41,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; } @@ -58,6 +66,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; @@ -80,36 +91,49 @@ 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; +/* top nav */ +$top-nav-bg: #3c163d; +$top-nav-bg-bottom: #260027; +nav.navbar-fixed-top .navbar-brand { + color: #79537a; + letter-spacing: 0.4em; } -/*.navbar .nav .dropdown .dropdown-menu li a { - padding: 2px 20px; -}*/ - -ul.arvados-nav { - list-style: none; - padding-left: 0em; - margin-left: 0em; +nav.navbar-fixed-top { + background: $top-nav-bg; + background: linear-gradient(to bottom, $top-nav-bg 0%,$top-nav-bg-bottom 100%); } - -ul.arvados-nav li ul { - list-style: none; - padding-left: 0; +.navbar.breadcrumbs { + line-height: 50px; + border-radius: 0; + margin-bottom: 0; + border-right: 0; + border-left: 0; } - -ul.arvados-nav li ul li { - list-style: none; - padding-left: 1em; +.navbar.breadcrumbs .nav > li > a, +.navbar.breadcrumbs .nav > li { + color: #000; +} +.navbar.breadcrumbs .nav > li.nav-separator > i { + color: #bbb; +} +.navbar.breadcrumbs .navbar-form { + margin-top: 0px; + margin-bottom: 0px; +} +.navbar.breadcrumbs .navbar-text { + margin-top: 0px; + margin-bottom: 0px; } -.badge { - background: red; +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 { @@ -120,4 +144,135 @@ ul.arvados-nav li ul li { .smart-scroll { overflow: auto; -} \ No newline at end of file + margin-bottom: -15px; +} + +.infinite-scroller .fa-warning { + color: #800; +} + +th[data-sort-order] { + cursor: pointer; +} + +.inline-progress-container div.progress { + margin-bottom: 0; +} + +.inline-progress-container { + width: 100%; + display:inline-block; +} + +td.add-tag-button { + white-space: normal; +} +td.add-tag-button .add-tag-button { + margin-right: 4px; + opacity: 0.2; +} +td.add-tag-button .add-tag-button:hover { + opacity: 1; +} +span.removable-tag-container { + line-height: 1.6; +} +.label.removable-tag a { + color: #fff; + cursor: pointer; +} + +li.notification { + padding: 10px; +} + +// See HeaderRowFixer in application.js +table.table-fixed-header-row { + width: 100%; + border-spacing: 0px; + margin:0; +} +table.table-fixed-header-row thead { + position:fixed; + background: #fff; +} +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; +} + +div.pane-content iframe { + width: 100%; + border: none; +} +span.editable-textile { + display: inline-block; +} +.text-overflow-ellipsis { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.time-label-divider { + font-size: 80%; + min-width: 1em; + padding: 0px 2px 0px 0px; +} +.task-summary-status { + font-size: 80%; +} +#page-wrapper > div > h2 { + margin-top: 0px; +} + +.compute-summary-numbers td { + font-size: 150%; +} + +.arv-log-refresh-control { + display: none; +}