This repository has been archived by the owner on Oct 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
/
variables.less
125 lines (108 loc) · 3.71 KB
/
variables.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/*
* Font
*/
@font_family: Lato, sans-serif;
@font_face_path: 'https://kloudless-cors.s3.amazonaws.com/font/lato-v16-latin-regular.woff';
@font_face_name: 'Lato';
@font_face_format: 'woff';
@font_size_lg: 14px;
@font_size_md: 12px;
@font_size_sm: 10px;
/*
* Basic Layout Color
*/
@main_color: #5a81e6;
@primary_text_color: #000000;
@secondary_text_color: #7f7f7f;
@disabled_text_color: #b2b2b2;
@error_text_color: hsl(351, 90%, 60%);
/*
* Section and Container
*/
@container_color: #f6f7fa;
@section_primary_bg_color: #ffffff;
@section_primary_hover_bg_color: #e8e8e8;
@section_secondary_bg_color: #f6f7fa;
@section_line_color: #eeeeee;
@selected_bg_color: @main_color;
@selected_hover_bg_color: darken(@selected_bg_color, 10%);
@selected_text_color: #fff;
@new_loaded_bg_color: #FCFAE8;
@new_loaded_text_color: @primary_text_color;
/*
* Button, Icon Button and Link Button
*/
@icon_btn_hover_color: #e8e8e8;
@link_btn_text_color: @main_color;
@link_btn_text_hover_color: darken(@main_color, 10%);
@primary_btn_text_color: #ffffff;
@primary_btn_color: @main_color;
@primary_btn_hover_color: darken(@main_color, 10%);
@primary_btn_disable_color: #c2ceef;
@primary_btn_disable_text_color: #ffffff;
@primary_btn_shadow_color: #d9d9d9;
@secondary_btn_text_color: @main_color;
@secondary_btn_color: #ffffff;
@secondary_btn_hover_color: #e8e8e8;
@secondary_btn_disable_color: #ffffff;
@secondary_btn_disable_text_color: #c2ceef;
@secondary_btn_shadow_color: rgba(209, 209, 209, 0.25);
/*
* Icon
*/
@icon_base: 'https://kloudless-static-assets.s3.amazonaws.com/common/explorer/icon';
@icon_loading: "@{icon_base}/loading.svg";
@icon_back: "@{icon_base}/back.svg";
@icon_back_hovered: "@{icon_base}/back-hovered.svg";
@icon_next: "@{icon_base}/next.svg";
@icon_logout: "@{icon_base}/close.svg";
@icon_logout_hovered: "@{icon_base}/close-hovered.svg";
@icon_close: "@{icon_base}/close.svg";
@icon_close_hovered: "@{icon_base}/close-hovered.svg";
@icon_my_device: "@{icon_base}/my-device/[email protected]";
@icon_my_device_lg: "@{icon_base}/my-device/[email protected]";
@icon_manage_accounts: "@{icon_base}/account-manage/[email protected]";
@icon_checked: "@{icon_base}/checked.svg";
@icon_root_dir: "@{icon_base}/root-dir/[email protected]";
@icon_folder: "@{icon_base}/folder/[email protected]";
@icon_file: "@{icon_base}/file/[email protected]";
@icon_search: "@{icon_base}/search.svg";
@icon_search_hovered: "@{icon_base}/search-hovered.svg";
@icon_refresh: "@{icon_base}/refresh/[email protected]";
@icon_new_folder: "@{icon_base}/new-folder/[email protected]";
@icon_brand: "@{icon_base}/brand.svg";
@icon_sort: "@{icon_base}/sort.svg";
@icon_sort_asc: "@{icon_base}/sort_asc.svg";
@icon_sort_desc: "@{icon_base}/sort_desc.svg";
/*
* Color for creating new folder input, account dropdown input,
* and filename input of Saver.
*/
@input_color: #ffffff;
@input_border_color: #eeeeee;
/*
* The shade of the overlay present when loading responses to API requests.
*/
@loading_overlay_color: rgba(209, 209, 209, 0.5);
/*
* The shade of connector icon blocks on the account management page.
*/
@shadow_color: rgba(209, 209, 209, 0.5);
/*
* Border radius used for most buttons and blocks.
*/
@border_radius: 3px;
/*
* Success/Error dialog
*/
@dialog_shadow_color: rgba(0, 0, 0, 0.56);
@dialog_overlay_color: hsla(360, 100%, 100%, 0.61);
@dialog_success_bg_color: @section_primary_bg_color;
@dialog_success_title_color: @primary_text_color;
@dialog_success_message_color: @secondary_text_color;
@dialog_success_icon_color: @main_color;
@dialog_error_bg_color: @section_primary_bg_color;
@dialog_error_title_color: @primary_text_color;
@dialog_error_message_color: @secondary_text_color;
@dialog_error_icon_color: hsl(351, 90%, 60%);
@dialog_btn_border_color: hsla(0, 5%, 85%, 1);