PluginProbe
WP Bottom Menu / 2.1.2
WP Bottom Menu v2.1.2
trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1 1.1.1 1.1.2 1.2 1.3 1.3.2 1.4 1.4.2 1.4.3 2.0 2.0.1 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.2 2.2.1 2.2.2 All 27 releases
wp-bottom-menu / assets / css / style.css

style.css in WP Bottom Menu 2.1.2, at assets/css/style.css

181 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .wp-bottom-menu{
2 display: none;
3 background: var(--wpbottommenu-bgcolor);
4 width: 100%;
5 position: fixed;
6 bottom: 0;
7 left: 0;
8 justify-content: space-around;
9 padding: var(--wpbottommenu-wrapper-padding);
10 box-shadow: 0 -5px 10px rgba(0,0,0, 0.1);
11 z-index: var(--wpbottommenu-zindex);
12 transition: all 200ms;
13 }
14
15 .wp-bottom-menu-item{
16 position: relative;
17 display: flex;
18 flex-direction: column;
19 justify-content: center;
20 align-items: center;
21 height: auto;
22 flex: 1;
23 font-size: var(--wpbottommenu-font-size);
24 text-decoration: none;
25 color: var(--wpbottommenu-text-color);
26 cursor: pointer;
27 user-select: none;
28 text-decoration: none!important;
29 transition: color 200ms;
30 }
31
32 .wp-bottom-menu-item:hover,
33 .wp-bottom-menu-item.active,
34 .wp-bottom-menu.sf-active .wp-bottom-menu-item.wp-bottom-menu-search-form-trigger{
35 color: var(--wpbottommenu-h-text-color);
36 }
37
38 .wp-bottom-menu-item span{
39 margin-top: 5px;
40 color: inherit;
41 }
42
43 .wp-bottom-menu-item i{
44 font-size: var(--wpbottommenu-icon-size);
45 color: var(--wpbottommenu-icon-color);
46 font-family: FontAwesome;
47 transition: color 200ms;
48 }
49
50 .wp-bottom-menu-item:hover i,
51 .wp-bottom-menu-item.active i,
52 .wp-bottom-menu.sf-active .wp-bottom-menu-item.wp-bottom-menu-search-form-trigger i{
53 color: var(--wpbottommenu-h-icon-color);
54 }
55
56 .wp-bottom-menu-item svg{
57 fill: var(--wpbottommenu-icon-color);
58 width: var(--wpbottommenu-icon-size);
59 height: var(--wpbottommenu-icon-size);
60 }
61
62 .wp-bottom-menu-item:hover svg,
63 .wp-bottom-menu-item.active svg{
64 fill: var(--wpbottommenu-h-icon-color);
65 }
66
67 .wp-bottom-menu-icon-wrapper{
68 position: relative;
69 line-height: 0;
70 }
71
72 .wp-bottom-menu-cart-count{
73 position: absolute;
74 box-sizing: content-box;
75 top: -5px;
76 left: 50%;
77 width: calc(var(--wpbottommenu-icon-size) * .75);
78 height: calc(var(--wpbottommenu-icon-size) * .75);
79 font-size: calc(var(--wpbottommenu-icon-size) * .5);
80 line-height: calc(var(--wpbottommenu-icon-size) * .75);
81 border: 2px solid var(--wpbottommenu-bgcolor);
82 border-radius: 100%;
83 text-align: center;
84 background: var(--wpbottommenu-cart-count-bgcolor);
85 color: var(--wpbottommenu-bgcolor);
86 font-weight:bold;
87 }
88
89 .wp-bottom-menu-search-form-wrapper{
90 display: none;
91 position: fixed;
92 bottom: 0;
93 left: 0;
94 width: 100%;
95 background: var(--wpbottommenu-bgcolor);
96 padding: 10px;
97 transition: all 200ms;
98 transform: translateY(100%);
99 }
100
101 .wp-bottom-menu-search-form-wrapper form{
102 position: relative;
103 }
104
105 .wp-bottom-menu-search-form input[type="search"]{
106 border: 1px solid #eee;
107 border-radius: 8px;
108 width: 100%;
109 font-size: 14px;
110 height: 40px;
111 padding-left: 50px;
112 padding-right: 30px;
113 }
114
115 .wp-bottom-menu-search-form i,
116 .wp-bottom-menu-search-form svg{
117 position: absolute;
118 top: 50%;
119 left: 30px;
120 transform: translate(-50%,-50%);
121 }
122
123 /* Search Form Active */
124
125 .wp-bottom-menu-search-form-wrapper.sf-active{
126 z-index: calc(var(--wpbottommenu-zindex) - 1);
127 box-shadow: 0 -5px 10px rgba(0,0,0, 0.1);
128 transform: translateY(0);
129 }
130
131 .wp-bottom-menu.sf-active{
132 box-shadow: none;
133 }
134
135 /* Nav */
136
137 .wp-bottom-menu-nav-wrapper{
138 display: none;
139 width: 100%;
140 height: 100%;
141 z-index: calc(var(--wpbottommenu-zindex) + 2 );
142 position: fixed;
143 left: 0;
144 top: 0;
145 background: var(--wpbottommenu-bgcolor);
146 color: var(--wpbottommenu-text-color);
147 }
148
149 .wp-bottom-menu-nav-wrapper.active{
150 display: grid;
151 place-items: center;
152 text-align: center;
153 }
154
155 .wpbm-nav-items{
156 position: relative;
157 list-style-type: none;
158 margin: 0;
159 padding: 1em;
160 }
161
162 .wpbm-nav-items li:not(:last-child){
163 margin-bottom: 1em;
164 }
165
166 .wpbm-nav-items li a{
167 color: inherit;
168 }
169
170 .wpbm-nav-items li.current-menu-item a,
171 .wpbm-nav-items li a:hover{
172 color: var(--wpbottommenu-h-text-color);
173 }
174
175 .wpbm-nav-close{
176 position: absolute;
177 right: 10%;
178 top: 10%;
179 font-size: var(--wpbottommenu-icon-size);
180 color: inherit;
181 }