summaryrefslogtreecommitdiff
path: root/web/share/css/menu.css
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/css/menu.css')
-rw-r--r--web/share/css/menu.css113
1 files changed, 113 insertions, 0 deletions
diff --git a/web/share/css/menu.css b/web/share/css/menu.css
new file mode 100644
index 00000000..151b82b1
--- /dev/null
+++ b/web/share/css/menu.css
@@ -0,0 +1,113 @@
+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 {
+ float: right;
+}
+
+ul#menu li.menu-left-items {
+ float: left;
+}
+
+ul#menu li a#menu-logo {
+ line-height: 50px;
+ outline: none;
+ cursor: pointer;
+ border-right: var(--border-menu-thin);
+ display: inline-block;
+ color: var(--cs-menu-default-fg);
+ padding-left: 16px;
+ padding-right: 16px;
+ text-decoration: none;
+}
+
+ul#menu 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;
+ border-left: var(--border-menu-thin);
+ 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), 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), 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 button, select {
+ 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);
+}