-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcustom_portal.css
153 lines (136 loc) · 3.4 KB
/
custom_portal.css
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
/*
===============================================================================
- yunoInfinite theme, made with ♥ by Finger-san
Based on Clouds theme from YunoHost and released under AGPL-3.0, see the
LICENSE file for more info.
===============================================================================
*/
/*
===============================================================================
This file contain extra CSS rules to customize the YunoHost user portal and
can be used to customize app tiles, buttons, etc...
===============================================================================
*/
/* Loading Source Code Pro Regular & Bold */
@font-face {
font-family: 'source_code_probold';
src: url('fonts/sourceCodePro-Bold.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'source_code_proregular';
src: url('fonts/sourceCodePro-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
/* Login page customization */
.messages {
font-family: 'source_code_probold';
color: #FFF;
}
.messages.info {
background: rgba(0, 0, 0, 0.6);
border-style: solid;
border-color: rgba(255, 197, 8, 0.8);
}
.messages.danger {
background: rgba(100, 0, 0, 0.8);
}
.login-form .form-group {
background: none;
}
.login-form .form-text {
background: rgba(0, 0, 0, 0.8);
color: rgba(255, 197, 8);
}
/* Edit profile page, fitting the Infinite Kekeness */
.btn {
font-family: 'source_code_proregular';
}
.btn:hover {
font-family: 'source_code_probold';
}
.link-btn {
background: rgba(0, 0, 0, 0.6);
}
.link-btn:hover {
font-family: ('source_code_probold');
text-decoration: none;
background: rgba(255, 197, 8, 0.8);
color: black;
}
.classic-btn {
background: rgba(0, 0, 0, 0.6);
}
.classic-btn:hover {
font-family: ('source_code_probold');
background: rgba(255, 197, 8, 0.8);
color: black;
}
.form-text {
font-family: 'source_code_proregular';
background: rgba(50, 50, 50, 0.8);
}
.validate-btn {
font-family: 'source_code_proregular';
background: rgba(0, 50, 0, 0.8);
}
.validate-btn:hover {
font-family: 'source_code_probold';
color: black;
}
.form-group {
font-family: 'source_code_probold' !important;
}
/* Make page texts yellow */
.user-container h2,
.user-container small,
.user-container .user-mail,
.user-container .user-mail,
.content .footer a,
a.app-tile,
#ynh-logout {
color: rgb(255, 197, 8) !important;
font-family: 'source_code_proregular'; /* Font changed */
}
#ynh-logout:hover {
font-family: 'source_code_probold';
color: black !important;
background-color: rgb(225, 197, 8);
}
.user-container .user-username {
font-family: 'source_code_probold';
}
.user-container .user-fullname {
font-family: 'source_code_proregular';
}
.ynh-user-portal {
background-image: url("background.jpg");
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 100%;
}
/* Apps colors */
.app-tile {
background-color: rgba(0, 0, 0, 0.5) !important;
border-style: solid;
border-color: rgba(255, 197, 8);
}
.app-tile:hover {
background-image: url("./tileHoverTexture.png");
background-repeat: no-repeat;
background-size: cover;
}
.app-tile:hover:after,
.app-tile:focus:after,
.app-tile:hover:before,
.app-tile:focus:before {
background: rgba(255, 197, 8, 0.8) !important;
}
/* Use a custom logo image */
#ynh-logo {
z-index: 10;
background-image: url("./yunoInfinite.png");
}