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 /* status bar along the bottom of the page ------------------------ */
31 /* decrease padding to decrease overall height */
33 /** TODO:move status bar items into navbar config entry (top-right)
34 * to avoid body padding weirdness. Or if we want a permenently
35 * visible status bar, maybe put it just below the navbar.. */
37 /* bottom padding ensures no body content is hidden behind the status
38 * bar. When content reaches the status bar a scroll bar appears */
39 /*body { padding-bottom: 26px; }*/
42 min-height:1.8em !important;
50 #status-bar > li > a {
51 padding-top:5px !important;
52 padding-bottom:5px !important;
54 .status-bar-connected {
55 color: rgb(92, 184, 92); /* success */
58 /* --------------------------------------------------------------------------
59 * Structural modifications
62 #top-content-container {
63 /* allow the primary container to occupy most of the page,
64 * but leave some narrow gutters along the side, much
65 * narrower than the default Bootstrapp container gutters.
72 /* --------------------------------------------------------------------------
73 * Temporaray local CSS required to make angular-ui-bootstrap
74 * version 0.6.0 look right with Bootstrap CSS 3.0
76 .nav, .pagination, .carousel a { cursor: pointer; }
95 /* --------------------------------------------------------------------------
96 /* Form Validation CSS - http://docs.angularjs.org/guide/forms
97 * TODO: these colors are harsh and don't fit the EG color scheme
99 .form-validated input.ng-invalid.ng-dirty {
100 background-color: #FA787E;
102 .form-validated input.ng-valid.ng-dirty {
103 background-color: #78FA89;
105 .form-validated textarea.ng-invalid.ng-dirty {
106 background-color: #FA787E;
108 .form-validated textarea.ng-valid.ng-dirty {
109 background-color: #78FA89;
112 /* --------------------------------------------------------------------------
116 /* no bootstrap way to directly disable a link. */
118 pointer-events: none;
123 #splash-nav .panel-body div {
124 padding-bottom: 10px;
127 table.list tr.selected td { /* deprecated? */
129 background-color: #F5F5F5;
132 .pad-horiz {padding : 0px 10px 0px 10px; }
133 .pad-vert {padding : 20px 0px 10px 0px;}
134 .pad-left {padding-left: 10px;}
135 .pad-right {padding-right: 10px;}
136 .pad-right-min {padding-right: 5px;}
137 .pad-all-min {padding : 5px; }
138 .pad-all-min2 {padding : 2px; }
139 .pad-all {padding : 10px; }
141 #print-div { display: none; }
143 /* by default, give all tab panes some top padding */
144 .tab-pane { padding-top: 20px; }
146 .nav-pills-like-tabs {
147 border-bottom:1px solid #CCC;
151 /* sometimes you don't want buttons scrunched together -- add some margin */
155 /* button styling by Cory LaViska from
156 http://www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3/
162 .btn-file input[type=file] {
170 filter: alpha(opacity=0);
202 /* barcode inputs are everywhere. Let's have a consistent style. */
203 .barcode { width: 16em !important; }
205 /* bootstrap alerts are heavily padded. use this to reduce */
206 .alert-less-pad {padding: 5px;}
208 /* text displayed inside a <progressbar>, typically the max/progress values */
214 /* embedded UI iframe */
218 .eg-embed-frame iframe {
225 /* ----------------------------------------------------------------------
227 * ---------------------------------------------------------------------- */
229 .eg-grid-primary-label {
235 /* odd/even row styling */
236 .eg-grid-content-body > div:nth-child(odd):not(.eg-grid-row-selected) {
237 background-color: rgb(248, 248, 248);
243 border: 1px solid #ccc;
246 .eg-grid-row:not(.eg-grid-header-row):not(.eg-grid-conf-row) {
247 /* TODO: remove, pretty sure this is no longer needed w/ nowrap */
251 .eg-grid-action-row {
253 /* margin should not have to be this large; something's up */
257 .eg-grid-header-row {
261 .eg-grid-header-row > .eg-grid-cell {
262 border-right: 1px solid #CCC;
265 /* vertically align header cell text by treating
266 each header cell as a vertical flex container */
268 flex-direction:column;
269 justify-content:flex-end;
273 /* avoid text flowing into adjacent cells */
275 text-overflow: ellipsis;
279 /* in config display, make cells more obvious */
280 .eg-grid-as-conf .eg-grid-row {
281 border: 1px solid #777;
283 .eg-grid-as-conf .eg-grid-cell {
284 border-right: 1px solid #777;
287 /* stock columns need fixed-width controls */
288 .eg-grid-cell-stock {
293 /* the conf header must be twice the stock flex */
294 .eg-grid-cell-conf-header {
299 .eg-grid-row-selected {
300 color: rgb(51, 51, 51);
301 background-color: rgb(201, 221, 225);
302 border-bottom: 1px solid #888;
305 /* Improve ::selection styling by only allowing selection on text
306 * content cells within the main body of the grid. Otherwise, the browser
307 * styles row background and text (all dark blue?) when shift-click or
308 * click-drag is used.
310 .eg-grid-content-body .eg-grid-row {
312 -moz-user-select: none;
313 -webkit-user-select: none;
315 .eg-grid-content-body .eg-grid-cell-content {
317 -moz-user-select: text;
318 -webkit-user-select: text;
320 .eg-grid-cell-content::-moz-selection {
321 color: rgb(51, 51, 51);
322 background: rgb(201, 221, 225);
323 border-bottom: 1px solid #888;
325 .eg-grid-cell-content::selection {
326 color: rgb(51, 51, 51);
327 background: rgb(201, 221, 225);
328 border-bottom: 1px solid #888;
331 .eg-grid-conf-cell-entry {
337 .eg-grid-conf-cell-entry:not(:first-child) {
338 border-top:1px solid #ccc;
342 background-color: #dff0d8;
343 border-color: #d6e9c6;
346 .eg-grid-conf-row:first-child {
347 /* alignment fix; account for one missing border */
351 .eg-grid-column-move-handle:hover {
355 .eg-grid-column-move-handle-active,
356 .eg-grid-column-move-handle-active:active {
357 /* similar to label-primary, sans padding */
358 background-color: rgb(66, 139, 202);
363 /* similar to label-success, sans padding */
364 background-color: rgb(92, 184, 92);
368 .eg-grid-column-resize-handle {
371 .eg-grid-column-resize-handle:hover {
375 /* for these to be useful, they would have to be applied
376 * to the dragover targets. not yet done */
377 .eg-grid-column-resize-handle-west {
380 .eg-grid-column-resize-handle-east {
389 /* hack to make the header columns line up with the content columns
390 when the scroll bar is visible along the right side of the content
391 columns. TODO: if this varies enough by browser, we'll need to
392 calculate the width instead. */
394 .eg-grid-scroll > .eg-grid-header-row,
395 .eg-grid-scroll > .eg-grid-conf-row {
398 .eg-grid-scroll > .eg-grid-content-body {
403 .eg-grid-column-picker {
411 /* ----------------------------------------------------------------------
413 * ---------------------------------------------------------------------- */
416 /* simple flex container for consistent-width cell-based structures */
417 .flex-container-striped > .flex-row:nth-child(odd) {
418 background-color: #f5f5f5;
420 .flex-container-bordered .flex-cell {
421 border-bottom: 1px solid #ddd;
426 .flex-row.padded div {
429 .flex-row.left-anchored > div {
434 padding: 4px; /* bootstrap default is much bigger */
437 min-height: 2.5em; /* don't let empty wells scrunch down */
438 margin-bottom: 5px; /* bootstrap default is 20px */
440 .flex-2 { /* meh, convience */
443 .flex-3 { /* meh, convience */
446 .flex-4 { /* meh, convience */
450 /* TODO: match media size to Bootstrap "md" col resizing */
451 @media all and (max-width: 800px) {
453 flex-direction: column;
456 flex-direction: column;
460 /* optional class to make 'lg' Bootstrap modals even wider */
461 @media (min-width: 768px) {
462 .eg-wide-modal .modal-lg {
467 @media all and (min-width: 800px) {
468 /* scrollable menus for full-size screens */
476 .eg-modal-progress progress {