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 / destination.css

destination.css in Yatra – Travel Booking & Tour Operator Software trunk, at assets/css/destination.css

84 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .yatra-destination-image {
2 position: relative;
3 width: 100%;
4 aspect-ratio: 4 / 3;
5 overflow: hidden;
6 }
7
8 .yatra-destination-image img {
9 width: 100%;
10 height: 100%;
11 display: block;
12 object-fit: cover;
13 }
14
15 .yatra-destination-icon-wrapper,
16 .yatra-destination-placeholder {
17 width: 100%;
18 height: 100%;
19 display: flex;
20 align-items: center;
21 justify-content: center;
22 }
23
24 .yatra-destination-icon-wrapper {
25 background-color: #f3f4f6;
26 color: #4b5563;
27 }
28
29 .yatra-destination-icon {
30 width: 100%;
31 height: 100%;
32 object-fit: contain;
33 }
34
35 .yatra-destination-placeholder {
36 background-color: #f3f4f6;
37 }
38
39 .yatra-destination-placeholder-text {
40 font-weight: 600;
41 font-size: 1.25rem;
42 letter-spacing: 0.08em;
43 }
44
45 /* View toggle: listing.css defines base; keep only layout tweaks if needed */
46 .yatra-destination-listing .yatra-view-toggle .yatra-view-btn svg {
47 display: block;
48 }
49
50 /* Grid columns: listing.css (unified 1/2/3-col breakpoints). Default card layout: */
51
52 /* Default card layout in grid mode: vertical card */
53 .yatra-destination-grid .yatra-destination-card {
54 display: flex;
55 flex-direction: column;
56 }
57
58 /* List view: cards become horizontal rows */
59 .yatra-destination-grid.list-view {
60 display: flex;
61 flex-direction: column;
62 gap: 1.25rem;
63 }
64
65 .yatra-destination-grid.list-view .yatra-destination-card {
66 flex-direction: row;
67 }
68
69 .yatra-destination-grid.list-view .yatra-destination-image {
70 flex: 0 0 260px;
71 }
72
73 .yatra-destination-grid.list-view .yatra-destination-content {
74 flex: 1 1 auto;
75 }
76
77 /* Pagination buttons */
78 .yatra-listing-pagination .yatra-pagination-btn.disabled {
79 opacity: 0.5;
80 cursor: default;
81 pointer-events: none;
82 }
83
84