codecheck

Форк
0
435 строк · 11.1 Кб
1
/// Padding of a button, must be defined with a shorthand for vertical and horizontal values e.g. ".5rem .5rem"
2
/// @group button
3
$buttonPadding: .5rem 1rem;
4

5
/// Width of a button having an icon with no label
6
/// @group button
7
$buttonIconOnlyWidth: 2.357rem;
8

9
/// Padding of a button having an icon with no label
10
/// @group button
11
$buttonIconOnlyPadding: .5rem 0;
12

13
/// Background of a button
14
/// @group button
15
$buttonBg: $primaryColor;
16

17
/// Text color of a button
18
/// @group button
19
$buttonTextColor: $primaryTextColor;
20

21
/// Border of a button
22
/// @group button
23
$buttonBorder: 1px solid $primaryColor;
24

25
/// Background of a button in hover state
26
/// @group button
27
$buttonHoverBg: $primaryDarkColor;
28

29
/// Text color of a button in hover state
30
/// @group button
31
$buttonTextHoverColor: $primaryTextColor;
32

33
/// Border color of a button in hover state
34
/// @group button
35
$buttonHoverBorderColor: $primaryDarkColor;
36

37
/// Background of a button in pressed state
38
/// @group button
39
$buttonActiveBg: $primaryDarkerColor;
40

41
/// Color of a button in pressed state
42
/// @group button
43
$buttonTextActiveColor: $primaryTextColor;
44

45
/// Border color of a button in pressed state
46
/// @group button
47
$buttonActiveBorderColor: $primaryDarkerColor;
48

49
/// Shadow of a raised button
50
/// @group button
51
$raisedButtonShadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
52

53
/// Border radius of a rounded button
54
/// @group button
55
$roundedButtonBorderRadius: 2rem;
56

57
/// Alpha level of a text button background in hover state
58
/// @group button
59
$textButtonHoverBgOpacity:.04;
60

61
/// Alpha level of a text button background in active state
62
/// @group button
63
$textButtonActiveBgOpacity:.16;
64

65
/// Border style of a outlined button
66
/// @group button
67
$outlinedButtonBorder:1px solid;
68

69
/// Text color of a plain text button
70
/// @group button
71
$plainButtonTextColor:#6c757d;
72

73
/// Background color of a plain text button in hover state
74
/// @group button
75
$plainButtonHoverBgColor:#e9ecef;
76

77
/// Background color of a plain text button in active state
78
/// @group button
79
$plainButtonActiveBgColor:#dee2e6;
80

81
/// Background of a secondary button
82
/// @group button
83
$secondaryButtonBg: #607D8B;
84

85
/// Text color of a secondary button
86
/// @group button
87
$secondaryButtonTextColor: #ffffff;
88

89
/// Border of a secondary button
90
/// @group button
91
$secondaryButtonBorder: 1px solid #607D8B;
92

93
/// Background of a secondary button in hover state
94
/// @group button
95
$secondaryButtonHoverBg: #546E7A;
96

97
/// Text color of a secondary button in hover state
98
/// @group button
99
$secondaryButtonTextHoverColor: #ffffff;
100

101
/// Border color of a secondary button in hover state
102
/// @group button
103
$secondaryButtonHoverBorderColor: #546E7A;
104

105
/// Background of a secondary button in pressed state
106
/// @group button
107
$secondaryButtonActiveBg: #455A64;
108

109
/// Text color of a secondary button in pressed state
110
/// @group button
111
$secondaryButtonTextActiveColor: #ffffff;
112

113
/// Border color of a secondary button in pressed state
114
/// @group button
115
$secondaryButtonActiveBorderColor: #455A64;
116

117
/// Box shadow of a secondary button in focused state
118
/// @group button
119
$secondaryButtonFocusShadow: 0 0 0 0.2rem #B0BEC5;
120

121
/// Background of an info button
122
/// @group button
123
$infoButtonBg: #03A9F4;
124

125
/// Text color of an info button
126
/// @group button
127
$infoButtonTextColor: #ffffff;
128

129
/// Border of an info button
130
/// @group button
131
$infoButtonBorder: 1px solid #03A9F4;
132

133
/// Background of an info button in hover state
134
/// @group button
135
$infoButtonHoverBg: #039BE5;
136

137
/// Text color of an info button in hover state
138
/// @group button
139
$infoButtonTextHoverColor: #ffffff;
140

141
/// Border color of an info button in hover state
142
/// @group button
143
$infoButtonHoverBorderColor: #039BE5;
144

145
/// Background of an info button in pressed state
146
/// @group button
147
$infoButtonActiveBg: #0288D1;
148

149
/// Text color of an info button in pressed state
150
/// @group button
151
$infoButtonTextActiveColor: #ffffff;
152

153
/// Border color of an info button in pressed state
154
/// @group button
155
$infoButtonActiveBorderColor: #0288D1;
156

157
/// Box shadow of an info button in focused state
158
/// @group button
159
$infoButtonFocusShadow: 0 0 0 0.2rem lighten($infoButtonBg, 35%);
160

161
/// Background of a success button
162
/// @group button
163
$successButtonBg: #4CAF50;
164

165
/// Text color of a success button
166
/// @group button
167
$successButtonTextColor: #ffffff;
168

169
/// Border of a success button
170
/// @group button
171
$successButtonBorder: 1px solid #4CAF50;
172

173
/// Background of a success button in hover state
174
/// @group button
175
$successButtonHoverBg: #43A047;
176

177
/// Text color of a success button in hover state
178
/// @group button
179
$successButtonTextHoverColor: #ffffff;
180

181
/// Border color of a success button in hover state
182
/// @group button
183
$successButtonHoverBorderColor: #43A047;
184

185
/// Background of a success button in pressed state
186
/// @group button
187
$successButtonActiveBg: #388E3C;
188

189
/// Text Color of a success button in pressed state
190
/// @group button
191
$successButtonTextActiveColor: #ffffff;
192

193
/// Border color of a success button in pressed state
194
/// @group button
195
$successButtonActiveBorderColor: #388E3C;
196

197
/// Box shadow of a success button in focused state
198
/// @group button
199
$successButtonFocusShadow: 0 0 0 0.2rem lighten($successButtonBg, 35%);
200

201
/// Background of a warning button
202
/// @group button
203
$warningButtonBg: #FFC107;
204

205
/// Text color of a warning button
206
/// @group button
207
$warningButtonTextColor: $textColor;
208

209
/// Border of a warning button
210
/// @group button
211
$warningButtonBorder: 1px solid #FFC107;
212

213
/// Background of a warning button in hover state
214
/// @group button
215
$warningButtonHoverBg: #FFB300;
216

217
/// Text color of a warning button in hover state
218
/// @group button
219
$warningButtonTextHoverColor: $textColor;
220

221
/// Border color of a warning button in hover state
222
/// @group button
223
$warningButtonHoverBorderColor: #FFB300;
224

225
/// Background of a warning button in pressed state
226
/// @group button
227
$warningButtonActiveBg: #FFA000;
228

229
/// Text color of a warning button in pressed state
230
/// @group button
231
$warningButtonTextActiveColor: $textColor;
232

233
/// Border color of a warning button in pressed state
234
/// @group button
235
$warningButtonActiveBorderColor: #FFA000;
236

237
/// Box shadow of a warning button in focused state
238
/// @group button
239
$warningButtonFocusShadow: 0 0 0 0.2rem lighten($warningButtonBg, 35%);
240

241
/// Background of a help button
242
/// @group button
243
$helpButtonBg:#9C27B0;
244

245
/// Text color of a help button
246
/// @group button
247
$helpButtonTextColor:#ffffff;
248

249
/// Border of a help button
250
/// @group button
251
$helpButtonBorder:1px solid #9C27B0;
252

253
/// Background of a help help in hover state
254
/// @group button
255
$helpButtonHoverBg:#8E24AA;
256

257
/// Text color of a help button in hover state
258
/// @group button
259
$helpButtonTextHoverColor:#ffffff;
260

261
/// Border color of a help button in hover state
262
/// @group button
263
$helpButtonHoverBorderColor:#8E24AA;
264

265
/// Background of a help button in pressed state
266
/// @group button
267
$helpButtonActiveBg:#7B1FA2;
268

269
/// Text color of a help button in pressed state
270
/// @group button
271
$helpButtonTextActiveColor:#ffffff;
272

273
/// Border color of a help button in pressed state
274
/// @group button
275
$helpButtonActiveBorderColor:#7B1FA2;
276

277
/// Box shadow of a help button in focused state
278
/// @group button
279
$helpButtonFocusShadow:0 0 0 0.2rem #CE93D8;
280

281
/// Background of a danger button
282
/// @group button
283
$dangerButtonBg: #f44336;
284

285
/// Text color of a danger button
286
/// @group button
287
$dangerButtonTextColor: #ffffff;
288

289
/// Border of a danger button
290
/// @group button
291
$dangerButtonBorder: 1px solid #f44336;
292

293
/// Background of a danger button in hover state
294
/// @group button
295
$dangerButtonHoverBg: #e53935;
296

297
/// Text color of a danger button in hover state
298
/// @group button
299
$dangerButtonTextHoverColor: #ffffff;
300

301
/// Border color of a danger button in hover state
302
/// @group button
303
$dangerButtonHoverBorderColor: #e53935;
304

305
/// Background of a danger button in pressed state
306
/// @group button
307
$dangerButtonActiveBg: #d32f2f;
308

309
/// Text color of a danger button in pressed state
310
/// @group button
311
$dangerButtonTextActiveColor: #ffffff;
312

313
/// Border color of a danger button in pressed state
314
/// @group button
315
$dangerButtonActiveBorderColor: #d32f2f;
316

317
/// Box shadow of a danger button in focused state
318
/// @group button
319
$dangerButtonFocusShadow: 0 0 0 0.2rem lighten($dangerButtonBg, 35%);
320

321
/// Text color of a link button
322
/// @group button
323
$linkButtonColor:$primaryDarkerColor;
324

325
/// Text color of a link button in hover state
326
/// @group button
327
$linkButtonHoverColor:$primaryDarkerColor;
328

329
/// Text decoration of a link button in hover state
330
/// @group button
331
$linkButtonTextHoverDecoration:underline;
332

333
/// Box shadow of a link button in focused state
334
/// @group button
335
$linkButtonFocusShadow: 0 0 0 0.2rem $focusOutlineColor;
336

337
/// Background of a toggle button
338
/// @group button
339
$toggleButtonBg: #ffffff;
340

341
/// Border of a toggle button
342
/// @group button
343
$toggleButtonBorder: 1px solid #ced4da;
344

345
/// Text color of a toggle button
346
/// @group button
347
$toggleButtonTextColor: $textColor;
348

349
/// Icon color of a toggle button
350
/// @group button
351
$toggleButtonIconColor: $textSecondaryColor;
352

353
/// Background of a toggle button in hover state
354
/// @group button
355
$toggleButtonHoverBg: #e9ecef;
356

357
/// Border color of a toggle button in hover state
358
/// @group button
359
$toggleButtonHoverBorderColor: #ced4da;
360

361
/// Text color of a toggle button in hover state
362
/// @group button
363
$toggleButtonTextHoverColor: $textColor;
364

365
/// Icon color of a toggle button in hover state
366
/// @group button
367
$toggleButtonIconHoverColor: $textSecondaryColor;
368

369
/// Background of a toggle button in selected state
370
/// @group button
371
$toggleButtonActiveBg: $primaryColor;
372

373
/// Border color of a toggle button in selected state
374
/// @group button
375
$toggleButtonActiveBorderColor: $primaryColor;
376

377
/// Text color of a toggle button in selected state
378
/// @group button
379
$toggleButtonTextActiveColor: $primaryTextColor;
380

381
/// Icon color of a toggle button in selected state
382
/// @group button
383
$toggleButtonIconActiveColor: $primaryTextColor;
384

385
/// Hover background of a toggle button in selected state
386
/// @group button
387
$toggleButtonActiveHoverBg: $primaryDarkColor;
388

389
/// Hover border color of a toggle button in selected state
390
/// @group button
391
$toggleButtonActiveHoverBorderColor: $primaryDarkColor;
392

393
/// Hover text color of a toggle button in selected state
394
/// @group button
395
$toggleButtonTextActiveHoverColor: $primaryTextColor;
396

397
/// Hover icon of a toggle button in selected state
398
/// @group button
399
$toggleButtonIconActiveHoverColor: $primaryTextColor;
400

401
/// Width of the speed dial button
402
/// @group button
403
$speedDialButtonWidth: 4rem;
404

405
/// Height of the speed dial button
406
/// @group button
407
$speedDialButtonHeight: 4rem;
408

409
/// Icon size of the speed dial button
410
/// @group button
411
$speedDialButtonIconFontSize: 1.3rem;
412

413
/// Width of a speed dial item
414
/// @group button
415
$speedDialActionWidth: 3rem;
416

417
/// Height of a speed dial item
418
/// @group button
419
$speedDialActionHeight: 3rem;
420

421
/// Background color of a speed dial item
422
/// @group button
423
$speedDialActionBg: #ffffff;
424

425
/// Background color of a speed dial item in hover state
426
/// @group button
427
$speedDialActionHoverBg: #F5F5F5;
428

429
/// Text color of a speed dial item
430
/// @group button
431
$speedDialActionTextColor: #212121;
432

433
/// Text color of a speed dial item in hover state
434
/// @group button
435
$speedDialActionTextHoverColor: #212121;

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.