Skip to content

Commit e3cd882

Browse files
Merge pull request #1203 from nataliauvarova/xal_proxy
part 2: fixes
2 parents fa90ec7 + 93bd2c4 commit e3cd882

File tree

3 files changed

+85
-5
lines changed

3 files changed

+85
-5
lines changed

src/api/i18n.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export const stringsToTranslate = [
9292
"antipassive",
9393
"Antonymous translation",
9494
"Any three consecutive characters",
95+
"Apply",
9596
"Apply filter",
9697
"Archive",
9798
"Are you sure you want to delete dictionary",
@@ -937,6 +938,8 @@ export const stringsToTranslate = [
937938
"Support",
938939
"Support@Telegram",
939940
"Sync",
941+
"Synchronize",
942+
"Synchronize data loading error",
940943
"Table of contents",
941944
"Tag data loading error",
942945
"Tapekhin Andrey Nikolaevich",

src/components/SyncModal/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ const SyncModal = ({ columns, onClose, perspectiveId }) => {
265265
//onClick={applySync}
266266
//loading={loadingApply}
267267
//disabled={errorApply}
268-
className="lingvo-button-greenest"
268+
className="lingvo-button-greenest lingvo-button-greenest_sync"
269269
/>
270270

271271
<Button content={getTranslation("Close")} onClick={onClose} className="lingvo-button-basic-black" />

src/components/SyncModal/styles.scss

Lines changed: 81 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
& .ui.table tr td {
3737
&:last-child {
3838
border-radius: 0 8px 8px 0 !important;
39+
40+
@media only screen and (max-device-width: 767px), only screen and (max-width: 767px) {
41+
border-radius: 0 0 8px 8px !important;
42+
}
3943
}
4044

4145
&.td-type {
@@ -50,6 +54,12 @@
5054
text-align: center;
5155
//color: #a66a12;
5256
color: #b55b27;
57+
58+
@media only screen and (max-device-width: 767px), only screen and (max-width: 767px) {
59+
display: block;
60+
padding: 6px 12px;
61+
text-align: left;
62+
}
5363
}
5464
}
5565

@@ -63,7 +73,8 @@
6373
}
6474

6575
&.td-date-sync {
66-
background-color: #feffd7 !important;
76+
//background-color: #feffd7 !important;
77+
background-color: #fdff9c !important;
6778

6879
&::before {
6980
content: "";
@@ -72,23 +83,76 @@
7283
top: 0;
7384
bottom: 0;
7485
width: 1px;
75-
border-right: 2px solid #feffd7;
86+
//border-right: 2px solid #feffd7;
87+
border-right: 2px solid #fdff9c;
7688
font-size: 0;
7789
}
7890
}
7991
}
8092

93+
& .ui.table tr td.td-type + td.td-color {
94+
&::before {
95+
content: "";
96+
position: absolute;
97+
left: -2px;
98+
top: 0;
99+
bottom: 0;
100+
width: 1px;
101+
border-right: 2px solid #57b895ce;
102+
font-size: 0;
103+
}
104+
}
105+
106+
& .ui.table tr td.td-date-sync + td.td-date {
107+
&::before {
108+
content: "";
109+
position: absolute;
110+
left: -2px;
111+
top: 0;
112+
bottom: 0;
113+
width: 1px;
114+
border-right: 2px solid #fff;
115+
font-size: 0;
116+
}
117+
118+
&.td-color {
119+
&::before {
120+
border-color: #57b895ce;
121+
}
122+
}
123+
}
124+
81125
& .ui.table tr:nth-child(2n) td {
82126
&.td-color {
83127
//background-color: #dee98a !important;
84128
background-color: #57b894 !important;
85129
}
86130

87131
&.td-date-sync {
88-
background-color: #f7f8c2 !important;
132+
//background-color: #f7f8c2 !important;
133+
background-color: #fcff79 !important;
134+
135+
&::before {
136+
//border-color: #f7f8c2;
137+
border-color: #fcff79;
138+
}
139+
}
140+
}
89141

142+
& .ui.table tr:nth-child(2n) td.td-type + td.td-color {
143+
&::before {
144+
border-color: #57b894;
145+
}
146+
}
147+
148+
& .ui.table tr:nth-child(2n) td.td-date-sync + td.td-date {
149+
&::before {
150+
border-color: #fafafa;
151+
}
152+
153+
&.td-color {
90154
&::before {
91-
border-color: #f7f8c2;
155+
border-color: #57b894;
92156
}
93157
}
94158
}
@@ -117,5 +181,18 @@
117181
}
118182

119183
&__type {
184+
font-weight: bold;
185+
color: #b55b27;
186+
}
187+
188+
@media only screen and (max-device-width: 767px), only screen and (max-width: 767px) {
189+
top: -7px;
190+
}
191+
}
192+
193+
.actions .lingvo-button-greenest {
194+
&_sync {
195+
min-height: 40px !important;
196+
border-radius: 12px !important;
120197
}
121198
}

0 commit comments

Comments
 (0)