This repository has been archived by the owner on May 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.less
157 lines (129 loc) · 4.21 KB
/
styles.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
// Main
@main-color: #0082C9;
@main-background-color: #0082C9;
@main-background-image: none;
@main-background-size: inherit;
// Loading
@loading-color: #0082C9;
@loading-text-shadow: 0;
// Login
@login-color: #555;
@login-background-color: #0082C9;
@login-rgba-background-color: rgba(0, 0, 0, 0);
@login-box-shadow: 0;
@login-border: none;
@login-border-radius: 7px;
@login-gradient-start: none;
@login-gradient-end: none;
@powered-color: #ddd;
@languages-color: #fff;
@spinner-background: rgba(0, 0, 0, .3);
@spinner-color: #fff;
// Menu
@dropdown-menu-color: #333;
@dropdown-menu-background-color: #fff;
@dropdown-menu-hover-background-color: @main-color;
@dropdown-menu-hover-color: #fff;
@dropdown-menu-disable-color: #bbb;
@dropdown-menu-selected-background-color: #eee;
// Folders
@folders-color: #fff;
@folders-disabled-color: darken(@folders-color, 20%);
@folders-selected-color: #fff;
@folders-selected-background-color: #2b333d;
@folders-selected-rgba-background-color: rgba(0, 0, 0, 0.25);
@folders-focused-color: #fff;
@folders-focused-background-color: #2b333d;
@folders-focused-rgba-background-color: rgba(0, 0, 0, 0.15);
@folders-hover-color: #fff;
@folders-hover-background-color: #2b333d;
@folders-hover-rgba-background-color: rgba(0, 0, 0, 0.10);
@folders-drop-color: #fff;
@folders-drop-background-color: #2b333d;
@folders-drop-rgba-background-color: rgba(0, 0, 0, 0.35);
// Settings
@settings-menu-color: #fff;
@settings-menu-disabled-color: #aaa;
@settings-menu-selected-color: #fff;
@settings-menu-selected-background-color: #2b333d;
@settings-menu-selected-rgba-background-color: rgba(0, 0, 0, 0.5);
@settings-menu-hover-color: #fff;
@settings-menu-hover-background-color: #2b333d;
@settings-menu-hover-rgba-background-color: rgba(0, 0, 0, 0.5);
// Message List
@message-list-toolbar-background-color: #f8f8f8;
@message-list-toolbar-rgba-background-color: rgba(248, 248, 248, 1);
@message-list-toolbar-gradient-start: false;
@message-list-toolbar-gradient-end: false;
// Message
@message-background-color: #fff;
@message-rgba-background-color: rgba(255, 255, 255, 1);
// >> CUSTOM
// > LOGIN
// Transparent background for the login form
.b-login-content .loginFormWrapper .loginForm {
background: transparent !important;
}
// > MAILBOX (Main view with mails)
.messageList .second-toolbar {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.messageList .b-footer {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
background: #f8f8f8 !important;
}
.messageView .b-content {
border-radius: 0 !important;
}
// Removes the shadow at the top of the page
body:before {
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
box-shadow: none !important;
}
// No round buttons (only applies to big buttons like 'Send')
.btn {
-webkit-border-radius: 0 !important;
-moz-border-radius: 0 !important;
border-radius: 0 !important;
}
// A adjusted color for the horizontal ruler
.b-folders .b-list-delimiter {
border-bottom: 1px solid #ccc;
}
// Transparent background behind the user name
.accountPlace {
background-color: transparent !important;
text-shadow: none !important;
}
// > USER SETTINGS
// User Panel Sidebar (hovered items)
.b-content.thm-settings-menu .b-settings-menu .e-item.selectable:hover .e-link {
background-color: @folders-hover-rgba-background-color !important;
}
// User Panel Sidebar (selected item)
.b-content.thm-settings-menu .b-settings-menu .e-item.selectable.selected .e-link {
background-color: @folders-selected-rgba-background-color !important;
}
// No roundness and yes there's a writing mistake within "b-settins"
.b-settins-right .b-content {
border-radius: 0;
}
// > ADMIN SETTINGS
// Admin Panel Sidebar (hovered items)
.b-content.thm-settings-menu .b-admin-menu .e-item.selectable:hover .e-link {
background-color: @folders-hover-rgba-background-color !important;
}
// Admin Panel Sidebar (selected item)
.b-content.thm-settings-menu .b-admin-menu .e-item.selectable.selected .e-link {
background-color: @folders-selected-rgba-background-color !important;
}
.b-admin-right .b-content {
border-radius: 0;
}
/*
For more information take a look at the default Nextcloud Theme:
https://github.com/nextcloud/server/blob/master/core/css/variables.scss
*/