diff options
author | Devaev Maxim <[email protected]> | 2020-07-15 10:34:49 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-07-15 10:34:49 +0300 |
commit | 6fa59bd7a136bdda7640abb1748910aa52031a02 (patch) | |
tree | 80dacd72bd058f492bbb1a31d9e639c5b7d70621 /web/share/css/menu.css | |
parent | 3e7315c44872995108b5512c3a9b11d48dbc0f33 (diff) |
kvm pug
Diffstat (limited to 'web/share/css/menu.css')
-rw-r--r-- | web/share/css/menu.css | 172 |
1 files changed, 0 insertions, 172 deletions
diff --git a/web/share/css/menu.css b/web/share/css/menu.css deleted file mode 100644 index 0a84b303..00000000 --- a/web/share/css/menu.css +++ /dev/null @@ -1,172 +0,0 @@ -/***************************************************************************** -# # -# KVMD - The main Pi-KVM daemon. # -# # -# Copyright (C) 2018 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/>. # -# # -*****************************************************************************/ - - -ul#menu { - box-shadow: var(--shadow-small); - list-style-type: none; - margin: 0; - padding: 0; - background-color: var(--cs-menu-default-bg); - position: fixed; - top: 0; - width: 100%; - height: 50px; - z-index: 2147483646; -} - -ul#menu li.menu-right-items { - border-left: var(--border-menu-thin); - float: right; -} - -ul#menu li.menu-left-items { - border-right: var(--border-menu-thin); - float: left; -} - -ul#menu li a#menu-logo { - line-height: 50px; - outline: none; - cursor: pointer; - display: inline-block; - color: var(--cs-menu-default-fg); - padding-left: 16px; - padding-right: 16px; - text-decoration: none; -} - -ul#menu li a.menu-item img { - vertical-align: middle; - margin-right: 10px; - height: 20px; -} - -ul#menu li a#menu-logo img { - margin-top: -2px; - height: 24px; -} - -ul#menu li a.menu-item { - line-height: 50px; - outline: none; - cursor: pointer; - display: inline-block; - color: var(--cs-menu-default-fg); - padding-left: 16px; - padding-right: 16px; - text-decoration: none; -} - -ul#menu li a#menu-logo:hover:not(.active), -ul#menu li a.menu-item:hover:not(.active) { - background-color: var(--cs-menu-hovered-bg); -} -@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { - /* iPad 8 */ - ul#menu li a#menu-item:hover:not(.active), - ul#menu li a.menu-item:hover:not(.active) { - background-color: var(--cs-menu-default-bg) !important; - } -} - -ul#menu li a.menu-item-selected { - box-shadow: var(--shadow-menu-pressed); - background-color: var(--cs-menu-pressed-bg) !important; -} - -ul#menu li div.menu-item-content { - visibility: hidden; - outline: none; - overflow: hidden; - white-space: nowrap; - border: var(--border-menu-item-content-default-2px); - border-top: var(--border-menu-item-content-top-thin); - border-radius: 0 0 8px 8px; - position: absolute; - background-color: var(--cs-menu-default-bg); - min-width: 180px; - box-shadow: var(--shadow-big); - z-index: 2147483645; -} -ul#menu li div.menu-item-content-active { - border: var(--border-menu-item-content-active-2px) !important; - border-top: var(--border-menu-item-content-top-thin) !important; -} - -ul#menu li div.menu-item-content-buttons { - background-color: var(--cs-control-default-bg); -} - -ul#menu li div.menu-item-content-text { - margin: 10px 15px 10px 15px; - font-size: 14px; -} - -ul#menu li div.menu-item-content-text table.one-line-switch { - width: 100%; - border-collapse: collapse; -} -@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) { - @supports (-webkit-appearance: none) { - ul#menu li div.menu-item-content-text table.one-line-switch { - margin: 20px 0 20px 0 !important; - } - } -} - -ul#menu li div.menu-item-content table.menu-item-content-kv { - -webkit-user-select: text; - -moz-user-select: text; - user-select: text; - border-spacing: 5px; - margin: 0 10px 0 10px; - font-size: 12px; -} -ul#menu li div.menu-item-content table.menu-item-content-kv td.value { - font-weight: bold; - max-width: 310px; - overflow: hidden; -} - -ul#menu li div.menu-item-content-buttons button, -ul#menu li div.menu-item-content-buttons select { - box-shadow: none; - border: none; - border-radius: 0; - text-align: left; - padding: 0 16px; -} - -ul#menu li div.menu-item-content hr { - margin: 0; - display: block; - height: 0px; - padding: 0; - border: none; - border-top: var(--border-control-thin); -} - -ul#menu li div.menu-item-content img.sign { - vertical-align: middle; - margin-right: 10px; - height: 20px; -} |