PluginProbe
WP Bottom Menu / 2.0
WP Bottom Menu v2.0
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.0, at assets/css/style.css

128 lines 3.0 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 input[type="search"]{
102 border: 1px solid #eee;
103 border-radius: 8px;
104 width: 100%;
105 font-size: 14px;
106 height: 40px;
107 padding-left: 40px;
108 padding-right: 30px;
109 }
110
111 .wp-bottom-menu-search-form i{
112 position: absolute;
113 top: 50%;
114 left: 30px;
115 transform: translate(-50%,-50%);
116 }
117
118 /* Search Form Active */
119
120 .wp-bottom-menu-search-form-wrapper.sf-active{
121 z-index: calc(var(--wpbottommenu-zindex) - 1);
122 box-shadow: 0 -5px 10px rgba(0,0,0, 0.1);
123 transform: translateY(0);
124 }
125
126 .wp-bottom-menu.sf-active{
127 box-shadow: none;
128 }