Skip to content

Commit f42d215

Browse files
committed
fix: css important
1 parent 40b2f95 commit f42d215

24 files changed

Lines changed: 1008 additions & 1004 deletions

File tree

info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "language",
3-
"version": "1.2.4",
3+
"version": "1.2.5",
44
"description": {
55
"zh_tw": "TREM-Lite Language Plugin"
66
},

lang/en-US/index/index.css

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
html[lang="en-US"] {
44
.version-check-text::before {
5-
content: "New version";
5+
content: "New version" !important;
66
}
77

88
.info-number {
99
&:not(:empty)::before {
10-
content: "#";
10+
content: "#" !important;
1111
}
1212
&:not(:empty)::after {
13-
content: "";
13+
content: "" !important;
1414
}
1515
}
1616

1717
.cancel-title span::before {
18-
content: "Cancel";
18+
content: "Cancel" !important;
1919
}
2020

2121
.cancel-body span::before {
22-
content: "This earthquake warning canceled.";
22+
content: "This earthquake warning canceled." !important;
2323
}
2424

2525
.no-eew.rts-trigger-low .info-unit::after {
@@ -35,19 +35,19 @@ html[lang="en-US"] {
3535
}
3636

3737
.eew-cancel .info-unit::before {
38-
content: "Cancel ";
38+
content: "Cancel " !important;
3939
}
4040

4141
.eew-warn .info-unit::before {
42-
content: "Warning ";
42+
content: "Warning " !important;
4343
}
4444

4545
.eew-alert .info-unit::before {
46-
content: "Warning alert ";
46+
content: "Warning alert " !important;
4747
}
4848

4949
.eew-rts .info-unit::before {
50-
content: "Single-Point earthquake detection ";
50+
content: "Single-Point earthquake detection " !important;
5151
}
5252

5353
.info-cancel-last::after {
@@ -59,109 +59,109 @@ html[lang="en-US"] {
5959
}
6060

6161
.no-eew .info-unit::after {
62-
content: "No earthquake warning";
62+
content: "No earthquake warning" !important;
6363
}
6464

6565
.info-intensity::after {
66-
content: "Est. maximum intensity";
66+
content: "Est. maximum intensity" !important;
6767
}
6868

6969
.info-nsspe span::before {
70-
content: "NSSPE";
70+
content: "NSSPE" !important;
7171
}
7272

7373
.info-mag-text::after,
7474
.report-box-item-wrapper:first-child .report-mag-text::after {
75-
content: "Mag.";
75+
content: "Mag." !important;
7676
}
7777

7878
.info-depth-text::after,
7979
.report-depth-text::after {
80-
content: "Depth";
80+
content: "Depth" !important;
8181
}
8282

8383
.current-station-intensity-text::before {
84-
content: "Intensity";
84+
content: "Intensity" !important;
8585
}
8686
.current-station-pga-text::before {
87-
content: "PGA";
87+
content: "PGA" !important;
8888
}
8989

9090
.intensity-report::before {
91-
content: "Intensity report";
91+
content: "Intensity report" !important;
9292
}
9393

9494
.source-report::before {
95-
content: "Earthquake hypocenter report";
95+
content: "Earthquake hypocenter report" !important;
9696
}
9797

9898
.earthquake-report::before {
99-
content: "Earthquake report";
99+
content: "Earthquake report" !important;
100100
}
101101

102102
.tsunami-warning::before {
103-
content: "Tsunami warning";
103+
content: "Tsunami warning" !important;
104104
}
105105

106106
.earthquake-warning::before {
107-
content: "Earthquake warning";
107+
content: "Earthquake warning" !important;
108108
}
109109

110110
.report-intensity-text::before {
111-
content: "Max Intensity";
111+
content: "Max Intensity" !important;
112112
}
113113

114114
.web-detection::before {
115-
content: "Detection";
115+
content: "Detection" !important;
116116
}
117117

118118
.web-report::before {
119-
content: "Report";
119+
content: "Report" !important;
120120
}
121121

122122
.report-replay::before {
123-
content: "Replay";
123+
content: "Replay" !important;
124124
}
125125

126126
.report-box-items .survey .report-loc:before {
127-
content: "Epicenter under assessment";
127+
content: "Epicenter under assessment" !important;
128128
}
129129

130130
.rts-intenisty-list-text::before {
131-
content: "Intensity ranking by seismicity";
131+
content: "Intensity ranking by seismicity" !important;
132132
}
133133

134134
.max-intensity-text::before {
135-
content: "Max Intensity";
135+
content: "Max Intensity" !important;
136136
}
137137

138138
.max-pga-text::before {
139-
content: "Max PGA";
139+
content: "Max PGA" !important;
140140
}
141141

142142
.internet-error .title:before {
143-
content: "Network connection error";
143+
content: "Network connection error" !important;
144144
}
145145

146146
.unstable .title:before {
147-
content: "Unstable";
147+
content: "Unstable" !important;
148148
}
149149

150150
.unstable .warning-message-text span {
151151
&:nth-child(1)::before {
152-
content: "Observation points may be";
152+
content: "Observation points may be" !important;
153153
}
154154
&:nth-child(2)::before {
155-
content: "unstable due to seismic activity";
155+
content: "unstable due to seismic activity" !important;
156156
}
157157
}
158158

159159
.internet-error .warning-message-text span {
160160
&:nth-child(1)::before {
161-
content: "Network connection error";
161+
content: "Network connection error" !important;
162162
}
163163
&:nth-child(2)::before {
164-
content: "please try again later";
164+
content: "please try again later" !important;
165165
}
166166
}
167167
}

lang/en-US/plugin_edit/index.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
html[lang="en-US"] {
22
.visual-editor-title:before {
3-
content: "Visual editor";
3+
content: "Visual editor" !important;
44
}
55
.btn-remove:before {
6-
content: "Delete";
6+
content: "Delete" !important;
77
}
88
.btn-add:before {
9-
content: "Add item";
9+
content: "Add item" !important;
1010
}
1111
.root::before {
12-
content: "New root level fields";
12+
content: "New root level fields" !important;
1313
}
1414
.json-error:before {
15-
content: "JSON format error";
15+
content: "JSON format error" !important;
1616
}
1717
.yaml-transfer-error:before {
18-
content: "YAML Conversion Error";
18+
content: "YAML Conversion Error" !important;
1919
}
2020
.yaml-extract-error:before {
21-
content: "YAML parsing error";
21+
content: "YAML parsing error" !important;
2222
}
2323
.auto-save-success:before {
24-
content: "Auto save successful";
24+
content: "Auto save successful" !important;
2525
}
2626
.auto-save-error:before {
27-
content: "Auto save Failure";
27+
content: "Auto save Failure" !important;
2828
}
2929
.load-error:before {
30-
content: "Read Error";
30+
content: "Read Error" !important;
3131
}
3232
}

0 commit comments

Comments
 (0)