PluginProbe
WP Bottom Menu / 1.3
WP Bottom Menu v1.3
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.3, at inc/style.css

108 lines 2.5 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 }
30 .wp-bottom-menu-item span{
31 margin-top: 5px;
32 color: var(--wpbottommenu-text-color)
33 }
34
35 .wp-bottom-menu-item i{
36 font-size: var(--wpbottommenu-icon-size);
37 color: var(--wpbottommenu-icon-color);
38 font-family: FontAwesome;
39 }
40
41 .wp-bottom-menu-item svg{
42 fill: var(--wpbottommenu-icon-color);
43 width: var(--wpbottommenu-icon-size);
44 height: var(--wpbottommenu-icon-size);
45 }
46
47 .wp-bottom-menu-icon-wrapper{
48 position: relative;
49 line-height: 0;
50 }
51
52 .wp-bottom-menu-cart-count{
53 position: absolute;
54 box-sizing: content-box;
55 top: -5px;
56 left: 50%;
57 width: calc(var(--wpbottommenu-icon-size) * .75);
58 height: calc(var(--wpbottommenu-icon-size) * .75);
59 font-size: calc(var(--wpbottommenu-icon-size) * .5);
60 line-height: calc(var(--wpbottommenu-icon-size) * .75);
61 border: 2px solid var(--wpbottommenu-bgcolor);
62 border-radius: 100%;
63 text-align: center;
64 background: var(--wpbottommenu-cart-count-bgcolor);
65 color: var(--wpbottommenu-bgcolor);
66 font-weight:bold;
67 }
68
69 .wp-bottom-menu-search-form-wrapper{
70 display: none;
71 position: fixed;
72 bottom: 0;
73 left: 0;
74 width: 100%;
75 background: var(--wpbottommenu-bgcolor);
76 padding: 10px;
77 transition: all 200ms;
78 transform: translateY(100%);
79 }
80
81 .wp-bottom-menu-search-form input[type="search"]{
82 border: 1px solid #eee;
83 border-radius: 8px;
84 width: 100%;
85 font-size: 14px;
86 height: 40px;
87 padding-left: 40px;
88 padding-right: 30px;
89 }
90
91 .wp-bottom-menu-search-form i{
92 position: absolute;
93 top: 50%;
94 left: 30px;
95 transform: translate(-50%,-50%);
96 }
97
98 /* Search Form Active */
99
100 .wp-bottom-menu-search-form-wrapper.sf-active{
101 z-index: calc(var(--wpbottommenu-zindex) - 1);
102 box-shadow: 0 -5px 10px rgba(0,0,0, 0.1);
103 transform: translateY(0);
104 }
105
106 .wp-bottom-menu.sf-active{
107 box-shadow: none;
108 }