|
61 | 61 | --bears-header-border: 1px solid rgba(0, 0, 0, .15); |
62 | 62 |
|
63 | 63 | /* Borders - Buttons */ |
64 | | - --bears-button-border-radius: 4px; |
| 64 | + --bears-button-border-radius: 40px; |
65 | 65 |
|
66 | 66 | /* Borders - Featured */ |
67 | | - --bears-featured-border-radius: 8px; |
| 67 | + --bears-featured-border-radius: 0; |
68 | 68 | --bears-featured-border-width: 2px; |
69 | 69 | --bears-featured-border-style: var(--bears-border-style); |
70 | 70 | --bears-featured-border-color: rgba(255, 255, 255, 0.05); |
|
74 | 74 | --bears-featured-accent-color: #ffffff; |
75 | 75 | --bears-transition-speed: 0.25s; |
76 | 76 | --bears-scale-amount: 1.1; |
77 | | - --bears-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); |
78 | | - --bears-featured-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); |
| 77 | + --bears-box-shadow: 0 0 5px rgba(0, 0, 0, 0.25); |
| 78 | + --bears-featured-box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); |
79 | 79 |
|
80 | 80 | /* Icons */ |
81 | 81 | --bears-header-icon-color: #F39C12; |
|
87 | 87 |
|
88 | 88 | /* Template-specific styles */ |
89 | 89 | .template-1265 .bears_pricing_tables .price { |
90 | | - display: flex; |
| 90 | + display: grid; |
| 91 | + grid-template-columns: auto 1fr auto; |
91 | 92 | align-items: center; |
92 | 93 | justify-content: center; |
| 94 | + width: 100%; |
| 95 | + max-width: 90%; |
| 96 | + margin: 0 auto; |
93 | 97 | } |
94 | 98 |
|
95 | | -.template-1265 .bears_pricing_tables .price .plan-icon { |
| 99 | +.template-1265 .bears_pricing_tables header { |
| 100 | + padding: 20px 10px; |
| 101 | + } |
| 102 | + |
| 103 | +.template-1265 .bears_pricing_tables .price .plan-icon.price-left { |
96 | 104 | display: flex; |
97 | 105 | align-items: center; |
98 | | - margin-right: auto; |
99 | | - margin-left: -8px; |
100 | | - padding-right: .25em; |
| 106 | + grid-column: 1; |
101 | 107 | } |
102 | 108 |
|
103 | 109 | .template-1265 .bears_pricing_tables .price .wrapper { |
104 | 110 | display: block; |
105 | 111 | text-align: left; |
| 112 | + grid-column: 2; |
| 113 | + min-width: 0; /* Allow text to wrap within the cell */ |
| 114 | + overflow: hidden; |
| 115 | + } |
| 116 | + |
| 117 | +.template-1265 .bears_pricing_tables .price .plan-icon.price-right { |
| 118 | + display: flex; |
| 119 | + align-items: center; |
| 120 | + grid-column: 3; |
| 121 | + margin-right: -8px; |
| 122 | + padding-left: .25em; |
106 | 123 | } |
107 | 124 |
|
108 | 125 | .template-1265 .bears_pricing_tables .plan-title { |
109 | 126 | text-align: left; |
| 127 | + margin-bottom: 5px; |
| 128 | + word-wrap: break-word; |
| 129 | + white-space: normal; |
| 130 | + word-break: break-word; |
110 | 131 | } |
111 | 132 |
|
112 | 133 | .template-1265 .bears_pricing_tables .plan-cost { |
|
115 | 136 | text-align: left; |
116 | 137 | padding: 0; |
117 | 138 | justify-content: flex-start; |
| 139 | + flex-wrap: wrap; |
118 | 140 | } |
119 | 141 |
|
120 | 142 | .template-1265 .bears_pricing_tables .plan-price { |
|
135 | 157 | border-bottom: none; |
136 | 158 | } |
137 | 159 |
|
| 160 | +.template-1265 .bears_pricing_tables .plan-select, |
138 | 161 | .template-1265 .bears_pricing_tables .plan.featured .plan-select { |
139 | 162 | border-top: 1px solid rgba(255, 255, 255, 0.1); |
| 163 | + background: #1E1E1E; |
140 | 164 | } |
141 | 165 |
|
142 | 166 | .template-1265 .bears_pricing_tables .plan-select a:hover { |
|
149 | 173 | background-color: #000 !important; |
150 | 174 | } |
151 | 175 |
|
152 | | -.template-1265 .bears_pricing_tables .plan-select a, |
153 | | -.template-1265 .bears_pricing_tables .plan-select a.btn { |
154 | | - border-radius: 40px !important; |
155 | | - } |
156 | | - |
157 | 176 | .template-1265 .bears_pricing_tables .plan.featured .plan-select a, |
158 | 177 | .template-1265 .bears_pricing_tables .plan.featured .plan-select a.btn { |
159 | 178 | color: var(--bears-featured-button-text-color); |
160 | | - border-radius: inherit; |
| 179 | + border-radius: var(--bears-button-border-radius); |
161 | 180 | } |
162 | 181 |
|
163 | 182 | .template-1265 .bears_pricing_tables .plan.featured header { |
|
173 | 192 |
|
174 | 193 | .template-1265 .bears_pricing_tables [class*="price-left"], |
175 | 194 | .template-1265 .bears_pricing_tables .plan header [class*="price-left"], |
176 | | -.template-1265 .bears_pricing_tables .plan header div[class*="price-left"] { |
| 195 | +.template-1265 .bears_pricing_tables .plan header div[class*="price-left"], |
| 196 | +.template-1265 .bears_pricing_tables [class*="price-right"], |
| 197 | +.template-1265 .bears_pricing_tables .plan header [class*="price-right"], |
| 198 | +.template-1265 .bears_pricing_tables .plan header div[class*="price-right"] { |
177 | 199 | color: var(--bears-button-background-color); |
178 | 200 | float: none; |
179 | 201 | } |
|
221 | 243 | .template-1265 .bears_pricing_tables:hover .plan.featured .plan-features li:nth-child(even) { |
222 | 244 | background-color: rgba(0, 0, 0, 0.9); |
223 | 245 | } |
| 246 | + |
| 247 | +/* Scale the price-left and price-right icons on hover */ |
| 248 | +.template-1265 .bears_pricing_tables:hover .price-left, |
| 249 | +.template-1265 .bears_pricing_tables:hover .plan header .price-left, |
| 250 | +.template-1265 .bears_pricing_tables:hover .plan header div.price-left, |
| 251 | +.template-1265 .bears_pricing_tables:hover .price-right, |
| 252 | +.template-1265 .bears_pricing_tables:hover .plan header .price-right, |
| 253 | +.template-1265 .bears_pricing_tables:hover .plan header div.price-right { |
| 254 | + transform: scale(var(--bears-scale-amount)); |
| 255 | + transition: transform var(--bears-transition-speed) ease; |
| 256 | + } |
| 257 | + |
| 258 | +/* Also apply to the icons inside the price-left and price-right containers */ |
| 259 | +.template-1265 .bears_pricing_tables:hover .price-left i, |
| 260 | +.template-1265 .bears_pricing_tables:hover .plan header .price-left i, |
| 261 | +.template-1265 .bears_pricing_tables:hover .plan header div.price-left i, |
| 262 | +.template-1265 .bears_pricing_tables:hover .price-right i, |
| 263 | +.template-1265 .bears_pricing_tables:hover .plan header .price-right i, |
| 264 | +.template-1265 .bears_pricing_tables:hover .plan header div.price-right i { |
| 265 | + transform: scale(var(--bears-scale-amount)); |
| 266 | + transition: transform var(--bears-transition-speed) ease; |
| 267 | + } |
| 268 | + |
| 269 | +/* Media queries for responsive behavior */ |
| 270 | +@media (max-width: 768px) { |
| 271 | + .template-1265 .bears_pricing_tables .price { |
| 272 | + grid-template-columns: auto 1fr auto; |
| 273 | + } |
| 274 | + |
| 275 | + .template-1265 .bears_pricing_tables .plan-title { |
| 276 | + font-size: 1.2rem; |
| 277 | + } |
| 278 | +} |
0 commit comments