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>.dropdown>a .caret {
17 border-top-color: #fff;
18 border-bottom-color: #fff;
20 #top-navbar.navbar-default .navbar-nav>.dropdown>a:hover .caret {
21 border-top-color: #ddd;
22 border-bottom-color: #ddd;
25 /* status bar along the bottom of the page ------------------------ */
26 /* decrease padding to decrease overall height */
28 /** TODO:move status bar items into navbar config entry (top-right)
29 * to avoid body padding weirdness. Or if we want a permenently
30 * visible status bar, maybe put it just below the navbar.. */
32 /* bottom padding ensures no body content is hidden behind the status
33 * bar. When content reaches the status bar a scroll bar appears */
34 /*body { padding-bottom: 26px; }*/
37 min-height:1.8em !important;
45 #status-bar > li > a {
46 padding-top:5px !important;
47 padding-bottom:5px !important;
49 .status-bar-connected {
50 color: rgb(92, 184, 92); /* success */
53 /* --------------------------------------------------------------------------
54 * Structural modifications
57 #top-content-container {
58 /* allow the primary container to occupy most of the page,
59 * but leave some narrow gutters along the side, much
60 * narrower than the default Bootstrapp container gutters.
66 /* --------------------------------------------------------------------------
67 * Temporaray local CSS required to make angular-ui-bootstrap
68 * version 0.6.0 look right with Bootstrap CSS 3.0
70 .nav, .pagination, .carousel a { cursor: pointer; }
89 /* --------------------------------------------------------------------------
90 /* Form Validation CSS - http://docs.angularjs.org/guide/forms
91 * TODO: these colors are harsh and don't fit the EG color scheme
93 .form-validated input.ng-invalid.ng-dirty {
94 background-color: #FA787E;
96 .form-validated input.ng-valid.ng-dirty {
97 background-color: #78FA89;
100 /* --------------------------------------------------------------------------
104 #splash-nav .panel-body div {
105 padding-bottom: 10px;
108 table.list tr.selected td { /* deprecated? */
110 background-color: #F5F5F5;
113 .pad-horiz {padding : 0px 10px 0px 10px; }
114 .pad-vert {padding : 20px 0px 10px 0px;}
115 .pad-left {padding-left: 10px;}
116 .pad-right {padding-right: 10px;}
117 .pad-all-min {padding : 5px; }
118 .pad-all {padding : 10px; }
120 #print-div { display: none; }
122 /* by default, give all tab panes some top padding */
123 .tab-pane { padding-top: 20px; }
125 .nav-pills-like-tabs {
126 border-bottom:1px solid #CCC;
130 /* sometimes you don't want buttons scrunched together -- add some margin */
158 /* barcode inputs are everywhere. Let's have a consistent style. */
159 .barcode { width: 16em !important; }
161 /* bootstrap alerts are heavily padded. use this to reduce */
162 .alert-less-pad {padding: 5px;}
164 /* text displayed inside a <progressbar>, typically the max/progress values */
170 /* embedded UI iframe */
174 .eg-embed-frame iframe {
181 /* ----------------------------------------------------------------------
183 * ---------------------------------------------------------------------- */
185 .eg-grid-primary-label {
190 /* odd/even row styling */
191 .eg-grid-content-body > div:nth-child(odd):not(.eg-grid-row-selected) {
192 background-color: rgb(248, 248, 248);
198 border: 1px solid #ccc;
201 .eg-grid-row:not(.eg-grid-header-row):not(.eg-grid-conf-row) {
202 /* TODO: remove, pretty sure this is no longer needed w/ nowrap */
206 .eg-grid-action-row {
208 /* margin should not have to be this large; something's up */
212 .eg-grid-header-row {
216 .eg-grid-header-row > .eg-grid-cell {
217 border-right: 1px solid #CCC;
220 /* vertically align header cell text by treating
221 each header cell as a vertical flex container */
223 flex-direction:column;
224 justify-content:flex-end;
228 /* avoid text flowing into adjacent cells */
230 text-overflow: ellipsis;
234 /* in config display, make cells more obvious */
235 .eg-grid-as-conf .eg-grid-row {
236 border: 1px solid #777;
238 .eg-grid-as-conf .eg-grid-cell {
239 border-right: 1px solid #777;
242 /* stock columns need fixed-width controls */
243 .eg-grid-cell-stock {
248 /* the conf header must be twice the stock flex */
249 .eg-grid-cell-conf-header {
254 .eg-grid-row-selected {
255 color: rgb(51, 51, 51);
256 background-color: rgb(201, 221, 225);
257 border-bottom: 1px solid #888;
260 /* Improve ::selection styling by only allowing selection on text
261 * content cells within the main body of the grid. Otherwise, the browser
262 * styles row background and text (all dark blue?) when shift-click or
263 * click-drag is used.
265 .eg-grid-content-body .eg-grid-row {
267 -moz-user-select: none;
268 -webkit-user-select: none;
270 .eg-grid-content-body .eg-grid-cell-content {
272 -moz-user-select: text;
273 -webkit-user-select: text;
275 .eg-grid-cell-content::-moz-selection {
276 color: rgb(51, 51, 51);
277 background: rgb(201, 221, 225);
278 border-bottom: 1px solid #888;
280 .eg-grid-cell-content::selection {
281 color: rgb(51, 51, 51);
282 background: rgb(201, 221, 225);
283 border-bottom: 1px solid #888;
286 .eg-grid-conf-cell-entry {
292 .eg-grid-conf-cell-entry:not(:first-child) {
293 border-top:1px solid #ccc;
297 background-color: #dff0d8;
298 border-color: #d6e9c6;
301 .eg-grid-conf-row:first-child {
302 /* alignment fix; account for one missing border */
306 .eg-grid-column-move-handle:hover {
310 .eg-grid-column-move-handle-active,
311 .eg-grid-column-move-handle-active:active {
312 /* similar to label-primary, sans padding */
313 background-color: rgb(66, 139, 202);
318 /* similar to label-success, sans padding */
319 background-color: rgb(92, 184, 92);
323 .eg-grid-column-resize-handle {
326 .eg-grid-column-resize-handle:hover {
330 /* for these to be useful, they would have to be applied
331 * to the dragover targets. not yet done */
332 .eg-grid-column-resize-handle-west {
335 .eg-grid-column-resize-handle-east {
344 /* hack to make the header columns line up with the content columns
345 when the scroll bar is visible along the right side of the content
346 columns. TODO: if this varies enough by browser, we'll need to
347 calculate the width instead. */
349 .eg-grid-scroll > .eg-grid-header-row,
350 .eg-grid-scroll > .eg-grid-conf-row {
353 .eg-grid-scroll > .eg-grid-content-body {
358 .eg-grid-column-picker {
366 /* ----------------------------------------------------------------------
368 * ---------------------------------------------------------------------- */
371 /* simple flex container for consistent-width cell-based structures */
372 .flex-container-striped > .flex-row:nth-child(odd) {
373 background-color: #f5f5f5;
375 .flex-container-bordered .flex-cell {
376 border-bottom: 1px solid #ddd;
381 .flex-row.padded div {
384 .flex-row.left-anchored > div {
389 padding: 4px; /* bootstrap default is much bigger */
392 min-height: 2.5em; /* don't let empty wells scrunch down */
393 margin-bottom: 5px; /* bootstrap default is 20px */
395 .flex-2 { /* meh, convience */
398 .flex-3 { /* meh, convience */
401 .flex-4 { /* meh, convience */
405 /* TODO: match media size to Bootstrap "md" col resizing */
406 @media all and (max-width: 800px) {
408 flex-direction: column;
411 flex-direction: column;