summaryrefslogtreecommitdiff
path: root/web/share/css/x-mobile.css
blob: fef5f4baf3ff24a68143a7c775efa27660481733 (plain)
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
/*****************************************************************************
#                                                                            #
#    KVMD - The main PiKVM daemon.                                           #
#                                                                            #
#    Copyright (C) 2018-2024  Maxim Devaev <[email protected]>               #
#                                                                            #
#    This program is free software: you can redistribute it and/or modify    #
#    it under the terms of the GNU General Public License as published by    #
#    the Free Software Foundation, either version 3 of the License, or       #
#    (at your option) any later version.                                     #
#                                                                            #
#    This program is distributed in the hope that it will be useful,         #
#    but WITHOUT ANY WARRANTY; without even the implied warranty of          #
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           #
#    GNU General Public License for more details.                            #
#                                                                            #
#    You should have received a copy of the GNU General Public License       #
#    along with this program.  If not, see <https://www.gnu.org/licenses/>.  #
#                                                                            #
*****************************************************************************/


/* ===== main.css ===== */

button:active,
select:active,
input[type=file]:active::-webkit-file-selector-button,
input[type=file]:active::file-selector-button {
	color: var(--cs-control-hovered-fg);
	background-color: var(--cs-control-hovered-bg);
}

@media only screen and (orientation: portrait) {
	button,
	select,
	input[type=text],
	input[type=password],
	input[type=file]::-webkit-file-selector-button,
	input[type=file]::file-selector-button {
		height: 45px !important;
	}
}


/* ===== window.css ===== */

div.window {
	padding-top: 45px !important;
}
div.window div.window-header {
	height: 35px !important;
}
div.window div.window-header div.window-grab {
	height: 35px !important;
}
div.window div.window-header button.window-button-full-screen,
div.window div.window-header button.window-button-enter-full-tab,
div.window div.window-header button.window-button-original,
div.window div.window-header button.window-button-maximize,
div.window div.window-header button.window-button-close {
	height: 40px !important;
}


/* ===== modal.css ===== */

@media only screen and (orientation: portrait) {
	div.modal-buttons button {
		height: 50px !important;
	}
}


/* ===== navbar.css ===== */

ul#navbar li a#logo:hover:not(.active),
ul#navbar li a.menu-button:hover:not(.active) {
	background-color: var(--cs-navbar-default-bg);
}


/* ===== radio.css ===== */

/*@media only screen and (orientation: portrait) {
	div.radio-box input[type=radio] + label {
		height: 30px !important;
	}
}*/


/* ===== slider.css ===== */

/*@media only screen and (orientation: portrait) {
	@supports (-webkit-appearance: none) {
		input[type=range].slider {
			margin: 20px 0 20px 0 !important;
		}
	}
}*/


/* ===== tabs.css ===== */

@media only screen and (orientation: portrait) {
	div.tabs-box label {
		height: 30px !important;
	}
}


/* ===== keypad.css ===== */

div.keypad {
	zoom: 1.28 !important;
}

div.keypad div.key:hover,
div.keypad div.modifier:hover {
	color: var(--cs-key-default-fg);
	background-color: var(--cs-key-default-bg);
}