Changeset bf01534 in OpenWorkouts-current for ow/static/less
- Timestamp:
- Feb 1, 2019, 1:25:00 PM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- 6993c72
- Parents:
- 10c8e6e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/static/less/modules/workout.less
r10c8e6e rbf01534 189 189 /* Workout detail */ 190 190 #map { 191 height: 50vh; 191 height: 400px; 192 @media (min-width: @screen-s){ 193 height: calc(100vh - 380px); 194 } 192 195 } 193 196 194 197 .workout-detail { 195 padding: 2em 1em;198 padding: 0em 1em; 196 199 @media (min-width: @screen-s){ 197 200 max-width: 1280px; … … 206 209 .workout-detail-resume { 207 210 max-width: 500px; 208 margin-right: 6em;209 211 margin-bottom: 2em; 212 padding-top: 2em; 213 @media (min-width: @screen-m){ 214 margin-right: 6em; 215 } 210 216 h3 { 211 217 margin-top: 0; … … 224 230 .workout-detail-info { 225 231 max-width: 600px; 232 @media (min-width: @screen-m){ 233 border-right: 1px solid @color-main-light; 234 border-left: 1px solid @color-main-light; 235 padding:2em 1em 2em 2em; 236 } 226 237 ul { 227 238 list-style-type: none; … … 233 244 span { 234 245 display: block; 246 .font-size(13); 235 247 color: @color-main-medium; 236 .font-size(13); 248 margin-bottom: .25em; 249 &.min, 250 &.avg, 251 &.max { 252 display: inline-block; 253 color: white; 254 padding: .5em .85em; 255 border-radius: 3px; 256 } 257 &.max { 258 background-color: @color-app; 259 } 260 &.min { 261 background-color: #1395CA; 262 margin-right: .5em; 263 } 264 265 &.avg { 266 background-color: #17C898; 267 margin-right: .5em; 268 } 237 269 } 238 270 } … … 240 272 margin-bottom: 2em; 241 273 margin-right: 1em; 242 .font-size(16); 274 color: @color-main-medium; 275 .font-size(15); 276 &.important { 277 .font-size(21); 278 color: @color-main; 279 } 243 280 } 244 281 }
Note: See TracChangeset
for help on using the changeset viewer.