Skip to content

Commit e9da69f

Browse files
committed
code refactoring, localization of used strings, theme-based colors in CSS
1 parent 8d5fc5d commit e9da69f

File tree

9 files changed

+912
-492
lines changed

9 files changed

+912
-492
lines changed
Lines changed: 66 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,86 @@
1+
@import "~office-ui-fabric-react/dist/sass/References.scss";
2+
13
.FieldEditor {
2-
padding: 4px 3px;
4+
padding: 4px 3px;
35
}
46

57
.fieldLabel {
6-
font-weight : 600;
7-
font-size : 12px;
8-
padding-top : 5px;
9-
padding-bottom : 5px;
10-
font-family : "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
11-
-webkit-font-smoothing: antialiased;
12-
font-size : 14px;
13-
font-weight : 600;
14-
color : rgb(50, 49, 48);
15-
box-sizing : border-box;
16-
box-shadow : none;
17-
margin : 0px;
18-
padding : 5px 0px;
19-
overflow-wrap : break-word;
8+
font-weight: 600;
9+
font-size: 12px;
10+
padding-top: 5px;
11+
padding-bottom: 5px;
12+
font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
13+
"Helvetica Neue", sans-serif;
14+
-webkit-font-smoothing: antialiased;
15+
font-size: 14px;
16+
font-weight: 600;
17+
color: "[theme:neutralPrimary, default:#323130]";
18+
box-sizing: border-box;
19+
box-shadow: none;
20+
margin: 0px;
21+
padding: 5px 0px;
22+
overflow-wrap: break-word;
2023
}
2124

2225
.fieldIcon {
23-
align-self : center;
24-
font-size : 13px;
25-
color : #605e5c;
26-
margin-right: 8px;
26+
align-self: center;
27+
font-size: 13px;
28+
color: "[theme:neutralSecondary, default: #605e5c]";
29+
margin-right: 8px;
2730
}
2831

2932
.feildDisplay {
30-
display : inline-block;
31-
vertical-align: top;
32-
width : 100%;
33-
font-size : 14px;
34-
font-weight : 400;
35-
outline : 0;
36-
padding : 6px 0 7px 0;
37-
border : 2px solid #ffffff;
38-
margin-left : -2px;
33+
display: inline-block;
34+
vertical-align: top;
35+
width: 100%;
36+
font-size: 14px;
37+
font-weight: 400;
38+
outline: 0;
39+
padding: 6px 0 7px 0;
40+
border: 2px solid;
41+
border-color: "[theme:white, default:#ffffff]";
42+
margin-left: -2px;
3943
}
4044

4145
.fieldRequired::after {
42-
content : " *";
43-
color : rgb(164, 38, 44);
44-
padding-right: 12px;
46+
content: " *";
47+
color: "[theme:errorText, default:#a4262c]";
48+
padding-right: 12px;
4549
}
4650

4751
.buttons {
48-
padding: 15px 4px;
52+
padding: 15px 4px;
53+
}
54+
55+
.filePicker {
56+
padding: 7px;
57+
align-items: center;
58+
}
59+
60+
.errormessage {
61+
animation-duration: 0.367s;
62+
animation-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
63+
animation-fill-mode: both;
64+
font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
65+
"Helvetica Neue", sans-serif;
66+
-webkit-font-smoothing: antialiased;
67+
font-size: 12px;
68+
font-weight: 400;
69+
color: "[theme:errorText, default:#a4262c]";
70+
margin: 0px;
71+
padding-top: 5px;
72+
display: flex;
73+
align-items: center;
74+
}
75+
76+
.fieldContainer {
77+
padding-bottom: 4px;
4978
}
5079

51-
.filePicker
52-
{
53-
padding: 7px;
54-
align-items: center;
80+
.labelContainer {
81+
padding-bottom: 7px;
5582
}
5683

57-
.errormessage{
58-
animation-name: css-102, css-115;
59-
animation-duration: 0.367s;
60-
animation-timing-function: cubic-bezier(0.1, 0.9, 0.2, 1);
61-
animation-fill-mode: both;
62-
font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
63-
-webkit-font-smoothing: antialiased;
64-
font-size: 12px;
65-
font-weight: 400;
66-
color: rgb(164, 38, 44);
67-
margin: 0px;
68-
padding-top: 5px;
69-
display: flex;
70-
align-items: center;
71-
}
84+
.pickersContainer {
85+
padding: 6px 0 7px;
86+
}

0 commit comments

Comments
 (0)