Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a68682b

Browse files
committed
Enhance template 1265 with left-aligned icons, improved pricing layout, and dark theme hover effects
1 parent e352239 commit a68682b

File tree

1 file changed

+72
-11
lines changed

1 file changed

+72
-11
lines changed

css/1265.css

Lines changed: 72 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,39 @@
8989
.template-1265 .bears_pricing_tables .price {
9090
display: flex;
9191
align-items: center;
92-
justify-content: flex-start;
92+
justify-content: center;
9393
}
9494

95-
.template-1265 .bears_pricing_tables .plan-cost {
95+
.template-1265 .bears_pricing_tables .price .plan-icon {
96+
display: flex;
97+
align-items: center;
98+
margin-right: auto;
99+
margin-left: -8px;
100+
padding-right: .25em;
101+
}
102+
103+
.template-1265 .bears_pricing_tables .price .wrapper {
96104
display: block;
97105
text-align: left;
98106
}
107+
108+
.template-1265 .bears_pricing_tables .plan-title {
109+
text-align: left;
110+
}
111+
112+
.template-1265 .bears_pricing_tables .plan-cost {
113+
display: flex;
114+
align-items: baseline;
115+
text-align: left;
116+
padding: 0;
117+
justify-content: flex-start;
118+
}
119+
120+
.template-1265 .bears_pricing_tables .plan-price {
121+
display: inline-block;
122+
margin-right: 5px;
123+
}
124+
99125
.template-1265 .bears_pricing_tables .plan-type {
100126
display: inline-block;
101127
}
@@ -109,27 +135,23 @@
109135
border-bottom: none;
110136
}
111137

112-
113-
.template-1265 .bears_pricing_tables .plan-select {
114-
border-radius: 40px !important;
115-
}
116-
117138
.template-1265 .bears_pricing_tables .plan.featured .plan-select {
118139
border-top: 1px solid rgba(255, 255, 255, 0.1);
119140
}
120141

121142
.template-1265 .bears_pricing_tables .plan-select a:hover {
122-
background-color: #262626;
143+
background-color: #262626 !important;
123144
}
124145

146+
.template-1265 .bears_pricing_tables .plan.featured .plan-select:hover,
125147
.template-1265 .bears_pricing_tables .plan-select:hover {
126148
border-top: 1px solid rgba(255, 255, 255, 0.1);
127-
background-color: rgba(0, 0, 0, 0.2);
149+
background-color: #000 !important;
128150
}
129151

130152
.template-1265 .bears_pricing_tables .plan-select a,
131153
.template-1265 .bears_pricing_tables .plan-select a.btn {
132-
border-radius: inherit;
154+
border-radius: 40px !important;
133155
}
134156

135157
.template-1265 .bears_pricing_tables .plan.featured .plan-select a,
@@ -158,5 +180,44 @@
158180

159181
.template-1265 .bears_pricing_tables .plan-cost {
160182
margin: 0;
161-
display: block;
183+
display: flex;
184+
align-items: baseline;
185+
}
186+
187+
/* Ensure consistent styling for all columns */
188+
.template-1265 .bears_pricing_tables .plan {
189+
display: flex;
190+
flex-direction: column;
191+
}
192+
193+
.template-1265 .bears_pricing_tables header {
194+
display: flex;
195+
flex-direction: column;
196+
align-items: center;
197+
}
198+
199+
/* Hover effects for columns */
200+
.template-1265 .bears_pricing_tables:hover .plan header,
201+
.template-1265 .bears_pricing_tables:hover .plan .features,
202+
.template-1265 .bears_pricing_tables:hover .plan .plan-select {
203+
background-color: rgba(0, 0, 0, 0.9);
204+
transition: background-color var(--bears-transition-speed) ease;
205+
}
206+
207+
/* Ensure feature list items maintain the hover effect */
208+
.template-1265 .bears_pricing_tables:hover .plan .plan-features li:nth-child(odd),
209+
.template-1265 .bears_pricing_tables:hover .plan .plan-features li:nth-child(even) {
210+
background-color: rgba(0, 0, 0, 0.9);
211+
}
212+
213+
/* Ensure the hover effect works for featured plans too */
214+
.template-1265 .bears_pricing_tables:hover .plan.featured header,
215+
.template-1265 .bears_pricing_tables:hover .plan.featured .features,
216+
.template-1265 .bears_pricing_tables:hover .plan.featured .plan-select {
217+
background-color: rgba(0, 0, 0, 0.9);
218+
}
219+
220+
.template-1265 .bears_pricing_tables:hover .plan.featured .plan-features li:nth-child(odd),
221+
.template-1265 .bears_pricing_tables:hover .plan.featured .plan-features li:nth-child(even) {
222+
background-color: rgba(0, 0, 0, 0.9);
162223
}

0 commit comments

Comments
 (0)