Changeset 978575d in OpenWorkouts-current
- Timestamp:
- Feb 6, 2019, 1:49:51 PM (5 years ago)
- Branches:
- current, feature/docs, master
- Children:
- 01674ff
- Parents:
- a3c3baa
- Location:
- ow
- Files:
-
- 1 added
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/static/css/main.css
ra3c3baa r978575d 345 345 [hidden] { 346 346 display: none; 347 } 348 /* Leaflet-elevation openworkouts theme */ 349 /* background color */ 350 .openworkouts-theme.leaflet-control.elevation .background { 351 background-color: transparent; 352 } 353 /* Axis x and y*/ 354 .openworkouts-theme.leaflet-control.elevation .axis line, 355 .openworkouts-theme.leaflet-control.elevation .axis path { 356 stroke: #959595; 357 } 358 /* selected drag area*/ 359 .openworkouts-theme.leaflet-control.elevation .mouse-drag { 360 fill: rgba(21, 21, 21, 0.1); 361 } 362 /* Icon to show when the chart is collapse */ 363 /* 364 .openworkouts-theme.leaflet-control.elevation .elevation-toggle-icon { 365 background: url(images/elevation-steelblue.png) no-repeat center center; 366 } 367 */ 368 /* Graph color area background */ 369 .openworkouts-theme.leaflet-control.elevation .area { 370 fill: #f8b5be; 371 stroke: transparent; 372 } 373 /* vertical line to know where are you */ 374 .openworkouts-theme.leaflet-control.elevation .mouse-focus-line { 375 stroke: #151515; 376 } 377 /* graph color line area */ 378 /*.leaflet-control.elevation .area { 379 fill: #f8b5be; 380 } 381 */ 382 /* box with parameters */ 383 .mouse-focus-label { 384 opacity: 0.8; 385 } 386 .mouse-focus-label-text { 387 font-size: 13px; 388 font-size: 0.8125rem; 389 font-family: 'Open Sans', sans-serif; 390 font-weight: 100 !important; 391 } 392 /*.mouse-focus-label-y {}*/ 393 /* Color line on map */ 394 .leaflet-interactive { 395 stroke: #151515; 396 opacity: 0.6; 397 stroke-width: 6px; 398 stroke-linecap: round; 399 } 400 /* indicator on map line*/ 401 .openworkouts-theme.height-focus.line { 402 stroke: #151515; 403 display: none; 404 /*fill: #4682b4;*/ 405 } 406 /* txt on map */ 407 .openworkouts-theme.height-focus-label { 408 display: none; 409 } 410 /* indicator on map circle */ 411 .openworkouts-theme.height-focus.circle-lower { 412 fill: #151515; 413 stroke: #EE4056; 414 stroke-width: 10px; 347 415 } 348 416 .hidden, … … 794 862 color: #959595; 795 863 margin-bottom: 0.25em; 864 /* color for future features */ 796 865 } 797 866 .workout-detail-info ul span.min, … … 802 871 padding: 0.5em 0.85em; 803 872 border-radius: 3px; 804 } 805 .workout-detail-info ul span.max { 806 background-color: #EE4056; 807 } 808 .workout-detail-info ul span.min { 809 background-color: #1395CA; 810 margin-right: 0.5em; 811 } 812 .workout-detail-info ul span.avg { 813 background-color: #17C898; 814 margin-right: 0.5em; 873 background-color: #e1e1e1; 874 color: #959595; 815 875 } 816 876 .workout-detail-info li { 817 margin-bottom: 2em;877 margin-bottom: 1em; 818 878 margin-right: 1em; 819 879 color: #959595; -
ow/static/less/main.less
ra3c3baa r978575d 4 4 // Normalize 5 5 @import "vendors/normalize.less"; 6 @import "vendors/leaflet-elevation.less"; 7 6 8 7 9 // Variables -
ow/static/less/modules/workout.less
ra3c3baa r978575d 256 256 padding: .5em .85em; 257 257 border-radius: 3px; 258 background-color: @color-main-light; 259 color: @color-main-medium; 258 260 } 259 &.max { 260 background-color: @color-app; 261 } 262 &.min { 263 background-color: #1395CA; 264 margin-right: .5em; 265 } 266 267 &.avg { 268 background-color: #17C898; 269 margin-right: .5em; 270 } 261 262 /* color for future features */ 263 // &.max { 264 // background-color: @color-app; 265 // } 266 // &.min { 267 // background-color: #1395CA; 268 // margin-right: .5em; 269 // } 270 271 // &.avg { 272 // background-color: #17C898; 273 // margin-right: .5em; 274 // } 271 275 } 272 276 } 273 277 li { 274 margin-bottom: 2em;278 margin-bottom: 1em; 275 279 margin-right: 1em; 276 280 color: @color-main-medium; -
ow/static/less/variables.less
ra3c3baa r978575d 9 9 @color-app-medium: lighten(@color-app, 15%); 10 10 @color-app-light: lighten(@color-app, 25%); 11 12 @color-app-important: #F60002; 11 13 12 14 -
ow/templates/base.pt
ra3c3baa r978575d 32 32 </title> 33 33 34 <metal:css metal:define-slot="css"></metal:css> 35 34 36 <link rel="stylesheet" 35 37 href="${request.static_url('ow:static/css/main.css')}" /> 36 37 <link rel="stylesheet"38 href="${request.static_url('ow:static/css/forms.css')}" />39 40 <link rel="stylesheet"41 href="${request.static_url('ow:static/css/openworkouts.css')}" />42 43 <metal:css metal:define-slot="css"></metal:css>44 38 45 39 <metal:header-js metal:define-slot="header-js"></metal:header-js> -
ow/templates/workout.pt
ra3c3baa r978575d 18 18 <link rel="stylesheet" tal:condition="context.has_gpx" 19 19 href="${request.static_url('ow:static/components/leaflet-elevation/leaflet-elevation.css')}" /> 20 <link rel="stylesheet"21 href="${request.static_url('ow:static/css/leaflet-elevation.css')}" />22 20 </metal:css> 23 21
Note: See TracChangeset
for help on using the changeset viewer.