|
2 | 2 | width 100%
|
3 | 3 | font-size 18px
|
4 | 4 | &-content
|
5 |
| - border-top 1px solid main-color01 |
| 5 | + //border-top 1px solid main-color01 |
6 | 6 | .{newAppName}-row-list__item
|
7 | 7 | padding-top vertical-space
|
8 | 8 | padding-bottom vertical-space
|
|
65 | 65 | text-align: center
|
66 | 66 | .{newAppName}-tabs-navigation-wrapper
|
67 | 67 | display: inline-block
|
68 |
| - border-bottom 1px solid main-color01 |
| 68 | + //border-bottom 1px solid main-color01 |
69 | 69 | height 35px
|
70 | 70 | @media (max-width: tablet-upper-limit)
|
71 | 71 | position relative
|
72 | 72 | width calc(100% + 40px)
|
73 | 73 | left -20px
|
74 | 74 | .{newAppName}-tabs-navigation
|
75 | 75 | margin-bottom 30px
|
| 76 | + //display flex |
| 77 | + //justify-content center |
76 | 78 | @media (max-width: tablet-upper-limit)
|
77 |
| - width 100% |
| 79 | + width auto |
78 | 80 | margin-left 0
|
79 | 81 | margin-right 0
|
80 | 82 | overflow-y hidden!important
|
|
84 | 86 | border-top none
|
85 | 87 |
|
86 | 88 | .{newAppName}-tabs-navigation
|
87 |
| - display flex |
| 89 | + display inline-flex |
88 | 90 | flex-direction row
|
89 |
| - width calc(100% + 20px) |
90 |
| - margin-left -(vertical-space) |
91 |
| - margin-right -(vertical-space) |
| 91 | + max-width 100% //calc(100% + 20px) |
| 92 | + //margin-left -(vertical-space) |
| 93 | + //margin-right -(vertical-space) |
92 | 94 | scrollbar-width: none
|
| 95 | + position relative |
| 96 | + &:after |
| 97 | + content: '' |
| 98 | + position absolute |
| 99 | + bottom 0 |
| 100 | + height 2px |
| 101 | + left 0 |
| 102 | + width 100% |
| 103 | + background-color b2c-cool-grey |
93 | 104 | &::-webkit-scrollbar
|
94 | 105 | display: none
|
95 | 106 |
|
96 |
| - .rt-tabs-tablet &, |
| 107 | + .rt-tabs-tablet & |
| 108 | + //display block |
| 109 | + overflow auto |
| 110 | + //overflow-y hidden |
| 111 | + white-space nowrap |
| 112 | + padding-left 40px |
| 113 | + &:after |
| 114 | + //left 40px |
| 115 | + //right 0 |
| 116 | + display none |
97 | 117 | .rt-tabs-mobile &
|
98 |
| - display block |
| 118 | + //display block |
99 | 119 | overflow auto
|
100 |
| - overflow-y hidden |
| 120 | + //overflow-y hidden |
101 | 121 | white-space nowrap
|
102 |
| - position relative |
| 122 | + padding-left 20px |
| 123 | + &:after |
| 124 | + //left 20px |
| 125 | + //right 0 |
| 126 | + display none |
103 | 127 |
|
104 | 128 | .{newAppName}-tabs-navigation-wrapper
|
105 | 129 | .rt-tabs-tablet &,
|
106 | 130 | .rt-tabs-mobile &
|
107 |
| - display block |
108 |
| - overflow hidden |
109 |
| - position relative |
| 131 | + width: 100vw |
| 132 | + left: calc((100% - 100vw)/2) |
| 133 | + position: relative |
110 | 134 | &::-webkit-scrollbar
|
111 | 135 | display: none
|
112 | 136 |
|
113 | 137 | .{newAppName}-tabs-navigation__item
|
114 |
| - padding-left vertical-space |
115 |
| - padding-right vertical-space |
| 138 | + //padding-left vertical-space |
| 139 | + //padding-right vertical-space |
116 | 140 | cursor pointer
|
| 141 | + z-index 9 |
| 142 | + &+& |
| 143 | + margin-left 40px |
117 | 144 |
|
118 |
| - .rt-tabs-tablet &, |
| 145 | + .rt-tabs-tablet & |
| 146 | + display inline-block |
| 147 | + position relative |
| 148 | + &:last-child |
| 149 | + padding-right 40px |
| 150 | + &:after |
| 151 | + width calc(100% + 40px - 40px) |
| 152 | + &:first-child |
| 153 | + &:after |
| 154 | + width 100% |
| 155 | + left 0 |
| 156 | + &:after |
| 157 | + position absolute |
| 158 | + content: '' |
| 159 | + width calc(100% + 40px) |
| 160 | + left -40px |
| 161 | + bottom 0 |
| 162 | + background-color b2c-cool-grey |
| 163 | + height 2px |
119 | 164 | .rt-tabs-mobile &
|
120 | 165 | display inline-block
|
| 166 | + position relative |
| 167 | + &:last-child |
| 168 | + padding-right 20px |
| 169 | + &:after |
| 170 | + width calc(100% + 40px - 20px) |
| 171 | + &:first-child |
| 172 | + &:after |
| 173 | + width 100% |
| 174 | + left 0 |
| 175 | + &:after |
| 176 | + position absolute |
| 177 | + content: '' |
| 178 | + width calc(100% + 40px) |
| 179 | + left -40px |
| 180 | + bottom 0 |
| 181 | + background-color b2c-cool-grey |
| 182 | + height 2px |
121 | 183 |
|
122 | 184 | .{newAppName}-tabs-navigation__item-name
|
123 | 185 | box-sizing border-box
|
124 | 186 | text-align inherit
|
125 | 187 | border none
|
126 | 188 | outline none
|
127 |
| - padding-bottom horizontal-space * .5 |
| 189 | + padding-bottom 12px |
128 | 190 | position relative
|
129 | 191 |
|
130 | 192 | &:before
|
|
134 | 196 | text-shadow 0 0 0
|
135 | 197 | border-bottom 2px solid transparent
|
136 | 198 | position absolute
|
137 |
| - bottom -1px |
| 199 | + bottom 0 |
138 | 200 | left 0
|
139 | 201 | right 0
|
| 202 | + border-radius 1px |
140 | 203 | transition-timing-function ease-in-out
|
141 | 204 | transition-duration .2s
|
142 | 205 | transition-property border, width, text-shadow
|
143 |
| - |
| 206 | + z-index 9 |
144 | 207 | &:hover,
|
145 | 208 | &:focus,
|
146 | 209 | .{newAppName}-tabs-navigation__item--is-active &
|
|
156 | 219 | .{newAppName}-tabs-navigation__item
|
157 | 220 | padding-left: 0
|
158 | 221 | padding-right: 0
|
| 222 | + &:after |
| 223 | + display none |
| 224 | + &:last-child |
| 225 | + padding-right: 0 |
| 226 | + &+.{newAppName}-tabs-navigation__item |
| 227 | + margin-left: 0 |
| 228 | + border-left 2px solid b2c-purple |
159 | 229 | .rt-tabs-navigation
|
160 | 230 | margin-left: 0
|
161 | 231 | margin-right: 0
|
| 232 | + border-bottom none |
| 233 | + padding-left: 0 |
162 | 234 | .rt-tabs-navigation__item-name
|
163 |
| - padding-left: 20px |
164 |
| - padding-right: 20px |
165 |
| - padding-top: 16px |
166 |
| - padding-bottom: 14px |
| 235 | + padding-left: 30px |
| 236 | + padding-right: 30px |
| 237 | + padding-top: 15px |
| 238 | + padding-bottom: 15px |
167 | 239 | &:before
|
168 | 240 | width: 0!important
|
169 | 241 | &:hover,
|
|
175 | 247 | .{newAppName}-tabs-navigation-wrapper
|
176 | 248 | overflow: hidden
|
177 | 249 | display: inline-block
|
178 |
| - border-radius 10px |
| 250 | + border-radius 5px |
179 | 251 | border 2px solid b2c-purple
|
| 252 | + left 0 |
| 253 | + width auto |
180 | 254 | .{newAppName}-tabs-navigation__item-name
|
181 | 255 | padding-left: 20px
|
182 | 256 | padding-right: 20px
|
183 | 257 | .{newAppName}-tabs-navigation__item
|
184 | 258 | background-color: transparent
|
185 |
| - |
186 | 259 | &+&
|
187 | 260 | margin-left: -1ex
|
188 | 261 | .{newAppName}-tabs-navigation__item--is-active
|
|
223 | 296 | background linear-gradient(to bottom, rgba(16, 24, 40, 0), rgba(16, 24, 40, 0.23) 33%, rgba(16, 24, 40, 0.67) 63%, rgba(16, 24, 40, 0.9) 85%, #101828);
|
224 | 297 | .rt-card__content
|
225 | 298 | z-index 5
|
| 299 | + |
0 commit comments