Skip to content

Commit a2c0eec

Browse files
stephanielearysandbergja
authored andcommitted
LP2109643 Browser default font size for self-checkout
Sets the font size for self checkout in rems rather than pixels, so that font sizes always respect the browser's default setting. Adds a default line height to avoid colliding lines when text wraps. Release-note: Respect browser default font size for self checkout Signed-off-by: Stephanie Leary <[email protected]> Signed-off-by: Jane Sandberg <[email protected]> Signed-off-by: Michele Morgan <[email protected]> Signed-off-by: Ruth Frasur Davis <[email protected]> Signed-off-by: Dan Guarracino <[email protected]>
1 parent 3b029ef commit a2c0eec

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

Open-ILS/src/eg2/src/app/staff/scko/scko.component.css

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
body {
22
font-family: Arial, Verdana;
3-
font-size: 13px;
3+
font-size: 1rem;
4+
line-height: 1.6;
45
}
56

67
a {
@@ -9,6 +10,7 @@ a {
910

1011
h1 {
1112
font-size: 1.5rem;
13+
line-height: 2;
1214
color: #00593d;
1315
display: inline;
1416
}
@@ -39,14 +41,14 @@ h2 {
3941
}
4042

4143
#scko-scan-input-text {
42-
font-size: 16px;
44+
font-size: 1rem;
4345
background: none repeat scroll 0 0 #252525;
4446
color: white;
4547
padding: 10px;
4648
}
4749

4850
#scko-welcome-message {
49-
font-size: 16px;
51+
font-size: 1rem;
5052
background: none repeat scroll 0 0 #252525;
5153
color: white;
5254
padding: 10px;
@@ -72,7 +74,7 @@ h2 {
7274
}
7375

7476
#scko-circ-info-div fieldset legend {
75-
font-size: 13px;
77+
font-size: 0.825rem;
7678
color: #00593d;
7779
background-color: white;
7880
font-weight: bold;
@@ -194,7 +196,7 @@ label.btn-check-label.active:before {
194196
}
195197

196198
.scko-status-row {
197-
font-size: 20px;
199+
font-size: 1.4rem;
198200
}
199201

200202
input[type="checkbox"] {

Open-ILS/web/css/skin/default/selfcheck.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11

22
body {
33
font-family: Arial, Verdana;
4-
font-size: 13px;
4+
font-size: 1rem;
5+
line-height: 1.6;
56
}
67

78
#oils-selfck-top-div {
@@ -34,7 +35,7 @@ body {
3435
}
3536

3637
#oils-selfck-scan-text {
37-
font-size: 16px;
38+
font-size: 1rem;
3839
background: none repeat scroll 0 0 #252525;
3940
color: white;
4041
padding: 10px;
@@ -213,7 +214,7 @@ A {
213214
#dijit_form_TextBox_0 {
214215
padding: 5px;
215216
height: 28px;
216-
font-size: 16px;
217+
font-size: 1rem;
217218
box-shadow: inset 0 0 8px #ADADB2;
218219
border-radius: 12px;
219220
}

0 commit comments

Comments
 (0)