Bläddra i källkod

style(general) Replaced fixed values for font-size and line-height with rem (#15917)

* style(general) Replaced font-size fixed units with rem

* style(general) Replaced font-size fixed units with rem in the tokens

* style(general) Replaced line-height fixed units with rem
j25
raduanastase8x8 6 månader sedan
förälder
incheckning
6fa94b0bb4
Inget konto är kopplat till bidragsgivarens mejladress

+ 2
- 2
css/404.scss Visa fil

@@ -4,12 +4,12 @@
4 4
     text-align: center;
5 5
 
6 6
     h2 {
7
-        font-size: 48px;
7
+        font-size: 3rem;
8 8
         color : #f2f2f2;
9 9
     }
10 10
 
11 11
     &__message {
12
-        font-size: 24px;
12
+        font-size: 1.5rem;
13 13
         margin-top: 20px;
14 14
     }
15 15
 }

+ 2
- 2
css/_base.scss Visa fil

@@ -28,7 +28,7 @@ body {
28 28
     margin: 0px;
29 29
     width: 100%;
30 30
     height: 100%;
31
-    font-size: 12px;
31
+    font-size: 0.75rem;
32 32
     font-weight: 400;
33 33
     overflow: hidden;
34 34
     color: #F1F1F1;
@@ -139,7 +139,7 @@ form {
139 139
     position: absolute;
140 140
     left: 25;
141 141
     bottom: 7;
142
-    font-size: 11pt;
142
+    font-size: 0.875rem;
143 143
     color: rgba(255,255,255,.50);
144 144
     text-decoration: none;
145 145
     z-index: $watermarkZ;

+ 9
- 9
css/_chat.scss Visa fil

@@ -11,9 +11,9 @@
11 11
 #chatconversation {
12 12
     box-sizing: border-box;
13 13
     flex: 1;
14
-    font-size: 10pt;
14
+    font-size: 0.75rem;
15 15
     height: calc(100% - 10px);
16
-    line-height: 20px;
16
+    line-height: 1.25rem;
17 17
     overflow: auto;
18 18
     padding: 16px;
19 19
     text-align: left;
@@ -72,7 +72,7 @@
72 72
 #nickname {
73 73
     text-align: center;
74 74
     color: #9d9d9d;
75
-    font-size: 16px;
75
+    font-size: 1rem;
76 76
     margin: auto 0;
77 77
     padding: 0 16px;
78 78
 
@@ -86,7 +86,7 @@
86 86
     }
87 87
 
88 88
     label {
89
-        line-height: 24px;
89
+        line-height: 1.5rem;
90 90
     }
91 91
 }
92 92
 
@@ -98,7 +98,7 @@
98 98
     }
99 99
 
100 100
     .chatmessage .usermessage {
101
-        font-size: 16px;
101
+        font-size: 1rem;
102 102
     }
103 103
 }
104 104
 
@@ -124,7 +124,7 @@
124 124
 }
125 125
 
126 126
 #smileys {
127
-    font-size: 20pt;
127
+    font-size: 1.625rem;
128 128
     margin: auto;
129 129
     cursor: pointer;
130 130
 }
@@ -168,7 +168,7 @@
168 168
 }
169 169
 
170 170
 #smileysContainer .smiley {
171
-    font-size: 20pt;
171
+    font-size: 1.625rem;
172 172
 }
173 173
 
174 174
 .smileyContainer {
@@ -219,8 +219,8 @@
219 219
         box-sizing: border-box;
220 220
         color: #fff;
221 221
         font-weight: 600;
222
-        font-size: 24px;
223
-        line-height: 32px;
222
+        font-size: 1.5rem;
223
+        line-height: 2rem;
224 224
 
225 225
         .jitsi-icon {
226 226
             cursor: pointer;

+ 6
- 6
css/_chrome-extension-banner.scss Visa fil

@@ -34,8 +34,8 @@
34 34
     }
35 35
 
36 36
     &__checkbox-label {
37
-        font-size: 14px;
38
-        line-height: 18px;
37
+        font-size: 0.875rem;
38
+        line-height: 1.125rem;
39 39
         display: flex;
40 40
         align-items: center;
41 41
         letter-spacing: -0.006em;
@@ -51,8 +51,8 @@
51 51
     }
52 52
 
53 53
     &__text-container {
54
-      font-size: 14px;
55
-      line-height: 18px;
54
+      font-size: 0.875rem;
55
+      line-height: 1.125rem;
56 56
       display: flex;
57 57
       align-items: center;
58 58
       letter-spacing: -0.006em;
@@ -84,8 +84,8 @@
84 84
 
85 85
     &__button-text {
86 86
       font-weight: 600;
87
-      font-size: 14px;
88
-      line-height: 40px;
87
+      font-size: 0.875rem;
88
+      line-height: 2.5rem;
89 89
       text-align: center;
90 90
       letter-spacing: -0.006em;
91 91
       color: #FFFFFF;

+ 3
- 3
css/_inlay.scss Visa fil

@@ -10,7 +10,7 @@
10 10
         margin: 17px 0;
11 11
         padding-bottom: 17px;
12 12
         color: #ffffff;
13
-        font-size: 21px;
13
+        font-size: 1.25rem;
14 14
         letter-spacing: 0.3px;
15 15
         border-bottom: 1px solid lighten(#FFFFFF, 10%);
16 16
     }
@@ -19,12 +19,12 @@
19 19
         color: #ffffff;
20 20
         display: block;
21 21
         margin-top: 22px;
22
-        font-size: 16px;
22
+        font-size: 1rem;
23 23
     }
24 24
 
25 25
     &__icon {
26 26
         margin: 0 10px;
27
-        font-size: 50px;
27
+        font-size: 3.125rem;
28 28
     }
29 29
 
30 30
 }

+ 10
- 10
css/_meetings_list.scss Visa fil

@@ -1,7 +1,7 @@
1 1
 .meetings-list {
2
-    font-size: 14px;
2
+    font-size: 0.875rem;
3 3
     color: #253858;
4
-    line-height: 20px;
4
+    line-height: 1.25rem;
5 5
     text-align: left;
6 6
     text-overflow: ellipsis;
7 7
     display: flex;
@@ -20,8 +20,8 @@
20 20
 
21 21
         .description {
22 22
             color: #2f3237;
23
-            font-size: 14px;
24
-            line-height: 18px;
23
+            font-size: 0.875rem;
24
+            line-height: 1.125rem;
25 25
             margin-bottom: 16px;
26 26
             max-width: 436px;
27 27
         }
@@ -37,8 +37,8 @@
37 37
         color: #0163FF;
38 38
         cursor: pointer;
39 39
         display: flex;
40
-        font-size: 14px;
41
-        line-height: 18px;
40
+        font-size: 0.875rem;
41
+        line-height: 1.125rem;
42 42
         margin: 24px 0 32px 0;
43 43
     }
44 44
 
@@ -101,17 +101,17 @@
101 101
         }
102 102
 
103 103
         .title {
104
-            font-size: 12px;
104
+            font-size: 0.75rem;
105 105
             font-weight: 600;
106
-            line-height: 16px;
106
+            line-height: 1rem;
107 107
             margin-bottom: 4px;
108 108
         }
109 109
 
110 110
         .subtitle {
111 111
             color: #5E6D7A;
112 112
             font-weight: normal;
113
-            font-size: 12px;
114
-            line-height: 16px;
113
+            font-size: 0.75rem;
114
+            line-height: 1rem;
115 115
         }
116 116
 
117 117
 

+ 4
- 4
css/_navigate_section_list.scss Visa fil

@@ -1,7 +1,7 @@
1 1
 %navigate-section-list-text {
2 2
     width: 100%;
3
-    font-size: 14px;
4
-    line-height: 20px;
3
+    font-size: 0.875rem;
4
+    line-height: 1.25rem;
5 5
     color: $welcomePageTitleColor;
6 6
     text-align: left;
7 7
     font-family: 'open_sanslight', Helvetica, sans-serif;
@@ -52,7 +52,7 @@
52 52
 .navigate-section-tile-body {
53 53
     @extend %navigate-section-list-tile-text;
54 54
     font-weight: normal;
55
-    line-height: 24px;
55
+    line-height: 1.5rem;
56 56
 }
57 57
 .navigate-section-list-tile-info {
58 58
     flex: 1;
@@ -61,7 +61,7 @@
61 61
 .navigate-section-tile-title {
62 62
     @extend %navigate-section-list-tile-text;
63 63
     font-weight: bold;
64
-    line-height: 24px;
64
+    line-height: 1.5rem;
65 65
 }
66 66
 .navigate-section-section-header {
67 67
     @extend %navigate-section-list-text;

+ 2
- 2
css/_policy.scss Visa fil

@@ -8,8 +8,8 @@
8 8
 
9 9
     &__text {
10 10
         text-align: center;
11
-        font-size: 14px;
12
-        line-height: 21px;
11
+        font-size: 0.875rem;
12
+        line-height: 1.25rem;
13 13
         font-weight: 300;
14 14
     }
15 15
 }

+ 6
- 6
css/_reactions-menu.scss Visa fil

@@ -55,7 +55,7 @@
55 55
 		span.emoji {
56 56
 			width: 40px;
57 57
 			height: 40px;
58
-			font-size: 22px;
58
+			font-size: 1.375rem;
59 59
 			display: flex;
60 60
 			align-items: center;
61 61
 			justify-content: center;
@@ -63,7 +63,7 @@
63 63
 
64 64
 			@for $i from 1 through 12 {
65 65
 				&.increase-#{$i}{
66
-					font-size: calc(20px + #{$i}px);
66
+					font-size: calc(1.25rem + #{$i}px);
67 67
 				}
68 68
 			}
69 69
 		}
@@ -96,8 +96,8 @@
96 96
 			span.text {
97 97
 				font-style: normal;
98 98
 				font-weight: 600;
99
-				font-size: 14px;
100
-				line-height: 24px;
99
+				font-size: 0.875rem;
100
+				line-height: 1.5rem;
101 101
 				margin-left: 8px;
102 102
 			}
103 103
 		}
@@ -132,8 +132,8 @@ $reactionCount: 20;
132 132
 
133 133
 .reaction-emoji {
134 134
 	position: absolute;
135
-	font-size: 24px;
136
-	line-height: 32px;
135
+	font-size: 1.5rem;
136
+	line-height: 2rem;
137 137
 	width: 32px;
138 138
 	height: 32px;
139 139
 	top: 0;

+ 6
- 6
css/_recording.scss Visa fil

@@ -12,7 +12,7 @@
12 12
         .recording-title {
13 13
             display: inline-flex;
14 14
             align-items: center;
15
-            font-size: 14px;
15
+            font-size: 0.875rem;
16 16
             margin-left: 16px;
17 17
             max-width: 70%;
18 18
 
@@ -35,8 +35,8 @@
35 35
     .local-recording-warning {
36 36
         margin-top: 8px;
37 37
         display: block;
38
-        font-size: 14px;
39
-        line-height: 20px;
38
+        font-size: 0.875rem;
39
+        line-height: 1.25rem;
40 40
         padding: 8px 16px;
41 41
 
42 42
         &.text {
@@ -126,7 +126,7 @@
126 126
 
127 127
     .recording-info-title {
128 128
         display: inline-flex;
129
-        font-size: 14px;
129
+        font-size: 0.875rem;
130 130
         width: 290px
131 131
     }
132 132
 
@@ -150,7 +150,7 @@
150 150
     /**
151 151
      * Set font-size to be consistent with Atlaskit FieldText.
152 152
      */
153
-    font-size: 14px;
153
+    font-size: 0.875rem;
154 154
 
155 155
     .broadcast-dropdown {
156 156
         text-align: left;
@@ -194,6 +194,6 @@
194 194
 
195 195
     .warning-text {
196 196
         color:#FFD740;
197
-        font-size: 12px;
197
+        font-size: 0.75rem;
198 198
     }
199 199
 }

+ 6
- 6
css/_redirect_page.scss Visa fil

@@ -2,7 +2,7 @@
2 2
     width: 30%;
3 3
     margin: 20% auto;
4 4
     text-align: center;
5
-    font-size: 24px;
5
+    font-size: 1.5rem;
6 6
 
7 7
     .thanks-msg {
8 8
         border-bottom: 1px solid #FFFFFF;
@@ -10,16 +10,16 @@
10 10
         padding-right: 30px;
11 11
         p {
12 12
             margin: 30px auto;
13
-            font-size: 24px;
14
-            line-height: 24px;
13
+            font-size: 1.5rem;
14
+            line-height: 1.5rem;
15 15
         }
16 16
     }
17 17
     .hint-msg {
18 18
         p {
19 19
             margin: 26px auto;
20 20
             font-weight: 600;
21
-            font-size: 16px;
22
-            line-height: 18px;
21
+            font-size: 1rem;
22
+            line-height: 1.125rem;
23 23
             .hint-msg__holder{
24 24
                 font-weight: 200;
25 25
             }
@@ -33,7 +33,7 @@
33 33
     }
34 34
     .forbidden-msg {
35 35
         p {
36
-            font-size: 16px;
36
+            font-size: 1rem;
37 37
             margin-top: 15px;
38 38
         }
39 39
     }

+ 8
- 8
css/_reset.scss Visa fil

@@ -70,7 +70,7 @@ input[type="reset"] {
70 70
 body {
71 71
   color: #333;
72 72
   font-family: Arial, sans-serif;
73
-  font-size: 14px;
73
+  font-size: 0.875rem;
74 74
   line-height: 1.42857142857143;
75 75
 }
76 76
 /* International Font Stacks*/
@@ -113,7 +113,7 @@ pre:first-child {
113 113
 /* Headings: desired line height in px / font size = unitless line height */
114 114
 h1 {
115 115
   color: #333;
116
-  font-size: 32px;
116
+  font-size: 2rem;
117 117
   font-weight: normal;
118 118
   line-height: 1.25;
119 119
   text-transform: none;
@@ -121,7 +121,7 @@ h1 {
121 121
 }
122 122
 h2 {
123 123
   color: #333;
124
-  font-size: 24px;
124
+  font-size: 1.5rem;
125 125
   font-weight: normal;
126 126
   line-height: 1.25;
127 127
   text-transform: none;
@@ -129,14 +129,14 @@ h2 {
129 129
 }
130 130
 h3 {
131 131
   color: #333;
132
-  font-size: 20px;
132
+  font-size: 1.25rem;
133 133
   font-weight: normal;
134 134
   line-height: 1.5;
135 135
   text-transform: none;
136 136
   margin: 30px 0 0 0;
137 137
 }
138 138
 h4 {
139
-  font-size: 16px;
139
+  font-size: 1rem;
140 140
   font-weight: bold;
141 141
   line-height: 1.25;
142 142
   text-transform: none;
@@ -144,7 +144,7 @@ h4 {
144 144
 }
145 145
 h5 {
146 146
   color: #333;
147
-  font-size: 14px;
147
+  font-size: 0.875rem;
148 148
   font-weight: bold;
149 149
   line-height: 1.42857143;
150 150
   text-transform: none;
@@ -152,7 +152,7 @@ h5 {
152 152
 }
153 153
 h6 {
154 154
   color: #707070;
155
-  font-size: 12px;
155
+  font-size: 0.75rem;
156 156
   font-weight: bold;
157 157
   line-height: 1.66666667;
158 158
   text-transform: uppercase;
@@ -179,7 +179,7 @@ h5 + h6 {
179 179
 /* Other typographical elements */
180 180
 small {
181 181
   color: #707070;
182
-  font-size: 12px;
182
+  font-size: 0.75rem;
183 183
   line-height: 1.33333333333333;
184 184
 }
185 185
 code,

+ 1
- 1
css/_responsive.scss Visa fil

@@ -4,7 +4,7 @@
4 4
 
5 5
         #enter_room {
6 6
             .welcome-page-button {
7
-                font-size: 16px;
7
+                font-size: 1rem;
8 8
                 left: 0;
9 9
                 text-align: center;
10 10
                 width: 100%;

+ 4
- 4
css/_toolbars.scss Visa fil

@@ -9,9 +9,9 @@
9 9
     // Do not inherit the font-family from the toolbar button, because it's an
10 10
     // icon style.
11 11
     font-family: $baseFontFamily;
12
-    font-size: 9px;
12
+    font-size: 0.5rem;
13 13
     font-weight: 700;
14
-    line-height: 13px;
14
+    line-height: 0.75rem;
15 15
     min-width: 13px;
16 16
     overflow: hidden;
17 17
     text-align: center;
@@ -69,8 +69,8 @@
69 69
 
70 70
     .badge-round {
71 71
         bottom: -5px;
72
-        font-size: 12px;
73
-        line-height: 20px;
72
+        font-size: 0.75rem;
73
+        line-height: 1.25rem;
74 74
         min-width: 20px;
75 75
         pointer-events: none;
76 76
         position: absolute;

+ 4
- 4
css/_variables.scss Visa fil

@@ -50,11 +50,11 @@ $filmstripVideosZ: $toolbarZ + 1;
50 50
 $primaryUnsupportedBrowserButtonBgColor: #0052CC;
51 51
 $unsupportedBrowserButtonBgColor: rgba(9, 30, 66, 0.04);
52 52
 $unsupportedBrowserTextColor: #4a4a4a;
53
-$unsupportedBrowserTextSmallFontSize: 17px;
53
+$unsupportedBrowserTextSmallFontSize: 1rem;
54 54
 $unsupportedBrowserTitleColor: #fff;
55
-$unsupportedBrowserTitleFontSize: 24px;
55
+$unsupportedBrowserTitleFontSize: 1.5rem;
56 56
 $unsupportedDesktopBrowserTextColor: rgba(255, 255, 255, 0.7);
57
-$unsupportedDesktopBrowserTextFontSize: 21px;
57
+$unsupportedDesktopBrowserTextFontSize: 1.25rem;
58 58
 
59 59
 /**
60 60
  * The size of the default watermark.
@@ -89,7 +89,7 @@ $welcomePageHeaderContainerDisplay: flex;
89 89
 $welcomePageHeaderContainerMargin: $welcomePageHeaderContainerMarginTop auto 0;
90 90
 
91 91
 $welcomePageHeaderTextTitleMarginBottom: 0;
92
-$welcomePageHeaderTextTitleFontSize: 42px;
92
+$welcomePageHeaderTextTitleFontSize: 2.625rem;
93 93
 $welcomePageHeaderTextTitleFontWeight: normal;
94 94
 $welcomePageHeaderTextTitleLineHeight: 50px;
95 95
 $welcomePageHeaderTextTitleOpacity: 1;

+ 3
- 3
css/_videolayout_default.scss Visa fil

@@ -160,7 +160,7 @@
160 160
 }
161 161
 
162 162
 #alwaysOnTop .displayname {
163
-    font-size: 15px;
163
+    font-size: 0.875rem;
164 164
     position: inherit;
165 165
     width: 100%;
166 166
     left: 0px;
@@ -294,7 +294,7 @@
294 294
     width: auto;
295 295
     z-index: $zindex2;
296 296
     font-weight: 600;
297
-    font-size: 14px;
297
+    font-size: 0.875rem;
298 298
     text-align: center;
299 299
     color: #FFF;
300 300
     left: 50%;
@@ -340,7 +340,7 @@
340 340
 
341 341
 .presence-label {
342 342
     color: #fff;
343
-    font-size: 12px;
343
+    font-size: 0.75rem;
344 344
     font-weight: 100;
345 345
     left: 0;
346 346
     margin: 0 auto;

+ 9
- 9
css/_welcome_page.scss Visa fil

@@ -53,9 +53,9 @@ body.welcome-page {
53 53
 
54 54
         .header-text-subtitle {
55 55
             color: #fff;
56
-            font-size: 20px;
56
+            font-size: 1.25rem;
57 57
             font-weight: 600;
58
-            line-height: 26px;
58
+            line-height: 1.625rem;
59 59
             margin: 16px 0 32px 0;
60 60
             text-align: $welcomePageHeaderTextAlign;
61 61
 
@@ -64,7 +64,7 @@ body.welcome-page {
64 64
         .not-allow-title-character-div {
65 65
             color: #f03e3e;
66 66
             background-color: #fff;
67
-            font-size: 12px;
67
+            font-size: 0.75rem;
68 68
             font-weight: 600;
69 69
             margin: 10px 0px 5px 0px;
70 70
             text-align: $welcomePageHeaderTextAlign;
@@ -147,7 +147,7 @@ body.welcome-page {
147 147
                     display: inline-block;
148 148
                     height: 50px;
149 149
                     width: 100%;
150
-                    font-size: 14px;
150
+                    font-size: 0.875rem;
151 151
                     padding-left: 10px;
152 152
 
153 153
                     &.focus-visible {
@@ -172,7 +172,7 @@ body.welcome-page {
172 172
     }
173 173
 
174 174
     .tab-container {
175
-        font-size: 16px;
175
+        font-size: 1rem;
176 176
         position: relative;
177 177
         text-align: left;
178 178
         display: $welcomePageTabContainerDisplay;
@@ -191,8 +191,8 @@ body.welcome-page {
191 191
             background-color: #c7ddff;
192 192
             border-radius: 6px;
193 193
             color: #0163FF;
194
-            font-size: 14px;
195
-            line-height: 18px;
194
+            font-size: 0.875rem;
195
+            line-height: 1.125rem;
196 196
             margin: 4px;
197 197
             display: $welcomePageTabButtonsDisplay;
198 198
 
@@ -218,7 +218,7 @@ body.welcome-page {
218 218
 
219 219
     .welcome-page-button {
220 220
         border: 0;
221
-        font-size: 14px;
221
+        font-size: 0.875rem;
222 222
         background: $welcomePageButtonBg;
223 223
         border-radius: 3px;
224 224
         color: #FFFFFF;
@@ -246,7 +246,7 @@ body.welcome-page {
246 246
 
247 247
         * {
248 248
             cursor: pointer;
249
-            font-size: 32px;
249
+            font-size: 2rem;
250 250
         }
251 251
 
252 252
         .toolbox-icon {

+ 2
- 2
css/modals/invite/_add-people.scss Visa fil

@@ -20,7 +20,7 @@
20 20
             width: 28px;
21 21
 
22 22
             i {
23
-                line-height: 28px;
23
+                line-height: 1.75rem;
24 24
                 margin: auto;
25 25
             }
26 26
         }
@@ -35,7 +35,7 @@
35 35
             padding-left: 10px;
36 36
 
37 37
             i {
38
-                line-height: 20px;
38
+                line-height: 1.25rem;
39 39
                 margin: auto;
40 40
             }
41 41
         }

+ 4
- 4
css/modals/invite/_info.scss Visa fil

@@ -1,7 +1,7 @@
1 1
 .info-dialog {
2 2
     cursor: default;
3 3
     display: flex;
4
-    font-size: 14px;
4
+    font-size: 0.875rem;
5 5
 
6 6
     .info-dialog-column {
7 7
         margin-right: 10px;
@@ -53,8 +53,8 @@
53 53
     max-width: 334px;
54 54
     width: 100%;
55 55
     margin-top: 20px;
56
-    font-size: 12px;
57
-    line-height: 24px;
56
+    font-size: 0.75rem;
57
+    line-height: 1.5rem;
58 58
     border-collapse: collapse;
59 59
 
60 60
     * {
@@ -107,7 +107,7 @@
107 107
     box-sizing: border-box;
108 108
     display: flex;
109 109
     flex-direction: column;
110
-    font-size: 12px;
110
+    font-size: 0.75rem;
111 111
     max-height: 100%;
112 112
     overflow: auto;
113 113
     padding: 15pt;

+ 2
- 2
css/modals/invite/_invite_more.scss Visa fil

@@ -1,8 +1,8 @@
1 1
 .invite-more {
2 2
     &-dialog {
3 3
         color: #fff;
4
-        font-size: 15px;
5
-        line-height: 24px;
4
+        font-size: 0.875rem;
5
+        line-height: 1.5rem;
6 6
 
7 7
         &.separator {
8 8
             margin: 24px 0 24px -20px;

+ 1
- 1
css/modals/screen-share/_share-screen-warning.scss Visa fil

@@ -1,5 +1,5 @@
1 1
 .share-screen-warn-dialog {
2
-    font-size: 14px;
2
+    font-size: 0.875rem;
3 3
 
4 4
     .separator-line {
5 5
         margin: 24px 0 24px -20px;

+ 4
- 4
css/modals/security/_security.scss Visa fil

@@ -1,15 +1,15 @@
1 1
 .security {
2 2
     &-dialog {
3 3
         color: #fff;
4
-        font-size: 15px;
5
-        line-height: 24px;
4
+        font-size: 0.875rem;
5
+        line-height: 1.5rem;
6 6
 
7 7
         &.password-section {
8 8
             display: flex;
9 9
             flex-direction: column;
10 10
 
11 11
             .description {
12
-                font-size: 13px;
12
+                font-size: 0.75rem;
13 13
             }
14 14
 
15 15
             .password {
@@ -24,7 +24,7 @@
24 24
                     button {
25 25
                         cursor: pointer;
26 26
                         text-decoration: none;
27
-                        font-size: 14px;
27
+                        font-size: 0.875rem;
28 28
                         color: #6FB1EA;
29 29
                     }
30 30
 

+ 8
- 8
css/premeeting/_lobby.scss Visa fil

@@ -1,7 +1,7 @@
1 1
 .lobby-screen {
2
-    font-size: 16px;
2
+    font-size: 1rem;
3 3
     font-weight: 400;
4
-    line-height: 26px;
4
+    line-height: 1.625rem;
5 5
 
6 6
     &-content {
7 7
         align-items: center;
@@ -43,7 +43,7 @@
43 43
     flex-direction: column;
44 44
 
45 45
     .description {
46
-        font-size: 13px;
46
+        font-size: 0.75rem;
47 47
     }
48 48
 
49 49
     .control-row {
@@ -53,7 +53,7 @@
53 53
         margin-top: 15px;
54 54
 
55 55
         label {
56
-            font-size: 14px;
56
+            font-size: 0.875rem;
57 57
             font-weight: bold;
58 58
         }
59 59
     }
@@ -191,9 +191,9 @@
191 191
                 .title {
192 192
                     flex: 1;
193 193
                     color: #fff;
194
-                    font-size: 20px;
194
+                    font-size: 1.25rem;
195 195
                     font-weight: 600;
196
-                    line-height: 28px;
196
+                    line-height: 1.75rem;
197 197
                     letter-spacing: -1.2%;
198 198
                 }
199 199
             }
@@ -214,8 +214,8 @@
214 214
     border-radius: 6px;
215 215
     box-sizing: border-box;
216 216
     color: white;
217
-    font-size: 12px;
218
-    line-height: 16px;
217
+    font-size: 0.75rem;
218
+    line-height: 1rem;
219 219
     margin-bottom: 16px;
220 220
     margin-top: -8px;
221 221
     padding: 4px;

+ 4
- 4
css/premeeting/_premeeting-screens.scss Visa fil

@@ -5,9 +5,9 @@
5 5
         color: #fff;
6 6
         cursor: pointer;
7 7
         display: inline-block;
8
-        font-size: 14px;
8
+        font-size: 0.875rem;
9 9
         font-weight: 600;
10
-        line-height: 24px;
10
+        line-height: 1.5rem;
11 11
         margin-bottom: 16px;
12 12
         padding: 7px 16px;
13 13
         position: relative;
@@ -26,7 +26,7 @@
26 26
 
27 27
         &.text {
28 28
             width: auto;
29
-            font-size: 13px;
29
+            font-size: 0.75rem;
30 30
             margin: 0;
31 31
             padding: 0;
32 32
         }
@@ -98,7 +98,7 @@
98 98
         }
99 99
 
100 100
         .action-btn {
101
-            font-size: 16px;
101
+            font-size: 1rem;
102 102
             margin-bottom: 8px;
103 103
             padding: 11px 16px;
104 104
         }

+ 4
- 4
css/reload_overlay/_reload_overlay.scss Visa fil

@@ -1,13 +1,13 @@
1 1
 .reload_overlay_title {
2 2
     display: block;
3
-    font-size: 16px;
4
-    line-height: 20px;
3
+    font-size: 1rem;
4
+    line-height: 1.25rem;
5 5
 }
6 6
 
7 7
 .reload_overlay_text {
8 8
     display: block;
9
-    font-size: 12px;
10
-    line-height: 30px;
9
+    font-size: 0.75rem;
10
+    line-height: 1.875rem;
11 11
 }
12 12
 
13 13
 #reloadProgressBar {

+ 4
- 4
css/ringing/_ringing.scss Visa fil

@@ -34,12 +34,12 @@
34 34
 
35 35
     &__status{
36 36
         margin-top: 15px;
37
-        font-size: 14px;
38
-        line-height: 20px;
37
+        font-size: 0.875rem;
38
+        line-height: 1.25rem;
39 39
     }
40 40
 
41 41
     &__name {
42
-        font-size: 24px;
43
-        line-height: 32px;
42
+        font-size: 1.5rem;
43
+        line-height: 2rem;
44 44
     }
45 45
 }

+ 2
- 2
css/third-party-branding/google.scss Visa fil

@@ -8,7 +8,7 @@
8 8
     cursor: pointer;
9 9
     display: inline-flex;
10 10
     font-family: Roboto, arial, sans-serif;
11
-    font-size: 14px;
11
+    font-size: 0.875rem;
12 12
     padding: 1px;
13 13
 
14 14
     .google-cta {
@@ -17,7 +17,7 @@
17 17
         /**
18 18
          * Hack the line height for vertical centering of text.
19 19
          */
20
-        line-height: 32px;
20
+        line-height: 2rem;
21 21
         margin: 0 15px;
22 22
     }
23 23
 

+ 2
- 2
css/third-party-branding/microsoft.scss Visa fil

@@ -17,8 +17,8 @@
17 17
     .microsoft-cta {
18 18
         display: inline-block;
19 19
         color: #5E5E5E;
20
-        font-size: 15px;
21
-        line-height: 41px;
20
+        font-size: 0.875rem;
21
+        line-height: 2.5rem;
22 22
     }
23 23
 
24 24
     .microsoft-logo {

+ 26
- 26
react/features/base/ui/Tokens.ts Visa fil

@@ -138,64 +138,64 @@ export const typography = {
138 138
     labelBold: 'labelBold01',
139 139
 
140 140
     bodyShortRegularSmall: {
141
-        fontSize: 10,
142
-        lineHeight: 16,
141
+        fontSize: '0.625rem',
142
+        lineHeight: '1rem',
143 143
         fontWeight: font.weightRegular,
144 144
         letterSpacing: 0
145 145
     },
146 146
 
147 147
     bodyShortRegular: {
148
-        fontSize: 14,
149
-        lineHeight: 20,
148
+        fontSize: '0.875rem',
149
+        lineHeight: '1.25rem',
150 150
         fontWeight: font.weightRegular,
151 151
         letterSpacing: 0
152 152
     },
153 153
 
154 154
     bodyShortBold: {
155
-        fontSize: 14,
156
-        lineHeight: 20,
155
+        fontSize: '0.875rem',
156
+        lineHeight: '1.25rem',
157 157
         fontWeight: font.weightSemiBold,
158 158
         letterSpacing: 0
159 159
     },
160 160
 
161 161
     bodyShortRegularLarge: {
162
-        fontSize: 16,
163
-        lineHeight: 22,
162
+        fontSize: '1rem',
163
+        lineHeight: '1.375rem',
164 164
         fontWeight: font.weightRegular,
165 165
         letterSpacing: 0
166 166
     },
167 167
 
168 168
     bodyShortBoldLarge: {
169
-        fontSize: 16,
170
-        lineHeight: 22,
169
+        fontSize: '1rem',
170
+        lineHeight: '1.375rem',
171 171
         fontWeight: font.weightSemiBold,
172 172
         letterSpacing: 0
173 173
     },
174 174
 
175 175
     bodyLongRegular: {
176
-        fontSize: 14,
177
-        lineHeight: 24,
176
+        fontSize: '0.875rem',
177
+        lineHeight: '1.5rem',
178 178
         fontWeight: font.weightRegular,
179 179
         letterSpacing: 0
180 180
     },
181 181
 
182 182
     bodyLongRegularLarge: {
183
-        fontSize: 16,
184
-        lineHeight: 26,
183
+        fontSize: '1rem',
184
+        lineHeight: '1.625rem',
185 185
         fontWeight: font.weightRegular,
186 186
         letterSpacing: 0
187 187
     },
188 188
 
189 189
     bodyLongBold: {
190
-        fontSize: 14,
191
-        lineHeight: 24,
190
+        fontSize: '0.875rem',
191
+        lineHeight: '1.5rem',
192 192
         fontWeight: font.weightSemiBold,
193 193
         letterSpacing: 0
194 194
     },
195 195
 
196 196
     bodyLongBoldLarge: {
197
-        fontSize: 16,
198
-        lineHeight: 26,
197
+        fontSize: '1rem',
198
+        lineHeight: '1.625rem',
199 199
         fontWeight: font.weightSemiBold,
200 200
         letterSpacing: 0
201 201
     },
@@ -205,29 +205,29 @@ export const typography = {
205 205
     heading2: 'heading02',
206 206
 
207 207
     heading3: {
208
-        fontSize: 32,
209
-        lineHeight: 40,
208
+        fontSize: '2rem',
209
+        lineHeight: '2.5rem',
210 210
         fontWeight: font.weightSemiBold,
211 211
         letterSpacing: 0
212 212
     },
213 213
 
214 214
     heading4: {
215
-        fontSize: 28,
216
-        lineHeight: 36,
215
+        fontSize: '1.75rem',
216
+        lineHeight: '2.25rem',
217 217
         fontWeight: font.weightSemiBold,
218 218
         letterSpacing: 0
219 219
     },
220 220
 
221 221
     heading5: {
222
-        fontSize: 20,
223
-        lineHeight: 28,
222
+        fontSize: '1.25rem',
223
+        lineHeight: '1.75rem',
224 224
         fontWeight: font.weightSemiBold,
225 225
         letterSpacing: 0
226 226
     },
227 227
 
228 228
     heading6: {
229
-        fontSize: 16,
230
-        lineHeight: 26,
229
+        fontSize: '1rem',
230
+        lineHeight: '1.625rem',
231 231
         fontWeight: font.weightSemiBold,
232 232
         letterSpacing: 0
233 233
     }

+ 4
- 4
static/offline.html Visa fil

@@ -21,18 +21,18 @@
21 21
       align-items: center;
22 22
       flex-direction: column;
23 23
       font-family: Arial, Helvetica, sans-serif;
24
-      font-size: 14px;
24
+      font-size: 0.875rem;
25 25
       font-weight: 400;
26
-      line-height: 19px;
26
+      line-height: 1.125rem;
27 27
       margin: auto;
28 28
       max-width: 376px;
29 29
       text-align: center;
30 30
     }
31 31
 
32 32
     h4 {
33
-      font-size: 24px;
33
+      font-size: 1.5rem;
34 34
       font-weight: 600;
35
-      line-height: 32px;
35
+      line-height: 2rem;
36 36
       margin: 24px auto;
37 37
     }
38 38
 

Laddar…
Avbryt
Spara