Improved tabs layout styling (#254)
[openemr.git] / interface / main / tabs / css / menu.css
blob415433917e34f5450505319c30829e81ba0b34a3
1 /**
2 * Copyright (C) 2016 Kevin Yeh <kevin.y@integralemr.com>
4 * LICENSE: This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 3
7 * of the License, or (at your option) any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <http://opensource.org/licenses/gpl-license.php>;.
15 * @package OpenEMR
16 * @author Kevin Yeh <kevin.y@integralemr.com>
17 * @link http://www.open-emr.org
20 .top {
21 vertical-align:top;
24 .appMenu > span
26 float: left;
27 padding: 0px;
28 white-space: nowrap;
31 .appMenu
33 .appMenu > span:hover
35 color: #fff;
36 text-decoration: none;
37 background-color: #1C5ECF;
38 text-shadow: none;
40 .appMenu ul
42 list-style:none;
43 margin:0;
44 padding: 1px 5px 2px 1px;
47 .appMenu li:hover > .menuDisabled
49 background-color: transparent;
51 .menuSection{
52 position: relative;
54 .menuSection:hover {
55 background-color: #CCE3F8;
57 .menuSection > .menuEntries{
58 background:#fff;
59 display: none;
60 position: absolute;
61 top: 48px;
62 z-index:1000;
63 min-width: 175px;
64 box-shadow: 0px 5px 5px #adadad;
65 padding: 0px;
66 whitespace: nowrap;
69 .menuSection > .menuEntries .menuEntries {
70 display: none;
71 position: absolute;
72 top: -3px;
73 left: 161px;
75 .menuSection:hover > .menuEntries{
76 display: block;
79 /* Need separate styling for top level vs submenu items
80 * This currently controls ALL links in menu, no bueno
81 * --Robert Down */
82 .menuLabel
84 color: #333;
85 display:inline-block;
86 padding: 15px 10px;
87 font-weight: 600;
89 .menuLabel:hover {
90 background: #CCE3F8;
91 color: #333;
94 /** Only apply if not an actual link **/
95 div.menuLabel:hover {
96 cursor: default !important;
99 /** Sub menu **/
100 .menuEntries li .menuLabel {
101 font-size: 90%;
102 display: block;
103 padding: 10px 20px;
105 .menuEntries li .menuLabel:hover {
106 background-color: #CCE3F8;
107 color: #333;
110 .logo {
111 padding: 10px 0px;
114 .menuDisabled
116 color: #d7d7d7;
118 .menuDisabled:hover {
119 color: #d7d7d7 !important;
120 background-color: #f4f4f4 !important;
121 cursor: not-allowed;
124 #username
126 cursor: pointer;
128 .userSection
130 min-width: 200px;
131 right:10px;
134 /* Main menu bar */
135 .body_top {
136 background-color: #f4f4f4;
137 color: #333;
138 padding: 0px;
139 margin: 0px;
140 z-index: 10;
142 .body_title {
143 color: black;
144 background-color: #f4f4f4;
145 padding:10px 0px 0px 0px;
147 #username:hover > .userfunctions
149 display: block;
150 width:98%;
153 #username > .userfunctions > div:hover
155 color: red;
158 .acck {}
160 .menu_arrow {
161 bottom:0px;
162 margin: 7px 7px 2px 7px;
164 .topToolbarRight {
165 border-top:0pt;
168 .closeButton {
169 display:inline-block;
170 float:right;
171 position:relative;
172 top:6px;
173 right:5px;