X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c0c1111f322159333fdf14e3d3e8ce0c00662734..db1e389b74e37ecf4915168acdc72ea9ef624d9c:/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 6fc4522828..51c96d7fc8 100644 --- a/apps/workbench/app/assets/stylesheets/application.css.scss +++ b/apps/workbench/app/assets/stylesheets/application.css.scss @@ -9,12 +9,11 @@ * 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_tree . */ -@import "bootstrap"; - .contain-align-left { text-align: left; } @@ -41,10 +40,17 @@ table.table-justforlayout>tbody>tr>th{ table.table-justforlayout { margin-bottom: 0; } +.smaller-text { + font-size: .8em; +} .deemphasize { font-size: .8em; color: #888; } +.arvados-uuid { + font-size: .8em; + font-family: monospace; +} table .data-size, .table .data-size { text-align: right; } @@ -80,7 +86,7 @@ form.small-form-margin { white-space: nowrap; } -.navbar .nav li.nav-separator > span { +.navbar .nav li.nav-separator span { display: block; float: none; color: #bbbbbb; @@ -88,32 +94,100 @@ form.small-form-margin { 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; +.dax { + max-width: 10%; + margin-right: 1em; + float: left } -ul.arvados-nav li ul { - list-style: none; - padding-left: 0; +.smart-scroll { + overflow: auto; } -ul.arvados-nav li ul li { - list-style: none; - padding-left: 1em; +.inline-progress-container div.progress { + margin-bottom: 0; } -.badge { - background: red; +.inline-progress-container { + width: 100%; + display:inline-block; } -.dax { - max-width: 10%; - margin-right: 1em; - float: left +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; +} + +.navbar-nav.side-nav { + box-shadow: inset -1px 0 #e7e7e7; +} +.navbar-nav.side-nav > li:first-child { + margin-top: 5px; /* keep "hover" bg below top nav bottom border */ +} +.navbar-nav.side-nav > li > a { + padding-top: 10px; + padding-bottom: 10px; +} +.navbar-nav.side-nav > li.dropdown > ul.dropdown-menu > li > a { + padding-top: 5px; + padding-bottom: 5px; +} +.navbar-nav.side-nav a.active, +.navbar-nav.side-nav a:hover, +.navbar-nav.side-nav a:focus { + border-right: 1px solid #ffffff; + background: #ffffff; }