PluginProbe
Yatra – Travel Booking & Tour Operator Software / trunk
Yatra – Travel Booking & Tour Operator Software vtrunk
3.0.14 3.0.14.1 3.0.14.2 3.0.12 3.0.13 3.0.11 3.0.10 3.0.9 3.0.8 3.0.7 3.0.6 3.0.5 3.0.5.1 3.0.4 3.0.3 3.0.2.9 3.0.2.7 3.0.2.8 3.0.2.6 trunk 1.0.0 2.0.0 2.0.1 2.0.10 2.0.11 All 82 releases
yatra / assets / css / shortcodes / trip-shortcode.css

trip-shortcode.css in Yatra – Travel Booking & Tour Operator Software trunk, at assets/css/shortcodes/trip-shortcode.css

209 lines 4.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* Trip Shortcode Styles */
2 .yatra-tour-shortcode {
3 margin: 30px 0;
4 position: relative;
5 }
6
7 .yatra-tour-shortcode.yatra-loading::before {
8 content: '';
9 position: absolute;
10 top: 0;
11 left: 0;
12 right: 0;
13 bottom: 0;
14 background: rgba(255, 255, 255, 0.8);
15 z-index: 10;
16 }
17
18 .yatra-tour-shortcode.yatra-loading::after {
19 content: '';
20 position: absolute;
21 top: 50%;
22 left: 50%;
23 width: 30px;
24 height: 30px;
25 margin: -15px 0 0 -15px;
26 border: 3px solid #f3f3f3;
27 border-top: 3px solid var(--yatra-primary, #3b82f6);
28 border-radius: 50%;
29 animation: yatra-spin 1s linear infinite;
30 z-index: 11;
31 }
32
33 .yatra-tour-header {
34 display: flex;
35 justify-content: space-between;
36 align-items: center;
37 margin-bottom: 30px;
38 padding-bottom: 15px;
39 border-bottom: 1px solid #e5e7eb;
40 }
41
42 .yatra-tour-title {
43 margin: 0;
44 color: #1f2937;
45 font-size: 1.875rem;
46 font-weight: 600;
47 }
48
49 .yatra-tour-count {
50 color: #6b7280;
51 font-size: 0.875rem;
52 }
53
54 /* Scoped to shortcode/block so listing.css archive grids never override column counts */
55 .yatra-tour-shortcode .yatra-tour-grid {
56 display: grid;
57 gap: 30px;
58 }
59
60 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-1 {
61 grid-template-columns: 1fr;
62 }
63
64 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-2 {
65 grid-template-columns: repeat(2, 1fr);
66 }
67
68 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-3 {
69 grid-template-columns: repeat(3, 1fr);
70 }
71
72 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-4 {
73 grid-template-columns: repeat(4, 1fr);
74 }
75
76 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-5 {
77 grid-template-columns: repeat(5, 1fr);
78 }
79
80 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-6 {
81 grid-template-columns: repeat(6, 1fr);
82 }
83
84 .yatra-tour-empty {
85 text-align: center;
86 padding: 60px 20px;
87 color: #6b7280;
88 }
89
90 .yatra-empty-icon {
91 margin-bottom: 20px;
92 opacity: 0.5;
93 }
94
95 .yatra-empty-icon-svg {
96 width: 64px;
97 height: 64px;
98 }
99
100 .yatra-tour-empty h3 {
101 margin: 0 0 10px 0;
102 color: #374151;
103 font-size: 1.5rem;
104 font-weight: 600;
105 }
106
107 .yatra-tour-empty p {
108 margin: 0 0 20px 0;
109 font-size: 1rem;
110 line-height: 1.6;
111 }
112
113 .yatra-tour-empty-page {
114 text-align: center;
115 padding: 40px 20px;
116 color: #6b7280;
117 }
118
119 .yatra-tour-pagination {
120 display: flex;
121 justify-content: center;
122 align-items: center;
123 gap: 10px;
124 margin-top: 30px;
125 flex-wrap: wrap;
126 }
127
128 .yatra-pagination-link {
129 display: inline-flex;
130 align-items: center;
131 justify-content: center;
132 min-width: 40px;
133 height: 40px;
134 padding: 0 12px;
135 border: 1px solid #d1d5db;
136 border-radius: 6px;
137 background: #ffffff;
138 color: #374151;
139 text-decoration: none;
140 font-size: 0.875rem;
141 font-weight: 500;
142 transition: all 0.2s ease;
143 }
144
145 .yatra-pagination-link:hover {
146 background: #f9fafb;
147 border-color: color-mix(in srgb, var(--yatra-primary, #3b82f6) 35%, #d1d5db);
148 color: var(--yatra-primary, #3b82f6);
149 }
150
151 .yatra-pagination-current {
152 background: var(--yatra-primary, #3b82f6);
153 border-color: var(--yatra-primary, #3b82f6);
154 color: #ffffff;
155 font-weight: 600;
156 transform: scale(1.05);
157 box-shadow: 0 2px 8px color-mix(in srgb, var(--yatra-primary, #3b82f6) 35%, transparent);
158 }
159
160 .yatra-pagination-current:hover {
161 background: var(--yatra-primary-dark, #2563eb);
162 border-color: var(--yatra-primary-dark, #2563eb);
163 transform: scale(1.05);
164 box-shadow: 0 2px 8px color-mix(in srgb, var(--yatra-primary-dark, #2563eb) 40%, transparent);
165 }
166
167 .yatra-pagination-ellipsis {
168 color: #9ca3af;
169 padding: 0 8px;
170 font-size: 0.875rem;
171 }
172
173 /* Responsive Design */
174 @media (max-width: 768px) {
175 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-3,
176 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-4,
177 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-5,
178 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-6 {
179 grid-template-columns: repeat(2, 1fr);
180 }
181
182 .yatra-tour-header {
183 flex-direction: column;
184 gap: 15px;
185 text-align: center;
186 }
187 }
188
189 @media (max-width: 480px) {
190 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-2,
191 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-3,
192 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-4,
193 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-5,
194 .yatra-tour-shortcode .yatra-tour-grid.yatra-tour-grid-6 {
195 grid-template-columns: 1fr;
196 }
197
198 .yatra-tour-pagination {
199 gap: 5px;
200 }
201
202 .yatra-pagination-link {
203 min-width: 36px;
204 height: 36px;
205 font-size: 0.8rem;
206 padding: 0 8px;
207 }
208 }
209