1 /* --------------------------------------------------------------------------
2 * Simple default navbar style adjustements to apply the Evergreen color.
3 * TODO: style other components to match EG color scheme
5 #top-navbar.navbar-default {
6 background: -webkit-linear-gradient(#00593d, #007a54);
7 background-color: #007a54;
10 #top-navbar.navbar-default .navbar-nav>li>a {
13 #top-navbar.navbar-default .navbar-nav>li>a:hover {
16 #top-navbar.navbar-default .navbar-nav > .open > a,
17 #top-navbar.navbar-default .navbar-nav > .open > a:focus,
18 #top-navbar.navbar-default .navbar-nav > .open > a:hover {
19 background-color: #7a7a7a;
21 #top-navbar.navbar-default .navbar-nav>.dropdown>a .caret {
22 border-top-color: #fff;
23 border-bottom-color: #fff;
25 #top-navbar.navbar-default .navbar-nav>.dropdown>a:hover .caret {
26 border-top-color: #ddd;
27 border-bottom-color: #ddd;
30 /* Hatch / WebSockets / Etc. connectivity status indicator */
32 color: rgb(92, 184, 92); /* success */
35 /* --------------------------------------------------------------------------
36 * Structural modifications
39 #top-content-container {
40 /* allow the primary container to occupy most of the page,
41 * but leave some narrow gutters along the side, much
42 * narrower than the default Bootstrapp container gutters.
49 /* --------------------------------------------------------------------------
50 * Temporaray local CSS required to make angular-ui-bootstrap
51 * version 0.6.0 look right with Bootstrap CSS 3.0
53 .nav, .pagination, .carousel a { cursor: pointer; }
72 /* --------------------------------------------------------------------------
73 /* Form Validation CSS - http://docs.angularjs.org/guide/forms
74 * TODO: these colors are harsh and don't fit the EG color scheme
76 .form-validated input.ng-invalid.ng-dirty {
77 background-color: #FA787E;
79 .form-validated input.ng-valid.ng-dirty {
80 background-color: #78FA89;
82 .form-validated textarea.ng-invalid.ng-dirty {
83 background-color: #FA787E;
85 .form-validated textarea.ng-valid.ng-dirty {
86 background-color: #78FA89;
89 /* --------------------------------------------------------------------------
93 /* change default link color to provide adequate contrast */
100 /* no bootstrap way to directly disable a link. */
102 pointer-events: none;
104 color: #888 !important;
107 #splash-nav .panel-body div {
108 padding-bottom: 10px;
111 table.list tr.selected td { /* deprecated? */
113 background-color: #F5F5F5;
116 .pad-horiz {padding : 0px 10px 0px 10px; }
117 .pad-vert {padding : 20px 0px 10px 0px;}
118 .pad-left {padding-left: 10px;}
119 .pad-right {padding-right: 10px;}
120 .pad-right-min {padding-right: 5px;}
121 .pad-all-min {padding : 5px; }
122 .pad-all-min2 {padding : 2px; }
123 .pad-all {padding : 10px; }
125 #print-div { display: none; }
127 /* by default, give all tab panes some top padding */
128 .tab-pane { padding-top: 20px; }
130 .nav-pills-like-tabs {
131 border-bottom:1px solid #CCC;
135 /* sometimes you don't want buttons scrunched together -- add some margin */
139 /* button styling by Cory LaViska from
140 http://www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3/
146 .btn-file input[type=file] {
154 filter: alpha(opacity=0);
186 /* barcode inputs are everywhere. Let's have a consistent style. */
187 .barcode { width: 16em !important; }
189 /* bootstrap alerts are heavily padded. use this to reduce */
190 .alert-less-pad {padding: 5px;}
192 /* text displayed inside a <progressbar>, typically the max/progress values */
198 /* embedded UI iframe */
202 .eg-embed-frame iframe {
209 /* Useful for grid-like things that aren't proper grids.
210 * Mimics the grids color scheme. */
212 background-color: rgb(248, 248, 248);
215 /* Reduces the vertical space added by form-group's. Especially useful
216 * for tall modal windows.
218 .tight-vert-form .form-group {
223 /* ----------------------------------------------------------------------
225 * ---------------------------------------------------------------------- */
227 .eg-grid-primary-label {
233 /* odd/even row styling */
234 .eg-grid-content-body > div:nth-child(odd):not(.eg-grid-row-selected) {
235 background-color: rgb(248, 248, 248);
241 border: 1px solid #ccc;
244 .eg-grid-row:not(.eg-grid-header-row):not(.eg-grid-conf-row) {
245 /* TODO: remove, pretty sure this is no longer needed w/ nowrap */
249 .eg-grid-action-row {
251 /* margin should not have to be this large; something's up */
255 .eg-grid-header-row {
259 .eg-grid-header-row > .eg-grid-cell {
260 border-right: 1px solid #CCC;
263 /* vertically align header cell text by treating
264 each header cell as a vertical flex container */
266 flex-direction:column;
267 justify-content:flex-end;
271 /* avoid text flowing into adjacent cells */
273 text-overflow: ellipsis;
277 /* in config display, make cells more obvious */
278 .eg-grid-as-conf .eg-grid-row {
279 border: 1px solid #777;
281 .eg-grid-as-conf .eg-grid-cell {
282 border-right: 1px solid #777;
285 /* stock columns need fixed-width controls */
286 .eg-grid-cell-stock {
291 /* the conf header must be twice the stock flex */
292 .eg-grid-cell-conf-header {
297 .eg-grid-row-selected {
298 color: rgb(51, 51, 51);
299 background-color: rgb(201, 221, 225);
300 border-bottom: 1px solid #888;
303 /* Improve ::selection styling by only allowing selection on text
304 * content cells within the main body of the grid. Otherwise, the browser
305 * styles row background and text (all dark blue?) when shift-click or
306 * click-drag is used.
308 .eg-grid-content-body .eg-grid-row {
310 -moz-user-select: none;
311 -webkit-user-select: none;
313 .eg-grid-content-body .eg-grid-cell-content {
315 -moz-user-select: text;
316 -webkit-user-select: text;
318 .eg-grid-cell-content::-moz-selection {
319 color: rgb(51, 51, 51);
320 background: rgb(201, 221, 225);
321 border-bottom: 1px solid #888;
323 .eg-grid-cell-content::selection {
324 color: rgb(51, 51, 51);
325 background: rgb(201, 221, 225);
326 border-bottom: 1px solid #888;
329 .eg-grid-conf-cell-entry {
335 .eg-grid-conf-cell-entry:not(:first-child) {
336 border-top:1px solid #ccc;
340 background-color: #dff0d8;
341 border-color: #d6e9c6;
344 .eg-grid-conf-row:first-child {
345 /* alignment fix; account for one missing border */
349 .eg-grid-column-move-handle:hover {
353 .eg-grid-column-move-handle-active,
354 .eg-grid-column-move-handle-active:active {
355 /* similar to label-primary, sans padding */
356 background-color: rgb(66, 139, 202);
361 /* similar to label-success, sans padding */
362 background-color: rgb(92, 184, 92);
366 .eg-grid-column-resize-handle {
369 .eg-grid-column-resize-handle:hover {
373 /* for these to be useful, they would have to be applied
374 * to the dragover targets. not yet done */
375 .eg-grid-column-resize-handle-west {
378 .eg-grid-column-resize-handle-east {
382 .eg-grid-column-last-mod {
383 background-color: #78FA89;
391 /* hack to make the header columns line up with the content columns
392 when the scroll bar is visible along the right side of the content
393 columns. TODO: if this varies enough by browser, we'll need to
394 calculate the width instead. */
396 .eg-grid-scroll > .eg-grid-header-row,
397 .eg-grid-scroll > .eg-grid-conf-row {
400 .eg-grid-scroll > .eg-grid-content-body {
405 .eg-grid-column-picker {
413 /* ----------------------------------------------------------------------
415 * ---------------------------------------------------------------------- */
418 /* simple flex container for consistent-width cell-based structures */
419 .flex-container-striped > .flex-row:nth-child(odd) {
420 background-color: #f5f5f5;
422 .flex-container-bordered .flex-cell {
423 border-bottom: 1px solid #ddd;
428 .flex-row.padded div {
431 .flex-row.left-anchored > div {
436 padding: 4px; /* bootstrap default is much bigger */
439 min-height: 2.5em; /* don't let empty wells scrunch down */
440 margin-bottom: 5px; /* bootstrap default is 20px */
442 .flex-2 { /* meh, convience */
445 .flex-3 { /* meh, convience */
448 .flex-4 { /* meh, convience */
452 /* TODO: match media size to Bootstrap "md" col resizing */
453 @media all and (max-width: 800px) {
455 flex-direction: column;
458 flex-direction: column;
462 /* optional class to make 'lg' Bootstrap modals even wider */
463 @media (min-width: 768px) {
464 .eg-wide-modal .modal-lg {
469 @media all and (min-width: 800px) {
470 /* scrollable menus for full-size screens */
478 .eg-modal-progress progress {