PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / 5.2.1
MainWP Dashboard: Self-hosted WordPress Management for Agencies v5.2.1
6.2.2 6.2.1 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 All 155 releases
mainwp / assets / js / hamburger / hamburger.css

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

200 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: relative;
35 margin: 10px auto 0 auto;
36 cursor: pointer;
37 display: block;
38 }
39 .hamburger span {
40 display: block;
41 height: 3px;
42 background: #fff;
43 margin: 0 0 3px;
44 }
45
46 .hamburger:hover {
47 -moz-opacity: 1;
48 -khtml-opacity: 1;
49 -webkit-opacity: 1;
50 opacity: 1;
51 -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
52 filter: alpha(opacity=100);
53 -moz-transition-duration: .2s;
54 -webkit-transition-duration: .2s;
55 -o-transition-duration: .2s;
56 transition-duration: .2s;
57 }
58
59 .hamburger.active {
60
61 }
62
63 .hamburger.active .hamburger-bun {
64 margin: 0;
65 -webkit-transform-origin: center center;
66 -moz-transform-origin: center center;
67 -o-transform-origin: center center;
68 transform-origin: center center;
69 }
70
71 .hamburger.active .hamburger-bun:first-child {
72 -webkit-transform: rotate(45deg);
73 -moz-transform: rotate(45deg);
74 -o-transform: rotate(45deg);
75 -ms-transform: rotate(45deg);
76 transform: rotate(45deg);
77 -webkit-transition: all .2s ease-out;
78 -moz-transition: all .2s ease-out;
79 -o-transition: all .2s ease-out;
80 transition: all .2s ease-out;
81 -webkit-transition: all .2s ease;
82 -moz-transition: all .2s ease;
83 -ms-transition: all .2s ease;
84 -o-transition: all .2s ease;
85 transition: all .2s ease;
86 margin-top: 3px;
87 }
88 .hamburger.active .hamburger-bun:last-child {
89 -webkit-transform: rotate(-45deg);
90 -moz-transform: rotate(-45deg);
91 -o-transform: rotate(-45deg);
92 -ms-transform: rotate(-45deg);
93 transform: rotate(-45deg);
94 -webkit-transition: all .2s ease-out;
95 -moz-transition: all .2s ease-out;
96 -o-transition: all .2s ease-out;
97 transition: all .2s ease-out;
98 -webkit-transition: all .2s ease;
99 -moz-transition: all .2s ease;
100 -ms-transition: all .2s ease;
101 -o-transition: all .2s ease;
102 transition: all .2s ease;
103 margin-top: -3px;
104 }
105
106 .hamburger.active .hamburger-patty {
107 display: none;
108 }
109
110 #mainwp-main-menu .item:not(.header){
111 display:none;
112 }
113
114 #mainwp-main-menu.open .item{
115 display:block;
116 }
117
118 #mainwp-main-menu.open {
119 height:inherit
120 }
121
122 #mainwp-main-menu.open {
123 height:inherit
124 }
125
126 .mainwp-nav-menu #mainwp-main-menu .item-wp-admin{
127 position: inherit !important;
128 }
129 #mainwp-top-header {
130 position: inherit !important;
131 }
132 }
133
134
135
136
137 /* Tablet / iPad Portrait */
138 @media only screen and (min-width: 768px) and (max-width: 991px) {
139 [class*="mobile only"]:not(.tablet),
140 [class*="tablet hidden"],
141 [class*="computer only"]:not(.tablet),
142 [class*="large screen only"]:not(.tablet),
143 [class*="widescreen only"]:not(.tablet),
144 [class*="or lower hidden"]:not(.mobile) {
145 display: none !important;
146 }
147 }
148
149 /* Computer / Desktop / iPad Landscape */
150 @media only screen and (min-width: 992px) and (max-width: 1199px) {
151 [class*="mobile only"]:not(.computer),
152 [class*="tablet only"]:not(.computer),
153 [class*="computer hidden"],
154 [class*="large screen only"]:not(.computer),
155 [class*="widescreen only"]:not(.computer),
156 [class*="or lower hidden"]:not(.tablet):not(.mobile) {
157 display: none !important;
158 }
159 }
160
161 /* Large Monitor */
162 @media only screen and (min-width: 1200px) and (max-width: 1919px) {
163 [class*="mobile only"]:not([class*="large screen"]),
164 [class*="tablet only"]:not([class*="large screen"]),
165 [class*="computer only"]:not([class*="large screen"]),
166 [class*="large screen hidden"],
167 [class*="widescreen only"]:not([class*="large screen"]),
168 [class*="or lower hidden"]:not(.computer):not(.tablet):not(.mobile) {
169 display: none !important;
170 }
171 }
172
173 /* Widescreen Monitor */
174 @media only screen and (min-width: 1920px) {
175 [class*="mobile only"]:not([class*="widescreen"]),
176 [class*="tablet only"]:not([class*="widescreen"]),
177 [class*="computer only"]:not([class*="widescreen"]),
178 [class*="large screen only"]:not([class*="widescreen"]),
179 [class*="widescreen hidden"],
180 [class*="widescreen or lower hidden"] {
181 display: none !important;
182 }
183 }
184
185 /* Fix inverted menu dropdowns */
186 .ui.menu.inverted .ui.dropdown .menu.inverted>.item{
187 background: #1c1d1b;
188 color:white;
189 }
190 .ui.menu.inverted .dropdown.item .menu {
191 background: #1c1d1b;
192 color:white;
193 }
194 .ui.menu.inverted .ui.dropdown .menu>.item:hover {
195 color: rgba(0,0,0,.05)!important;
196 cursor:pointer;
197 cursor:'hand';
198 background: rgba(0,0,0,.95)!important;
199 }
200