PluginProbe
WP Bottom Menu / 1.4
WP Bottom Menu v1.4
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 / inc / style.css

style.css in WP Bottom Menu 1.4, at inc/style.css

123 lines 2.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-icon-wrapper{
63 position: relative;
64 line-height: 0;
65 }
66
67 .wp-bottom-menu-cart-count{
68 position: absolute;
69 box-sizing: content-box;
70 top: -5px;
71 left: 50%;
72 width: calc(var(--wpbottommenu-icon-size) * .75);
73 height: calc(var(--wpbottommenu-icon-size) * .75);
74 font-size: calc(var(--wpbottommenu-icon-size) * .5);
75 line-height: calc(var(--wpbottommenu-icon-size) * .75);
76 border: 2px solid var(--wpbottommenu-bgcolor);
77 border-radius: 100%;
78 text-align: center;
79 background: var(--wpbottommenu-cart-count-bgcolor);
80 color: var(--wpbottommenu-bgcolor);
81 font-weight:bold;
82 }
83
84 .wp-bottom-menu-search-form-wrapper{
85 display: none;
86 position: fixed;
87 bottom: 0;
88 left: 0;
89 width: 100%;
90 background: var(--wpbottommenu-bgcolor);
91 padding: 10px;
92 transition: all 200ms;
93 transform: translateY(100%);
94 }
95
96 .wp-bottom-menu-search-form input[type="search"]{
97 border: 1px solid #eee;
98 border-radius: 8px;
99 width: 100%;
100 font-size: 14px;
101 height: 40px;
102 padding-left: 40px;
103 padding-right: 30px;
104 }
105
106 .wp-bottom-menu-search-form i{
107 position: absolute;
108 top: 50%;
109 left: 30px;
110 transform: translate(-50%,-50%);
111 }
112
113 /* Search Form Active */
114
115 .wp-bottom-menu-search-form-wrapper.sf-active{
116 z-index: calc(var(--wpbottommenu-zindex) - 1);
117 box-shadow: 0 -5px 10px rgba(0,0,0, 0.1);
118 transform: translateY(0);
119 }
120
121 .wp-bottom-menu.sf-active{
122 box-shadow: none;
123 }