Skip to content

Commit 538e4ea

Browse files
committed
Updated default font and added new styles for components in default.css
1 parent 5a17e47 commit 538e4ea

File tree

1 file changed

+114
-14
lines changed

1 file changed

+114
-14
lines changed

themes/default.css

Lines changed: 114 additions & 14 deletions
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 */
@@ -74,7 +75,6 @@ input, select, textarea { /* Allows overriding native style of form elements on
7475
text-align: center;
7576
white-space: nowrap;
7677
text-transform: uppercase;
77-
font-size: 16px;
7878
line-height: 36px; /*Should match panel-header height*/
7979

8080
-webkit-user-select: none;
@@ -187,6 +187,63 @@ input, select, textarea { /* Allows overriding native style of form elements on
187187

188188

189189

190+
/**************************************************************************/
191+
/** Button
192+
/**************************************************************************/
193+
194+
.button {
195+
border-radius: 3px;
196+
color: #363636;
197+
display: inline-block;
198+
width: 80px;
199+
height: 26px;
200+
line-height: 24px;
201+
vertical-align: middle;
202+
background-color: #e4e4e4;
203+
border: 1px solid #b4b4b4;
204+
/*
205+
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
206+
text-shadow: 1px 1px 0px rgb(255, 255, 255);
207+
*/
208+
cursor: pointer;
209+
}
210+
211+
.button-label {
212+
white-space: nowrap;
213+
}
214+
215+
.button-selected {
216+
217+
}
218+
219+
.button:disabled,
220+
.button[disabled]{
221+
opacity:0.75;
222+
color: #939393;
223+
box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.2);
224+
cursor:default;
225+
}
226+
227+
.button:hover {
228+
background-color: #d2e3ed;
229+
border-color: rgba(82, 168, 236, 0.8);
230+
}
231+
232+
.button:disabled:hover {
233+
background-color: #e4e4e4;
234+
border: 1px solid #b4b4b4;
235+
}
236+
237+
.button:active {
238+
box-shadow: none;
239+
}
240+
.button:focus {
241+
outline:0;
242+
}
243+
244+
245+
246+
190247
/**************************************************************************/
191248
/** Form Inputs
192249
/**************************************************************************/
@@ -203,7 +260,6 @@ input, select, textarea { /* Allows overriding native style of form elements on
203260

204261
color: #363636;
205262
display: inline-block;
206-
font-size: 14px;
207263
height: 28px;
208264
line-height: 28px;
209265
padding: 2px 4px;
@@ -239,7 +295,6 @@ input, select, textarea { /* Allows overriding native style of form elements on
239295

240296
.form-label {
241297
color: #636363;
242-
font-size: 14px;
243298
white-space: nowrap;
244299
cursor: default;
245300
padding: 5px 10px 0 0;
@@ -329,7 +384,6 @@ input, select, textarea { /* Allows overriding native style of form elements on
329384
border-radius: 3px;
330385
color: #363636;
331386
display: inline-block;
332-
font-size: 14px;
333387
width: 80px;
334388
height: 26px;
335389
line-height: 24px;
@@ -428,7 +482,6 @@ select:focus, textarea:focus, input:focus{
428482

429483
.form-input-menu-item {
430484
color: #363636;
431-
font-size: 14px;
432485
height: 28px;
433486
line-height: 28px;
434487
padding: 0px 6px;
@@ -451,6 +504,26 @@ select:focus, textarea:focus, input:focus{
451504
}
452505

453506

507+
/**************************************************************************/
508+
/** Form Error
509+
/**************************************************************************/
510+
511+
.form-input-error {
512+
background: #fff2f2;
513+
border-color: #d66262;
514+
}
515+
516+
517+
/**************************************************************************/
518+
/** Form placeholder
519+
/**************************************************************************/
520+
521+
.form-input::placeholder {
522+
color: #a1a1a1;
523+
font-style: italic;
524+
}
525+
526+
454527
/**************************************************************************/
455528
/** Form Group
456529
/**************************************************************************/
@@ -510,6 +583,35 @@ select:focus, textarea:focus, input:focus{
510583
}
511584

512585

586+
/**************************************************************************/
587+
/** Error Callout Panel
588+
/**************************************************************************/
589+
/** The following classes are used to define the style for pop-up callouts
590+
* generated using the javaxt.dhtml.Callout class.
591+
*/
592+
593+
.error-callout-panel, .error-callout-arrow {
594+
border: 1px solid #8c0000;
595+
background-color: #921d1d;
596+
color: #fff;
597+
cursor: pointer;
598+
}
599+
600+
.error-callout-panel {
601+
border-radius: 3px;
602+
padding: 5px !important;
603+
box-shadow: 0 12px 14px 0 rgba(0, 0, 0, 0.2), 0 13px 20px 0 rgba(0, 0, 0, 0.2);
604+
}
605+
606+
.error-callout-arrow {
607+
width: 7px;
608+
height: 7px;
609+
padding: 12px;
610+
}
611+
612+
613+
614+
513615
/**************************************************************************/
514616
/** Menu Buttons
515617
/**************************************************************************/
@@ -542,7 +644,7 @@ select:focus, textarea:focus, input:focus{
542644
}
543645

544646
.menu-button-hover {
545-
border-color: #cccccc;
647+
border-color: #ccc;
546648
background-color: #f0f8ff;
547649
}
548650

@@ -559,7 +661,7 @@ select:focus, textarea:focus, input:focus{
559661
*/
560662

561663
.window {
562-
background-color: #ffffff;
664+
background-color: #fff;
563665
border-radius: 8px;
564666
display: inline-block;
565667
box-shadow: 0 12px 14px 0 rgba(0, 0, 0, 0.2), 0 13px 20px 0 rgba(0, 0, 0, 0.2);
@@ -571,25 +673,24 @@ select:focus, textarea:focus, input:focus{
571673
background-color: #0f6391;
572674
height: 36px;
573675
cursor: default;
574-
border-bottom: 1px solid #6a9ebb;
575676

576677
position: relative;
577678
border-radius: 7px 7px 0px 0px;
578679
border: 1px solid #2a79bf;
680+
border-bottom: 0px;
579681
box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px 0px;
580682
cursor: default;
581683
overflow: hidden;
582684
}
583685

584686
.window-title {
585-
color: white;
687+
color: #fff;
586688
text-align: center;
587689
white-space: nowrap;
588690
text-transform: uppercase;
589691
line-height: 36px; /*Should match window-header height*/
590692

591693
position: absolute;
592-
font-size: 14px;
593694
text-align: left;
594695
cursor: default;
595696
padding-left: 9px;
@@ -622,6 +723,7 @@ select:focus, textarea:focus, input:focus{
622723
.window-body {
623724
padding: 7px;
624725
vertical-align: top;
726+
color: #303131;
625727
}
626728

627729
.alert-header { /* used in conjunction with window-header */
@@ -741,8 +843,6 @@ select:focus, textarea:focus, input:focus{
741843
}
742844

743845
.table-col, .table-header-col {
744-
font-family: helvetica,arial,verdana,sans-serif;
745-
font-size: 14px;
746846
white-space: nowrap;
747847
color: #272727;
748848
height: 35px;

0 commit comments

Comments
 (0)