PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / 5.0.3.2
MainWP Dashboard: Self-hosted WordPress Management for Agencies v5.0.3.2
6.2 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1 6.0.12 6.0.11 4.6.0.1 5.0 5.0.1 5.0.2 5.0.3 5.0.3.1 5.0.3.2 5.1 5.1.1 5.2 5.2.1 5.2.2 5.3 All 153 releases
mainwp / assets / js / hamburger / hamburger.css

hamburger.css in MainWP Dashboard: Self-hosted WordPress Management for Agencies 5.0.3.2, at assets/js/hamburger/hamburger.css

201 lines 5.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1
2 /*
3
4 Semantic UI Hamburger Menu (not oficial)
5 I understand why Semantic UI creators doesn't want to add more responsive debt to core project. I respect the nature of Semantic UI project because I love what these guys created there. But I need a Hamburger Menu. Maybe you too.
6 By @betoayesa.
7
8 **This file include some responsive helper clases from https://github.com/Semantic-Org/Semantic-UI/issues/1114
9 */
10
11 /* Hamburger Clases Implemented for Mobile Only. Up to you to add it for other breakpoints */
12
13 /* Hamburger hidden by default */
14
15 .hamburger {
16 display:none
17 }
18
19
20 /* Mobile */
21 @media only screen and (max-width: 1100px) {
22 [class*="mobile hidden"],
23 [class*="tablet only"]:not(.mobile),
24 [class*="computer only"]:not(.mobile),
25 [class*="large screen only"]:not(.mobile),
26 [class*="widescreen only"]:not(.mobile),
27 [class*="or lower hidden"] {
28 display: none !important;
29 }
30
31 .hamburger {
32 width: 30px;
33 height: 30px;
34 position: absolute;
35 right: 30px;
36 top: 30px;
37 cursor: pointer;
38 display: block;
39 }
40 .hamburger span {
41 display: block;
42 height: 3px;
43 background: #fff;
44 margin: 0 0 3px;
45 }
46
47 .hamburger:hover {
48 -moz-opacity: 1;
49 -khtml-opacity: 1;
50 -webkit-opacity: 1;
51 opacity: 1;
52 -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
53 filter: alpha(opacity=100);
54 -moz-transition-duration: .2s;
55 -webkit-transition-duration: .2s;
56 -o-transition-duration: .2s;
57 transition-duration: .2s;
58 }
59
60 .hamburger.active {
61
62 }
63
64 .hamburger.active .hamburger-bun {
65 margin: 0;
66 -webkit-transform-origin: center center;
67 -moz-transform-origin: center center;
68 -o-transform-origin: center center;
69 transform-origin: center center;
70 }
71
72 .hamburger.active .hamburger-bun:first-child {
73 -webkit-transform: rotate(45deg);
74 -moz-transform: rotate(45deg);
75 -o-transform: rotate(45deg);
76 -ms-transform: rotate(45deg);
77 transform: rotate(45deg);
78 -webkit-transition: all .2s ease-out;
79 -moz-transition: all .2s ease-out;
80 -o-transition: all .2s ease-out;
81 transition: all .2s ease-out;
82 -webkit-transition: all .2s ease;
83 -moz-transition: all .2s ease;
84 -ms-transition: all .2s ease;
85 -o-transition: all .2s ease;
86 transition: all .2s ease;
87 margin-top: 3px;
88 }
89 .hamburger.active .hamburger-bun:last-child {
90 -webkit-transform: rotate(-45deg);
91 -moz-transform: rotate(-45deg);
92 -o-transform: rotate(-45deg);
93 -ms-transform: rotate(-45deg);
94 transform: rotate(-45deg);
95 -webkit-transition: all .2s ease-out;
96 -moz-transition: all .2s ease-out;
97 -o-transition: all .2s ease-out;
98 transition: all .2s ease-out;
99 -webkit-transition: all .2s ease;
100 -moz-transition: all .2s ease;
101 -ms-transition: all .2s ease;
102 -o-transition: all .2s ease;
103 transition: all .2s ease;
104 margin-top: -3px;
105 }
106
107 .hamburger.active .hamburger-patty {
108 display: none;
109 }
110
111 #mainwp-main-menu .item:not(.header){
112 display:none;
113 }
114
115 #mainwp-main-menu.open .item{
116 display:block;
117 }
118
119 #mainwp-main-menu.open {
120 height:inherit
121 }
122
123 #mainwp-main-menu.open {
124 height:inherit
125 }
126
127 .mainwp-nav-menu #mainwp-main-menu .item-wp-admin{
128 position: inherit !important;
129 }
130 #mainwp-top-header {
131 position: inherit !important;
132 }
133 }
134
135
136
137
138 /* Tablet / iPad Portrait */
139 @media only screen and (min-width: 768px) and (max-width: 991px) {
140 [class*="mobile only"]:not(.tablet),
141 [class*="tablet hidden"],
142 [class*="computer only"]:not(.tablet),
143 [class*="large screen only"]:not(.tablet),
144 [class*="widescreen only"]:not(.tablet),
145 [class*="or lower hidden"]:not(.mobile) {
146 display: none !important;
147 }
148 }
149
150 /* Computer / Desktop / iPad Landscape */
151 @media only screen and (min-width: 992px) and (max-width: 1199px) {
152 [class*="mobile only"]:not(.computer),
153 [class*="tablet only"]:not(.computer),
154 [class*="computer hidden"],
155 [class*="large screen only"]:not(.computer),
156 [class*="widescreen only"]:not(.computer),
157 [class*="or lower hidden"]:not(.tablet):not(.mobile) {
158 display: none !important;
159 }
160 }
161
162 /* Large Monitor */
163 @media only screen and (min-width: 1200px) and (max-width: 1919px) {
164 [class*="mobile only"]:not([class*="large screen"]),
165 [class*="tablet only"]:not([class*="large screen"]),
166 [class*="computer only"]:not([class*="large screen"]),
167 [class*="large screen hidden"],
168 [class*="widescreen only"]:not([class*="large screen"]),
169 [class*="or lower hidden"]:not(.computer):not(.tablet):not(.mobile) {
170 display: none !important;
171 }
172 }
173
174 /* Widescreen Monitor */
175 @media only screen and (min-width: 1920px) {
176 [class*="mobile only"]:not([class*="widescreen"]),
177 [class*="tablet only"]:not([class*="widescreen"]),
178 [class*="computer only"]:not([class*="widescreen"]),
179 [class*="large screen only"]:not([class*="widescreen"]),
180 [class*="widescreen hidden"],
181 [class*="widescreen or lower hidden"] {
182 display: none !important;
183 }
184 }
185
186 /* Fix inverted menu dropdowns */
187 .ui.menu.inverted .ui.dropdown .menu.inverted>.item{
188 background: #1c1d1b;
189 color:white;
190 }
191 .ui.menu.inverted .dropdown.item .menu {
192 background: #1c1d1b;
193 color:white;
194 }
195 .ui.menu.inverted .ui.dropdown .menu>.item:hover {
196 color: rgba(0,0,0,.05)!important;
197 cursor:pointer;
198 cursor:'hand';
199 background: rgba(0,0,0,.95)!important;
200 }
201