1 /* Create some padding at bottom of the page for breathing room */
2 body { padding-bottom: 50px; }
4 /* --------------------------------------------------------------------------
5 * Simple default navbar style adjustements to apply the Evergreen color.
6 * TODO: style other components to match EG color scheme
8 #top-navbar.navbar-default {
9 background: -webkit-linear-gradient(#00593d, #007a54);
10 background-color: #007a54;
13 #top-navbar.navbar-default .navbar-nav>li>a {
16 #top-navbar.navbar-default .navbar-nav>li>a:hover {
19 #top-navbar.navbar-default .navbar-nav > .open > a,
20 #top-navbar.navbar-default .navbar-nav > .open > a:focus,
21 #top-navbar.navbar-default .navbar-nav > .open > a:hover {
22 background-color: #7a7a7a;
24 #top-navbar.navbar-default .navbar-nav>.dropdown>a .caret {
25 border-top-color: #fff;
26 border-bottom-color: #fff;
28 #top-navbar.navbar-default .navbar-nav>.dropdown>a:hover .caret {
29 border-top-color: #ddd;
30 border-bottom-color: #ddd;
33 /* Hatch / WebSockets / Etc. connectivity status indicator */
35 color: rgb(92, 184, 92); /* success */
39 color: #000; /* note: this is not comprehensive; changing Bootstrap's
40 default text color from #333 to #000 would require
44 /* --------------------------------------------------------------------------
45 * Structural modifications
48 #top-content-container {
49 /* allow the primary container to occupy most of the page,
50 * but leave some narrow gutters along the side, much
51 * narrower than the default Bootstrapp container gutters.
58 /* --------------------------------------------------------------------------
59 * Temporaray local CSS required to make angular-ui-bootstrap
60 * version 0.6.0 look right with Bootstrap CSS 3.0
62 .nav, .pagination, .carousel a { cursor: pointer; }
81 /* --------------------------------------------------------------------------
82 /* Form Validation CSS - http://docs.angularjs.org/guide/forms
83 * TODO: these colors are harsh and don't fit the EG color scheme
85 .form-validated input.ng-invalid.ng-dirty {
86 background-color: #FA787E;
88 .form-validated input.ng-valid.ng-dirty {
89 background-color: #78FA89;
91 .form-validated textarea.ng-invalid.ng-dirty {
92 background-color: #FA787E;
94 .form-validated textarea.ng-valid.ng-dirty {
95 background-color: #78FA89;
98 /* --------------------------------------------------------------------------
102 /* change default link color to provide adequate contrast */
109 /* no bootstrap way to directly disable a link. */
111 pointer-events: none;
113 color: #888 !important;
116 #splash-nav .panel-body div {
117 padding-bottom: 10px;
120 table.list tr.selected td { /* deprecated? */
122 background-color: #F5F5F5;
125 .pad-horiz {padding : 0px 10px 0px 10px; }
126 .pad-vert {padding : 20px 0px 10px 0px;}
127 .pad-left {padding-left: 10px;}
128 .pad-right {padding-right: 10px;}
129 .pad-right-min {padding-right: 5px;}
130 .pad-all-min {padding : 5px; }
131 .pad-all-min2 {padding : 2px; }
132 .pad-all {padding : 10px; }
134 #print-div { display: none; }
136 /* by default, give all tab panes some top padding */
137 .tab-pane { padding-top: 20px; }
139 .nav-pills-like-tabs {
140 border-bottom:1px solid #CCC;
144 /* sometimes you don't want buttons scrunched together -- add some margin */
148 /* button styling by Cory LaViska from
149 http://www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3/
155 .btn-file input[type=file] {
163 filter: alpha(opacity=0);
195 /* barcode inputs are everywhere. Let's have a consistent style. */
196 .barcode { width: 16em !important; }
198 /* use strike-through to mark something that has been acknowledged,
199 e.g., a copy alert */
200 .acknowledged { text-decoration: line-through; }
202 /* bootstrap alerts are heavily padded. use this to reduce */
203 .alert-less-pad {padding: 5px;}
205 /* text displayed inside a <progressbar>, typically the max/progress values */
211 /* embedded UI iframe */
215 .eg-embed-frame iframe {
222 /* Useful for grid-like things that aren't proper grids.
223 * Mimics the grids color scheme. */
225 background-color: rgb(248, 248, 248);
228 /* Reduces the vertical space added by form-group's. Especially useful
229 * for tall modal windows.
231 .tight-vert-form .form-group {
236 /* ----------------------------------------------------------------------
238 * ---------------------------------------------------------------------- */
240 .eg-grid-primary-label {
246 /* odd/even row styling */
247 .eg-grid-content-body > div:nth-child(odd):not(.eg-grid-row-selected) {
248 background-color: rgb(248, 248, 248);
254 border: 1px solid #ccc;
257 .eg-grid-row:not(.eg-grid-header-row):not(.eg-grid-conf-row) {
258 /* TODO: remove, pretty sure this is no longer needed w/ nowrap */
262 .eg-grid-action-row {
264 /* margin should not have to be this large; something's up */
268 .eg-grid-header-row {
272 .eg-grid-header-row > .eg-grid-cell {
273 border-right: 1px solid #CCC;
276 /* vertically align header cell text by treating
277 each header cell as a vertical flex container */
279 flex-direction:column;
280 justify-content:flex-end;
284 /* avoid text flowing into adjacent cells */
286 text-overflow: ellipsis;
290 /* in config display, make cells more obvious */
291 .eg-grid-as-conf .eg-grid-row {
292 border: 1px solid #777;
294 .eg-grid-as-conf .eg-grid-cell {
295 border-right: 1px solid #777;
298 /* stock columns need fixed-width controls */
299 .eg-grid-cell-stock {
304 /* the conf header must be twice the stock flex */
305 .eg-grid-cell-conf-header {
310 .eg-grid-row-selected {
312 background-color: rgb(201, 221, 225);
313 border-bottom: 1px solid #888;
316 /* Improve ::selection styling by only allowing selection on text
317 * content cells within the main body of the grid. Otherwise, the browser
318 * styles row background and text (all dark blue?) when shift-click or
319 * click-drag is used.
321 .eg-grid-content-body .eg-grid-row {
323 -moz-user-select: none;
324 -webkit-user-select: none;
326 .eg-grid-content-body .eg-grid-cell-content {
328 -moz-user-select: text;
329 -webkit-user-select: text;
331 .eg-grid-cell-content::-moz-selection {
333 background: rgb(201, 221, 225);
334 border-bottom: 1px solid #888;
336 .eg-grid-cell-content::selection {
338 background: rgb(201, 221, 225);
339 border-bottom: 1px solid #888;
341 .eg-grid-cell-content a {
342 text-decoration: underline;
345 .eg-grid-conf-cell-entry {
351 .eg-grid-conf-cell-entry:not(:first-child) {
352 border-top:1px solid #ccc;
356 background-color: #dff0d8;
357 border-color: #d6e9c6;
360 .eg-grid-conf-row:first-child {
361 /* alignment fix; account for one missing border */
365 .eg-grid-column-move-handle:hover {
369 .eg-grid-column-move-handle-active,
370 .eg-grid-column-move-handle-active:active {
371 /* similar to label-primary, sans padding */
372 background-color: rgb(66, 139, 202);
377 /* similar to label-success, sans padding */
378 background-color: rgb(92, 184, 92);
382 .eg-grid-column-resize-handle {
385 .eg-grid-column-resize-handle:hover {
389 /* for these to be useful, they would have to be applied
390 * to the dragover targets. not yet done */
391 .eg-grid-column-resize-handle-west {
394 .eg-grid-column-resize-handle-east {
398 .eg-grid-column-last-mod {
399 background-color: #78FA89;
407 /* hack to make the header columns line up with the content columns
408 when the scroll bar is visible along the right side of the content
409 columns. TODO: if this varies enough by browser, we'll need to
410 calculate the width instead. */
412 .eg-grid-scroll > .eg-grid-header-row,
413 .eg-grid-scroll > .eg-grid-conf-row {
416 .eg-grid-scroll > .eg-grid-content-body {
421 .eg-grid-column-picker {
429 /* ----------------------------------------------------------------------
431 * ---------------------------------------------------------------------- */
434 /* simple flex container for consistent-width cell-based structures */
435 .flex-container-striped > .flex-row:nth-child(odd) {
436 background-color: #f5f5f5;
438 .flex-container-bordered .flex-cell {
439 border-bottom: 1px solid #ddd;
444 .flex-row.padded div {
447 .flex-row.left-anchored > div {
452 padding: 4px; /* bootstrap default is much bigger */
455 min-height: 2.5em; /* don't let empty wells scrunch down */
456 margin-bottom: 5px; /* bootstrap default is 20px */
458 .flex-2 { /* meh, convience */
461 .flex-3 { /* meh, convience */
464 .flex-4 { /* meh, convience */
468 /* TODO: match media size to Bootstrap "md" col resizing */
469 @media all and (max-width: 800px) {
471 flex-direction: column;
474 flex-direction: column;
478 /* optional class to make 'lg' Bootstrap modals even wider */
479 @media (min-width: 768px) {
480 .eg-wide-modal .modal-lg {
485 @media all and (min-width: 800px) {
486 /* scrollable menus for full-size screens */
494 .eg-modal-progress progress {
499 .eg-grid-columns-modal-body {
504 .eg-grid-columns-modal-body .row {
505 padding: 2px 0px 2px 0px;
506 border-bottom: 1px solid #aaa;
509 .eg-grid-columns-modal-body .visible {
511 background-color: rgb(201, 221, 225);
512 border-bottom: 1px solid #888;