Skip to content

Commit ec64d07

Browse files
committed
Updated default font and added new styles for components in dark.css
1 parent fb0e05d commit ec64d07

File tree

1 file changed

+74
-33
lines changed

1 file changed

+74
-33
lines changed

themes/dark.css

+74-33
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ body {
1818
}
1919

2020
body, textarea, input, select, td, th {
21-
font-family:helvetica,arial,verdana,sans-serif;
22-
font-size:14px;
21+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text',
22+
helvetica,arial,verdana,sans-serif;
23+
font-size:13px;
2324
}
2425

2526
input, select, textarea { /* Allows overriding native style of form elements on iPad */
@@ -176,7 +177,6 @@ input, select, textarea { /* Allows overriding native style of form elements on
176177

177178
color: #97989c; /*#7e7f84;*/
178179
display: inline-block;
179-
font-size: 14px;
180180
height: 28px;
181181
line-height: 28px;
182182
padding: 2px 4px;
@@ -206,7 +206,6 @@ input, select, textarea { /* Allows overriding native style of form elements on
206206

207207
.form-label {
208208
color: #bfc0c3;
209-
font-size: 14px;
210209
white-space: nowrap;
211210
cursor: default;
212211
vertical-align: top;
@@ -293,7 +292,6 @@ input, select, textarea { /* Allows overriding native style of form elements on
293292
border-radius: 3px;
294293
color: #97989c;
295294
display: inline-block;
296-
font-size: 14px;
297295
width: 80px;
298296
height: 26px;
299297
/*line-height: 24px;*/
@@ -394,7 +392,6 @@ input, select, textarea { /* Allows overriding native style of form elements on
394392

395393
.form-input-menu-item {
396394
color: #b3b3b3;
397-
font-size: 14px;
398395
height: 28px;
399396
line-height: 28px;
400397
padding: 0px 6px;
@@ -419,6 +416,26 @@ input, select, textarea { /* Allows overriding native style of form elements on
419416
}
420417

421418

419+
/**************************************************************************/
420+
/** Form Error
421+
/**************************************************************************/
422+
423+
.form-input-error {
424+
background: #4e3434;
425+
border-color: #8c0000;
426+
}
427+
428+
429+
/**************************************************************************/
430+
/** Form placeholder
431+
/**************************************************************************/
432+
433+
.form-input::placeholder {
434+
color: #757575;
435+
font-style: italic;
436+
}
437+
438+
422439
/**************************************************************************/
423440
/** Form Group
424441
/**************************************************************************/
@@ -440,6 +457,52 @@ input, select, textarea { /* Allows overriding native style of form elements on
440457
}
441458

442459

460+
/**************************************************************************/
461+
/** Callout
462+
/**************************************************************************/
463+
464+
.callout-panel, .callout-arrow {
465+
border: 1px solid #383b41;
466+
background: #3e4453; /*same as window*/
467+
}
468+
.callout-panel {
469+
border-radius: 4px;
470+
box-shadow: 0 12px 14px 0 rgba(0, 0, 0, 0.2), 0 13px 20px 0 rgba(0, 0, 0, 0.2)
471+
}
472+
.callout-arrow {
473+
width: 10px;
474+
height: 10px;
475+
padding: 10px;
476+
}
477+
478+
479+
/**************************************************************************/
480+
/** Error Popup
481+
/**************************************************************************/
482+
/** The following classes are used to define the style for pop-up callouts
483+
* generated using the javaxt.dhtml.Callout class.
484+
*/
485+
486+
.error-callout-panel, .error-callout-arrow {
487+
border: 1px solid #8c0000;
488+
background: #921d1d;
489+
color: #fff;
490+
cursor: pointer;
491+
}
492+
493+
.error-callout-panel {
494+
border-radius: 3px;
495+
padding: 5px !important;
496+
box-shadow: 0 12px 14px 0 rgba(0, 0, 0, 0.2), 0 13px 20px 0 rgba(0, 0, 0, 0.2);
497+
}
498+
499+
.error-callout-arrow {
500+
width: 7px;
501+
height: 7px;
502+
padding: 12px;
503+
}
504+
505+
443506
/**************************************************************************/
444507
/** Window
445508
/**************************************************************************/
@@ -474,7 +537,6 @@ input, select, textarea { /* Allows overriding native style of form elements on
474537
line-height: 36px; /*Should match window-header height*/
475538

476539
position: absolute;
477-
font-size: 14px;
478540
text-align: left;
479541
cursor: default;
480542
padding-left: 9px;
@@ -578,7 +640,7 @@ input, select, textarea { /* Allows overriding native style of form elements on
578640
/** Special case when tab is the first component inside a window **/
579641

580642
.window-body table:first-child .tab-bar {
581-
background-color: #405672;
643+
background-color: #4c5468;
582644
}
583645

584646
.window-body table:first-child .tab-active {
@@ -612,7 +674,6 @@ input, select, textarea { /* Allows overriding native style of form elements on
612674

613675
.checkbox-label {
614676
color: #bfc0c3;
615-
font-size: 14px;
616677
white-space: nowrap;
617678
cursor: default;
618679
vertical-align: top;
@@ -652,25 +713,6 @@ input, select, textarea { /* Allows overriding native style of form elements on
652713
}
653714

654715

655-
/**************************************************************************/
656-
/** Callout
657-
/**************************************************************************/
658-
659-
.callout-panel, .callout-arrow {
660-
border: 1px solid #383b41;
661-
background: #3e4453; /*same as window*/
662-
}
663-
.callout-panel {
664-
border-radius: 4px;
665-
box-shadow: 0 12px 14px 0 rgba(0, 0, 0, 0.2), 0 13px 20px 0 rgba(0, 0, 0, 0.2)
666-
}
667-
.callout-arrow {
668-
width: 10px;
669-
height: 10px;
670-
padding: 10px;
671-
}
672-
673-
674716
/**************************************************************************/
675717
/** Table
676718
/**************************************************************************/
@@ -711,8 +753,7 @@ input, select, textarea { /* Allows overriding native style of form elements on
711753
}
712754

713755
.table-col, .table-header-col {
714-
font-family: helvetica,arial,verdana,sans-serif;
715-
font-size: 14px;
756+
716757
white-space: nowrap;
717758

718759
height: 35px;
@@ -813,7 +854,7 @@ input, select, textarea { /* Allows overriding native style of form elements on
813854
/** Slider
814855
/**************************************************************************/
815856

816-
.sliderGrove {
857+
.slider-groove {
817858
display: inline-block;
818859
-webkit-box-sizing: border-box;
819860
-moz-box-sizing: padding-box;
@@ -843,7 +884,7 @@ input, select, textarea { /* Allows overriding native style of form elements on
843884
background-repeat: no-repeat, repeat-x;
844885
}
845886

846-
.sliderHandle {
887+
.slider-handle {
847888
position:relative;
848889
height:20px;
849890
width:20px;
@@ -867,7 +908,7 @@ input, select, textarea { /* Allows overriding native style of form elements on
867908
}
868909

869910

870-
.sliderHandle:hover, .sliderHandle.hover {
911+
.slider-handle:hover, .slider-handle.hover {
871912
background-image:
872913
-webkit-gradient(linear, left top, left bottom,
873914
from(#6297f2),

0 commit comments

Comments
 (0)