2883: Improved pagination control a bit, added search.
[arvados.git] / apps / workbench / app / assets / stylesheets / application.css.scss
1 /*
2  * This is a manifest file that'll be compiled into application.css, which will include all the files
3  * listed below.
4  *
5  * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6  * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7  *
8  * You're free to add application-wide styles to this file and they'll appear at the top of the
9  * compiled file, but it's generally better to create a new file per style scope.
10  *
11  *= require_self
12  *= require bootstrap
13  *= require bootstrap3-editable/bootstrap-editable
14  *= require_tree .
15  */
16
17 .contain-align-left {
18     text-align: left;
19 }
20 table.topalign>tbody>tr>td {
21     vertical-align: top;
22 }
23 table.topalign>thead>tr>td {
24     vertical-align: bottom;
25 }
26 tr.cell-valign-center>td {
27     vertical-align: middle;
28 }
29 tr.cell-noborder>td,tr.cell-noborder>th {
30     border: none;
31 }
32 table.table-justforlayout>tr>td,
33 table.table-justforlayout>tr>th,
34 table.table-justforlayout>thead>tr>td,
35 table.table-justforlayout>thead>tr>th,
36 table.table-justforlayout>tbody>tr>td,
37 table.table-justforlayout>tbody>tr>th{
38     border: none;
39 }
40 table.table-justforlayout {
41     margin-bottom: 0;
42 }
43 .smaller-text {
44     font-size: .8em;
45 }
46 .deemphasize {
47     font-size: .8em;
48     color: #888;
49 }
50 .arvados-filename,
51 .arvados-uuid {
52     font-size: .8em;
53     font-family: monospace;
54 }
55 table .data-size, .table .data-size {
56     text-align: right;
57 }
58 body .editable-empty {
59     color: #999;
60 }
61 body .editable-empty:hover {
62     color: #0088cc;
63 }
64 table.arv-index tbody td.arv-object-AuthorizedKey.arv-attr-public_key {
65     overflow-x: hidden;
66     max-width: 120px;
67 }
68 table.arv-index > thead > tr > th {
69     border-top: none;
70 }
71 table.table-fixedlayout {
72     white-space: nowrap;
73     table-layout: fixed;
74 }
75 table.table-fixedlayout td {
76     overflow: hidden;
77     overflow-x: hidden;
78     text-overflow: ellipsis;
79 }
80 table.table-smallcontent td {
81     font-size: 85%;
82 }
83 form input.search-mini {
84     padding: 0 6px;
85 }
86 form.small-form-margin {
87     margin-bottom: 2px;
88 }
89 .nowrap {
90     white-space: nowrap;
91 }
92
93 /* top nav */
94 $top-nav-bg: #3c163d;
95 $top-nav-bg-bottom: #260027;
96 nav.navbar-fixed-top .navbar-brand {
97     color: #79537a;
98     letter-spacing: 0.4em;
99 }
100 nav.navbar-fixed-top {
101     background: $top-nav-bg;
102     background: linear-gradient(to bottom, $top-nav-bg 0%,$top-nav-bg-bottom 100%);
103 }
104 .navbar.breadcrumbs {
105     line-height: 50px;
106     border-radius: 0;
107     margin-bottom: 0;
108     border-right: 0;
109     border-left: 0;
110 }
111 .navbar.breadcrumbs .nav > li > a,
112 .navbar.breadcrumbs .nav > li {
113     color: #000;
114 }
115 .navbar.breadcrumbs .nav > li.nav-separator > i {
116     color: #bbb;
117 }
118 nav.navbar-fixed-top .navbar-nav.navbar-right > li.open > a,
119 nav.navbar-fixed-top .navbar-nav.navbar-right > li.open > a:focus,
120 nav.navbar-fixed-top .navbar-nav.navbar-right > li.open > a:hover {
121     background: lighten($top-nav-bg, 5%);
122 }
123 nav.navbar-fixed-top .navbar-nav.navbar-right > li > a,
124 nav.navbar-fixed-top .navbar-nav.navbar-right > li > a:focus,
125 nav.navbar-fixed-top .navbar-nav.navbar-right > li > a:hover {
126     color: #fff;
127 }
128
129 .dax {
130     max-width: 10%;
131     margin-right: 1em;
132     float: left
133 }
134
135 .smart-scroll {
136     overflow: auto;
137 }
138
139 .inline-progress-container div.progress {
140     margin-bottom: 0;
141 }
142
143 .inline-progress-container {
144     width: 100%;
145     display:inline-block;
146 }
147
148 td.add-tag-button {
149     white-space: normal;
150 }
151 td.add-tag-button .add-tag-button {
152     margin-right: 4px;
153     opacity: 0.2;
154 }
155 td.add-tag-button .add-tag-button:hover {
156     opacity: 1;
157 }
158 span.removable-tag-container {
159     line-height: 1.6;
160 }
161 .label.removable-tag a {
162     color: #fff;
163     cursor: pointer;
164 }
165
166 li.notification {
167     padding: 10px;
168 }
169
170 // See HeaderRowFixer in application.js
171 table.table-fixed-header-row {
172     width: 100%;
173     border-spacing: 0px;
174     margin:0;
175 }
176 table.table-fixed-header-row thead {
177     position:fixed;
178     background: #fff;
179 }
180 table.table-fixed-header-row tbody {
181     position:relative;
182     top:1.5em;
183 }
184
185 /* Setting the height needs to be fixed with javascript. */
186 .dropdown-menu {
187     padding-right: 20px;
188     max-height: 440px;
189     width: 400px;
190     overflow-y: auto;
191 }
192
193 .row-fill-height, .row-fill-height>div[class*='col-'] {
194     display: flex;
195 }
196 .row-fill-height>div[class*='col-']>div {
197     width: 100%;
198 }
199
200 /* Show editable popover above side-nav */
201 .editable-popup.popover {
202     z-index:1055;
203 }
204
205 /* Do not leave space for left-nav */
206 div#wrapper {
207   padding-left: 0;
208 }
209
210 .arv-description-as-subtitle {
211   padding-bottom: 1em;
212 }
213 .arv-description-in-table {
214   height: 4em;
215   overflow-x: hidden;
216   overflow-y: hidden;
217 }
218 .arv-description-in-table:hover {
219   overflow-y: auto;
220 }
221
222 .btn.btn-nodecorate {
223   border: none;
224 }
225 svg text {
226     font-size: 6pt;
227 }