|
13 | 13 |
|
14 | 14 | joomla-tab { |
15 | 15 | display: flex; |
16 | | - flex-direction: column; } |
| 16 | + flex-direction: column; |
| 17 | +} |
17 | 18 |
|
18 | 19 | joomla-tab > ul { |
19 | 20 | display: flex; |
| 21 | + padding: 0; |
| 22 | + margin: 0; |
| 23 | + overflow-x: auto; |
| 24 | + overflow-y: hidden; |
| 25 | + white-space: nowrap; |
| 26 | + list-style: outside none none; |
20 | 27 | background-color: #f5f5f5; |
21 | 28 | border-color: #ccc #ccc currentcolor; |
22 | | - border-image: none; |
23 | | - border-radius: .25rem .25rem 0 0; |
24 | 29 | border-style: solid solid none; |
25 | 30 | border-width: 1px 1px 0; |
26 | | - box-shadow: 0 1px #fff inset, 0 2px 3px -3px rgba(0, 0, 0, 0.15), 0 -4px 0 rgba(0, 0, 0, 0.05) inset, 0 0 3px rgba(0, 0, 0, 0.04); |
27 | | - margin: 0; |
28 | | - padding: 0; |
29 | | - list-style: outside none none; |
30 | | - overflow-x: auto; |
31 | | - overflow-y: hidden; |
32 | | - white-space: nowrap; } |
| 31 | + border-radius: .25rem .25rem 0 0; |
| 32 | + border-image: none; |
| 33 | + box-shadow: 0 1px #fff inset, 0 2px 3px -3px rgba(0, 0, 0, .15), 0 -4px 0 rgba(0, 0, 0, .05) inset, 0 0 3px rgba(0, 0, 0, .04); |
| 34 | +} |
33 | 35 |
|
34 | 36 | joomla-tab a[role=tab] { |
| 37 | + position: relative; |
35 | 38 | display: block; |
36 | | - color: #0d1321; |
37 | 39 | padding: .75em 1em; |
38 | | - position: relative; |
39 | | - box-shadow: 1px 0 0 rgba(0, 0, 0, 0.05); |
40 | | - text-decoration: none; } |
| 40 | + color: #0d1321; |
| 41 | + text-decoration: none; |
| 42 | + box-shadow: 1px 0 0 rgba(0, 0, 0, .05); |
| 43 | +} |
41 | 44 |
|
42 | 45 | joomla-tab a[role=tab][active] { |
43 | | - background-color: rgba(0, 0, 0, 0.03); |
44 | | - background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.05) 100%); |
45 | | - border-left: 0 none; |
| 46 | + background-color: rgba(0, 0, 0, .03); |
| 47 | + background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .05) 100%); |
46 | 48 | border-right: 0 none; |
| 49 | + border-left: 0 none; |
47 | 50 | border-top-left-radius: 0; |
48 | 51 | border-top-right-radius: 0; |
49 | | - box-shadow: 2px 0 1px -1px rgba(0, 0, 0, 0.08) inset, -2px 0 1px -1px rgba(0, 0, 0, 0.08) inset, 0 1px 0 rgba(0, 0, 0, 0.02) inset; } |
| 52 | + box-shadow: 2px 0 1px -1px rgba(0, 0, 0, .08) inset, -2px 0 1px -1px rgba(0, 0, 0, .08) inset, 0 1px 0 rgba(0, 0, 0, .02) inset; |
| 53 | +} |
50 | 54 |
|
51 | | -joomla-tab a[role=tab][active]:after { |
52 | | - background-color: #006898; |
| 55 | +joomla-tab a[role=tab][active]::after { |
| 56 | + position: absolute; |
| 57 | + right: 0; |
53 | 58 | bottom: -1px; |
54 | | - content: ""; |
55 | | - height: 5px; |
56 | 59 | left: 0; |
| 60 | + height: 5px; |
| 61 | + content: ""; |
| 62 | + background-color: #006898; |
57 | 63 | opacity: .8; |
58 | | - position: absolute; |
59 | | - right: 0; } |
| 64 | +} |
60 | 65 |
|
61 | 66 | joomla-tab > section { |
62 | 67 | position: relative; |
63 | 68 | display: none; |
| 69 | + padding: 15px; |
64 | 70 | background-color: #fefefe; |
65 | 71 | border: 1px solid #ccc; |
66 | 72 | border-radius: 0 0 .25rem .25rem; |
67 | | - box-shadow: 0 0 3px rgba(0, 0, 0, 0.04); |
68 | | - padding: 15px; } |
| 73 | + box-shadow: 0 0 3px rgba(0, 0, 0, .04); |
| 74 | +} |
69 | 75 |
|
70 | 76 | joomla-tab > section[active] { |
71 | | - display: block; } |
| 77 | + display: block; |
| 78 | +} |
72 | 79 |
|
73 | 80 | joomla-tab[orientation=vertical] { |
74 | 81 | flex-direction: row; |
75 | | - align-items: flex-start; } |
| 82 | + align-items: flex-start; |
| 83 | +} |
76 | 84 |
|
77 | 85 | joomla-tab[orientation=vertical] > ul { |
78 | 86 | flex-direction: column; |
79 | 87 | min-width: 30%; |
80 | 88 | height: auto; |
| 89 | + overflow: hidden; |
81 | 90 | border: 1px solid #ccc; |
82 | 91 | border-radius: .25rem; |
83 | 92 | box-shadow: none; |
84 | | - overflow: hidden; } |
| 93 | +} |
85 | 94 |
|
86 | 95 | joomla-tab[orientation=vertical] li:last-of-type a { |
87 | | - border-bottom: 0; } |
| 96 | + border-bottom: 0; |
| 97 | +} |
88 | 98 |
|
89 | 99 | joomla-tab[orientation=vertical] a { |
| 100 | + position: relative; |
90 | 101 | display: block; |
91 | | - color: #0d1321; |
92 | 102 | padding: .75em 1em; |
93 | | - position: relative; |
| 103 | + color: #0d1321; |
| 104 | + text-decoration: none; |
94 | 105 | border-bottom: 1px solid #ddd; |
95 | 106 | box-shadow: none; |
96 | | - text-decoration: none; } |
| 107 | +} |
97 | 108 |
|
98 | 109 | joomla-tab[orientation=vertical] a[active] { |
99 | | - border-left: 0 none; |
100 | | - border-right: 0 none; |
101 | 110 | background-color: #fff; |
102 | 111 | background-image: none; |
103 | | - box-shadow: none; } |
| 112 | + border-right: 0 none; |
| 113 | + border-left: 0 none; |
| 114 | + box-shadow: none; |
| 115 | +} |
104 | 116 |
|
105 | | -joomla-tab[orientation=vertical] a[active]:after { |
| 117 | +joomla-tab[orientation=vertical] a[active]::after { |
| 118 | + top: 0; |
| 119 | + bottom: 0; |
106 | 120 | left: -1px; |
107 | 121 | width: 5px; |
108 | 122 | height: auto; |
109 | | - top: 0; |
110 | | - bottom: 0; } |
| 123 | +} |
111 | 124 |
|
112 | 125 | joomla-tab[orientation=vertical] > section { |
| 126 | + padding: 15px; |
113 | 127 | border: 0 none; |
114 | 128 | box-shadow: none; |
115 | | - padding: 15px; } |
| 129 | +} |
116 | 130 |
|
117 | 131 | joomla-tab[view=accordion] > ul { |
118 | 132 | flex-direction: column; |
119 | | - border-radius: .25rem; |
120 | 133 | white-space: normal; |
121 | | - box-shadow: 0 1px #fff inset, 0 0 3px rgba(0, 0, 0, 0.04); } |
| 134 | + border-radius: .25rem; |
| 135 | + box-shadow: 0 1px #fff inset, 0 0 3px rgba(0, 0, 0, .04); |
| 136 | +} |
122 | 137 |
|
123 | 138 | joomla-tab[view=accordion] section { |
124 | 139 | display: none; |
125 | | - padding: 15px; } |
| 140 | + padding: 15px; |
| 141 | +} |
126 | 142 |
|
127 | 143 | joomla-tab[view=accordion] section[active] { |
128 | 144 | display: block; |
129 | | - border-bottom: 1px solid #ddd; } |
| 145 | + border-bottom: 1px solid #ddd; |
| 146 | +} |
130 | 147 |
|
131 | 148 | joomla-tab[view=accordion] [active] { |
132 | | - background-color: #fff; } |
| 149 | + background-color: #fff; |
| 150 | +} |
133 | 151 |
|
134 | 152 | joomla-tab[view=accordion] a[role=tab] { |
135 | | - border-bottom: 1px solid #ddd; } |
| 153 | + border-bottom: 1px solid #ddd; |
| 154 | +} |
136 | 155 |
|
137 | | -joomla-tab[view=accordion] a[role=tab][active]:after { |
| 156 | +joomla-tab[view=accordion] a[role=tab][active]::after { |
| 157 | + top: 0; |
| 158 | + left: 0; |
138 | 159 | width: 5px; |
139 | 160 | height: 100%; |
140 | | - top: 0; |
141 | | - left: 0; } |
| 161 | +} |
0 commit comments