source: OpenWorkouts-current/ow/static/css/main.css @ c82fe79

current
Last change on this file since c82fe79 was c82fe79, checked in by Borja Lopez <borja@…>, 5 years ago

(#84) Show a "loading" spinner while adding a workout by uploading a track file

  • Property mode set to 100644
File size: 31.8 KB
Line 
1@font-face {
2  font-family: 'Open Sans';
3  font-style: italic;
4  font-weight: 300;
5  src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'), url(https://fonts.gstatic.com/s/opensans/v17/memnYaGs126MiZpBA-UFUKWyV9hrIqY.ttf) format('truetype');
6}
7@font-face {
8  font-family: 'Open Sans';
9  font-style: italic;
10  font-weight: 400;
11  src: local('Open Sans Italic'), local('OpenSans-Italic'), url(https://fonts.gstatic.com/s/opensans/v17/mem6YaGs126MiZpBA-UFUK0Zdcg.ttf) format('truetype');
12}
13@font-face {
14  font-family: 'Open Sans';
15  font-style: italic;
16  font-weight: 700;
17  src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(https://fonts.gstatic.com/s/opensans/v17/memnYaGs126MiZpBA-UFUKWiUNhrIqY.ttf) format('truetype');
18}
19@font-face {
20  font-family: 'Open Sans';
21  font-style: normal;
22  font-weight: 300;
23  src: local('Open Sans Light'), local('OpenSans-Light'), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN_r8OUuhs.ttf) format('truetype');
24}
25@font-face {
26  font-family: 'Open Sans';
27  font-style: normal;
28  font-weight: 400;
29  src: local('Open Sans Regular'), local('OpenSans-Regular'), url(https://fonts.gstatic.com/s/opensans/v17/mem8YaGs126MiZpBA-UFVZ0e.ttf) format('truetype');
30}
31@font-face {
32  font-family: 'Open Sans';
33  font-style: normal;
34  font-weight: 700;
35  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN7rgOUuhs.ttf) format('truetype');
36}
37@font-face {
38  font-family: 'Open Sans';
39  font-style: normal;
40  font-weight: 800;
41  src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'), url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN8rsOUuhs.ttf) format('truetype');
42}
43/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
44/* Document
45   ========================================================================== */
46/**
47 * 1. Correct the line height in all browsers.
48 * 2. Prevent adjustments of font size after orientation changes in iOS.
49 */
50html {
51  line-height: 1.15;
52  /* 1 */
53  -webkit-text-size-adjust: 100%;
54  /* 2 */
55}
56/* Sections
57   ========================================================================== */
58/**
59 * Remove the margin in all browsers.
60 */
61body {
62  margin: 0;
63}
64/**
65 * Render the `main` element consistently in IE.
66 */
67main {
68  display: block;
69}
70/**
71 * Correct the font size and margin on `h1` elements within `section` and
72 * `article` contexts in Chrome, Firefox, and Safari.
73 */
74h1 {
75  font-size: 2em;
76  margin: 0.67em 0;
77}
78/* Grouping content
79   ========================================================================== */
80/**
81 * 1. Add the correct box sizing in Firefox.
82 * 2. Show the overflow in Edge and IE.
83 */
84hr {
85  box-sizing: content-box;
86  /* 1 */
87  height: 0;
88  /* 1 */
89  overflow: visible;
90  /* 2 */
91}
92/**
93 * 1. Correct the inheritance and scaling of font size in all browsers.
94 * 2. Correct the odd `em` font sizing in all browsers.
95 */
96pre {
97  font-family: monospace, monospace;
98  /* 1 */
99  font-size: 1em;
100  /* 2 */
101}
102/* Text-level semantics
103   ========================================================================== */
104/**
105 * Remove the gray background on active links in IE 10.
106 */
107a {
108  background-color: transparent;
109}
110/**
111 * 1. Remove the bottom border in Chrome 57-
112 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
113 */
114abbr[title] {
115  border-bottom: none;
116  /* 1 */
117  text-decoration: underline;
118  /* 2 */
119  text-decoration: underline dotted;
120  /* 2 */
121}
122/**
123 * Add the correct font weight in Chrome, Edge, and Safari.
124 */
125b,
126strong {
127  font-weight: bolder;
128}
129/**
130 * 1. Correct the inheritance and scaling of font size in all browsers.
131 * 2. Correct the odd `em` font sizing in all browsers.
132 */
133code,
134kbd,
135samp {
136  font-family: monospace, monospace;
137  /* 1 */
138  font-size: 1em;
139  /* 2 */
140}
141/**
142 * Add the correct font size in all browsers.
143 */
144small {
145  font-size: 80%;
146}
147/**
148 * Prevent `sub` and `sup` elements from affecting the line height in
149 * all browsers.
150 */
151sub,
152sup {
153  font-size: 75%;
154  line-height: 0;
155  position: relative;
156  vertical-align: baseline;
157}
158sub {
159  bottom: -0.25em;
160}
161sup {
162  top: -0.5em;
163}
164/* Embedded content
165   ========================================================================== */
166/**
167 * Remove the border on images inside links in IE 10.
168 */
169img {
170  border-style: none;
171}
172/* Forms
173   ========================================================================== */
174/**
175 * 1. Change the font styles in all browsers.
176 * 2. Remove the margin in Firefox and Safari.
177 */
178button,
179input,
180optgroup,
181select,
182textarea {
183  font-family: inherit;
184  /* 1 */
185  font-size: 100%;
186  /* 1 */
187  line-height: 1.15;
188  /* 1 */
189  margin: 0;
190  /* 2 */
191}
192/**
193 * Show the overflow in IE.
194 * 1. Show the overflow in Edge.
195 */
196button,
197input {
198  /* 1 */
199  overflow: visible;
200}
201/**
202 * Remove the inheritance of text transform in Edge, Firefox, and IE.
203 * 1. Remove the inheritance of text transform in Firefox.
204 */
205button,
206select {
207  /* 1 */
208  text-transform: none;
209}
210/**
211 * Correct the inability to style clickable types in iOS and Safari.
212 */
213button,
214[type="button"],
215[type="reset"],
216[type="submit"] {
217  -webkit-appearance: button;
218}
219/**
220 * Remove the inner border and padding in Firefox.
221 */
222button::-moz-focus-inner,
223[type="button"]::-moz-focus-inner,
224[type="reset"]::-moz-focus-inner,
225[type="submit"]::-moz-focus-inner {
226  border-style: none;
227  padding: 0;
228}
229/**
230 * Restore the focus styles unset by the previous rule.
231 */
232button:-moz-focusring,
233[type="button"]:-moz-focusring,
234[type="reset"]:-moz-focusring,
235[type="submit"]:-moz-focusring {
236  outline: 1px dotted ButtonText;
237}
238/**
239 * Correct the padding in Firefox.
240 */
241fieldset {
242  padding: 0.35em 0.75em 0.625em;
243}
244/**
245 * 1. Correct the text wrapping in Edge and IE.
246 * 2. Correct the color inheritance from `fieldset` elements in IE.
247 * 3. Remove the padding so developers are not caught out when they zero out
248 *    `fieldset` elements in all browsers.
249 */
250legend {
251  box-sizing: border-box;
252  /* 1 */
253  color: inherit;
254  /* 2 */
255  display: table;
256  /* 1 */
257  max-width: 100%;
258  /* 1 */
259  padding: 0;
260  /* 3 */
261  white-space: normal;
262  /* 1 */
263}
264/**
265 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
266 */
267progress {
268  vertical-align: baseline;
269}
270/**
271 * Remove the default vertical scrollbar in IE 10+.
272 */
273textarea {
274  overflow: auto;
275}
276/**
277 * 1. Add the correct box sizing in IE 10.
278 * 2. Remove the padding in IE 10.
279 */
280[type="checkbox"],
281[type="radio"] {
282  box-sizing: border-box;
283  /* 1 */
284  padding: 0;
285  /* 2 */
286}
287/**
288 * Correct the cursor style of increment and decrement buttons in Chrome.
289 */
290[type="number"]::-webkit-inner-spin-button,
291[type="number"]::-webkit-outer-spin-button {
292  height: auto;
293}
294/**
295 * 1. Correct the odd appearance in Chrome and Safari.
296 * 2. Correct the outline style in Safari.
297 */
298[type="search"] {
299  -webkit-appearance: textfield;
300  /* 1 */
301  outline-offset: -2px;
302  /* 2 */
303}
304/**
305 * Remove the inner padding in Chrome and Safari on macOS.
306 */
307[type="search"]::-webkit-search-decoration {
308  -webkit-appearance: none;
309}
310/**
311 * 1. Correct the inability to style clickable types in iOS and Safari.
312 * 2. Change font properties to `inherit` in Safari.
313 */
314::-webkit-file-upload-button {
315  -webkit-appearance: button;
316  /* 1 */
317  font: inherit;
318  /* 2 */
319}
320/* Interactive
321   ========================================================================== */
322/*
323 * Add the correct display in Edge, IE 10+, and Firefox.
324 */
325details {
326  display: block;
327}
328/*
329 * Add the correct display in all browsers.
330 */
331summary {
332  display: list-item;
333}
334/* Misc
335   ========================================================================== */
336/**
337 * Add the correct display in IE 10+.
338 */
339template {
340  display: none;
341}
342/**
343 * Add the correct display in IE 10.
344 */
345[hidden] {
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;
415}
416.hidden,
417.hide {
418  display: none;
419}
420body {
421  font-family: 'Open Sans', sans-serif;
422}
423html {
424  box-sizing: border-box;
425}
426*,
427*:before,
428*:after {
429  box-sizing: inherit;
430}
431/* ==========================================================================
432   Wrappers
433   ========================================================================== */
434/**
435 * Common wrappers to use in Scms-site.
436 * To reducing css size you can use extends instead of mixins
437 * to move the selector up to the properties you wish to use.
438 *
439 * Example LESS:
440 * .myclass {
441 *              &:extend(.wrapper);
442 * }
443 */
444.wrapper,
445.wrapper-s,
446.wrapper-l,
447.wrapper-xl,
448.ow-forms,
449.uploading-workout {
450  display: block;
451  width: 100%;
452  padding-left: 1rem;
453  padding-right: 1rem;
454  margin: 0 auto;
455}
456@media (min-width: 480px) {
457  .wrapper,
458  .wrapper-s,
459  .wrapper-l,
460  .wrapper-xl,
461  .ow-forms,
462  .uploading-workout {
463    padding-left: 2rem;
464    padding-right: 2rem;
465  }
466}
467@media (min-width: 800px) {
468  .wrapper,
469  .wrapper-s,
470  .wrapper-l,
471  .wrapper-xl,
472  .ow-forms,
473  .uploading-workout {
474    padding-left: 4rem;
475    padding-right: 4rem;
476  }
477}
478@media (min-width: 1024px) {
479  .wrapper,
480  .wrapper-s,
481  .wrapper-l,
482  .wrapper-xl,
483  .ow-forms,
484  .uploading-workout {
485    padding-left: 5rem;
486    padding-right: 5rem;
487  }
488}
489@media (min-width: 1440px) {
490  .wrapper,
491  .wrapper-s,
492  .wrapper-l,
493  .wrapper-xl,
494  .ow-forms,
495  .uploading-workout {
496    padding-left: 6rem;
497    padding-right: 6rem;
498  }
499}
500@media (min-width: 320px) {
501  .wrapper-s,
502  .ow-forms,
503  .uploading-workout {
504    max-width: 740px;
505  }
506}
507@media (min-width: 320px) {
508  .wrapper-l {
509    max-width: 1280px;
510  }
511}
512@media (min-width: 320px) {
513  .wrapper-xl {
514    max-width: 1440px;
515  }
516}
517/* Layout */
518.ly-flex {
519  display: flex;
520  justify-content: space-between;
521}
522.ly-flex.ly-center {
523  align-items: center;
524}
525.ly-flex.ly-start {
526  justify-content: flex-start;
527}
528.ly-flex.ly-2 {
529  flex-flow: row wrap;
530}
531.ly-flex.ly-2 > div,
532.ly-flex.ly-2 > li,
533.ly-flex.ly-2 > p,
534.ly-flex.ly-2 > a {
535  width: 50%;
536}
537.ly-flex.ly-2.has-gap > div,
538.ly-flex.ly-2.has-gap > li,
539.ly-flex.ly-2.has-gap > p,
540.ly-flex.ly-2.has-gap > a {
541  width: 48%;
542}
543.ly-flex.ly-3 {
544  flex-flow: row wrap;
545}
546.ly-flex.ly-3 > div,
547.ly-flex.ly-3 > li,
548.ly-flex.ly-3 > p {
549  width: 33%;
550}
551.ly-flex.ly-3.has-gap > div,
552.ly-flex.ly-3.has-gap > li,
553.ly-flex.ly-3.has-gap > p {
554  width: 31%;
555}
556.ly-flex.ly-4 {
557  flex-flow: row wrap;
558}
559.ly-flex.ly-4 > div,
560.ly-flex.ly-4 > li,
561.ly-flex.ly-4 > p {
562  width: 25%;
563}
564.ly-flex.ly-4.has-gap > div,
565.ly-flex.ly-4.has-gap > li,
566.ly-flex.ly-4.has-gap > p {
567  width: 23%;
568}
569.ly-flex-end {
570  align-items: flex-end;
571}
572/* Generic default forms */
573form {
574  width: 100%;
575}
576legend {
577  display: none;
578}
579fieldset {
580  border: none;
581  padding: 0;
582}
583fieldset > div,
584fieldset > p {
585  margin-bottom: 1.5em;
586}
587label {
588  display: block;
589  font-size: 13px;
590  margin-bottom: 0.25em;
591}
592input {
593  width: 100%;
594  padding: 0.5em 0.75em;
595  border: 1px solid transparent;
596  border-radius: 2px;
597}
598.ow-forms label {
599  display: block;
600  margin-bottom: 0.35em;
601  color: #959595;
602}
603.ow-forms textarea {
604  resize: vertical;
605  height: 200px;
606}
607.ow-forms textarea,
608.ow-forms input {
609  width: 100%;
610  padding: 0.65em;
611  border-radius: 4px;
612  border: 1px solid #e1e1e1;
613}
614.ow-forms select {
615  width: 100%;
616}
617/* Generic button */
618.button {
619  box-sizing: border-box;
620  display: inline-block;
621  text-align: center;
622  vertical-align: middle;
623  cursor: pointer;
624  border: 1px solid transparent;
625  text-decoration: none;
626  font-style: normal;
627  white-space: nowrap;
628  text-overflow: ellipsis;
629  padding: 0.3em 1em;
630  margin: 0;
631  position: relative;
632  overflow: hidden;
633  background: #e1e1e1;
634  color: #151515;
635  font-size: 1em;
636  line-height: 1.25;
637  max-width: 100%;
638  width: auto;
639}
640.button-normal {
641  width: auto;
642}
643.button-normal:hover {
644  background-color: #959595;
645  color: white;
646}
647.button-important {
648  background-color: #EE4056;
649}
650/*
651Very simple way to paint dropdown-like arrows, without
652using any external dependencies.
653
654To use it, add something like this to your html, to display a "down" arrow:
655
656  <i class="arrow down"></i>
657*/
658i.arrow {
659  border: solid black;
660  border-width: 0 3px 3px 0;
661  display: inline-block;
662  padding: 3px;
663  margin: 3px;
664  margin-left: 6px;
665  margin-right: 0px;
666}
667.right {
668  transform: rotate(-45deg);
669  -webkit-transform: rotate(-45deg);
670}
671.left {
672  transform: rotate(135deg);
673  -webkit-transform: rotate(135deg);
674}
675.up {
676  transform: rotate(-135deg);
677  -webkit-transform: rotate(-135deg);
678}
679.down {
680  transform: rotate(45deg);
681  -webkit-transform: rotate(45deg);
682}
683.header-content {
684  padding: 1em 1.5em;
685}
686.header-content a {
687  text-decoration: none;
688}
689.header-content .description {
690  margin: 0;
691}
692/* logo ----------------------------------------------------------------------*/
693.logo {
694  font-size: 24px;
695  font-size: 1.5rem;
696  line-height: 1em;
697  font-weight: 800;
698  text-transform: uppercase;
699  margin: 0;
700  display: inline-block;
701}
702.logo span {
703  transition: all 250ms ease-in-out;
704}
705.logo:hover span {
706  color: #EE4056;
707}
708@media (max-width: 800px) {
709  .logo a {
710    content: "";
711    display: inline-block;
712    width: 34px;
713    height: 34px;
714    background-image: url('/static/media/img/logo-openworkouts.png');
715    background-size: 100%;
716    background-repeat: no-repeat;
717  }
718  .logo a span {
719    display: none !important;
720  }
721}
722.logo-open {
723  display: block;
724  color: #EE4056;
725}
726.logo-work,
727.logo-outs {
728  color: #f8b5be;
729}
730/* menu navigation -----------------------------------------------------------*/
731.nav-site {
732  font-size: 13px;
733  font-size: 0.8125rem;
734}
735.nav-site ul {
736  list-style-type: none;
737  padding: 0;
738  margin: 0;
739  display: flex;
740  flex-direction: row;
741  justify-content: space-between;
742  align-items: center;
743}
744.nav-site li {
745  border-left: 1px solid #e1e1e1;
746  flex-grow: 1;
747  text-align: center;
748  /* this is for the dashboard li element */
749}
750.nav-site li:first-child {
751  display: none;
752}
753@media (min-width: 800px) {
754  .nav-site li:first-child {
755    display: inline-block;
756  }
757}
758.nav-site a {
759  color: #959595;
760  padding: 1.25em;
761  display: block;
762}
763.nav-site a:hover {
764  color: #151515;
765}
766.nav-site .is-active a {
767  color: #151515;
768}
769.icon-dashboard::before,
770.icon-profile::before,
771.icon-logout::before {
772  content: "";
773  display: inline-block;
774}
775.icon-dashboard span,
776.icon-profile span,
777.icon-logout span {
778  display: none;
779}
780@media (min-width: 800px) {
781  .icon-dashboard::before,
782  .icon-profile::before,
783  .icon-logout::before {
784    display: none;
785  }
786  .icon-dashboard span,
787  .icon-profile span,
788  .icon-logout span {
789    display: inline-block;
790  }
791}
792.icon-dashboard:hover,
793.icon-profile:hover,
794.icon-logout:hover {
795  opacity: 0.5;
796}
797.icon-dashboard::before {
798  content: "☰";
799  font-size: 30px;
800  font-size: 1.875rem;
801  line-height: 0em;
802  position: relative;
803  top: 3px;
804  margin: 0;
805}
806.icon-profile {
807  padding: 1em 1.25em !important;
808}
809.icon-profile::before {
810  position: relative;
811  top: 3px;
812  width: 20px;
813  height: 20px;
814  background-image: url('/static/media/img/icon-user.svg');
815  background-size: 100%;
816  margin: 0;
817}
818.icon-logout {
819  padding: 1em 1.25em !important;
820}
821.icon-logout::before {
822  position: relative;
823  top: 3px;
824  width: 20px;
825  height: 20px;
826  background-image: url('/static/media/img/icon-logout.svg');
827  background-size: 100%;
828  margin: 0;
829}
830/* Add workout button with submenu -------------------------------------------*/
831.add-workout {
832  position: relative;
833  /* submenu -------------------------------------------------------------- */
834}
835.add-workout > a {
836  color: #EE4056;
837}
838.add-workout > a:before {
839  content: "+";
840  font-weight: 800;
841  font-size: 32px;
842  font-size: 2rem;
843  line-height: 0;
844  position: relative;
845  top: 8px;
846}
847.add-workout > a span {
848  display: none;
849}
850.add-workout > a:hover {
851  background-color: #EE4056;
852  color: white;
853}
854.add-workout:hover:after {
855  content: "";
856  position: absolute;
857  background-color: white;
858  bottom: -1px;
859  width: 100%;
860  height: 1px;
861  display: block;
862  z-index: 20;
863}
864.add-workout:hover ul {
865  display: inline-block;
866}
867.add-workout ul {
868  display: none;
869  flex-direction: column;
870  position: absolute;
871  background-color: rgba(255, 255, 255, 0.95);
872  right: -1px;
873  border: 1px solid #e1e1e1;
874  width: 153px;
875}
876.add-workout ul li {
877  border-left: transparent;
878  text-align: left;
879}
880.add-workout ul a:hover {
881  background-color: #fbfbfb;
882}
883/* description ---------------------------------------------------------------*/
884.description {
885  font-size: 14px;
886  font-size: 0.875rem;
887  font-weight: 300;
888  letter-spacing: 0.025em;
889  color: #959595;
890}
891/* ------------------------------ STATES ------------------------------------ */
892/* when user is login --------------------------------------------------------*/
893.is-login .header-content {
894  border-bottom: 1px solid #e1e1e1;
895  display: flex;
896  padding: 0em 1.5em;
897  justify-content: space-between;
898  align-items: center;
899}
900.is-login .description {
901  display: none;
902}
903.is-login .logo-open {
904  display: inline-block;
905}
906.workout-content {
907  padding: 2em  1em;
908  display: flex;
909  flex-direction: column;
910}
911@media (min-width: 480px) {
912  .workout-content {
913    padding: 2em 6em;
914  }
915}
916@media (min-width: 800px) {
917  .workout-content {
918    display: flex;
919    flex-direction: row;
920    justify-content: space-between;
921  }
922}
923/* list mode */
924.workout-list {
925  margin-right: 2em;
926  width: 100%;
927  order: 2;
928  /* provisional layout, replace this with grid layout system based on final content */
929}
930.workout-list > h2 {
931  font-weight: 300;
932  margin: 0 0 1.5em;
933}
934@media (min-width: 800px) {
935  .workout-list {
936    order: 1;
937  }
938}
939/* Module resume on dashboard workouts */
940.workout-resume {
941  padding: 1.5em 0;
942  position: relative;
943  max-width: 700px;
944}
945@media (min-width: 800px) {
946  .workout-resume {
947    padding-left: 2em;
948    border-left: 1px solid #e1e1e1;
949    transition: all 250ms ease-in-out;
950  }
951}
952.workout-resume:hover {
953  border-color: #151515;
954}
955.workout-resume:hover .workout-title:before {
956  color: #151515;
957}
958.workout-resume ul {
959  padding: 0;
960  list-style-type: none;
961  font-size: 13px;
962  font-size: 0.8125rem;
963}
964.workout-resume ul a {
965  display: block;
966  text-decoration: none;
967}
968.bike:before {
969  display: block;
970  content: "";
971  width: 30px;
972  height: 30px;
973  background-image: url('../media/img/bike.svg');
974  background-size: 100%;
975}
976.workout-title {
977  font-size: 14px;
978  font-size: 0.875rem;
979  margin: 0 0 0em 0;
980  position: relative;
981}
982.workout-title:before {
983  transition: all 250ms ease-in-out;
984  content: "▶";
985  position: absolute;
986  left: -3.25em;
987  top: 0.35em;
988  color: #e1e1e1;
989  font-size: 10px;
990  font-size: 0.625rem;
991}
992.workout-title a {
993  color: #151515;
994  text-decoration: none;
995}
996.workout-title a:hover {
997  color: #EE4056;
998}
999.workout-info {
1000  display: flex;
1001  flex-flow: row wrap;
1002  margin: 0.25em 0;
1003}
1004.workout-info li {
1005  color: #959595;
1006  margin-bottom: 0.25em;
1007}
1008.workout-info li:after {
1009  content: "|";
1010  margin: 0 0.5em;
1011}
1012.workout-info li:last-child:after {
1013  content: "";
1014  margin: 0;
1015}
1016.workout-map {
1017  margin-top: 1em;
1018}
1019.workout-map img {
1020  width: 100%;
1021}
1022.workout-intro {
1023  font-size: 13px;
1024  font-size: 0.8125rem;
1025  color: #151515;
1026}
1027.workout-options {
1028  display: inline-block;
1029  border: 1px solid #e1e1e1;
1030  margin-bottom: 0;
1031  border-radius: 4px;
1032  padding: 0;
1033  width: auto;
1034  background-color: white;
1035}
1036.workout-options li {
1037  display: inline-block;
1038  border-right: 1px solid #e1e1e1;
1039}
1040.workout-options li:last-child {
1041  border-right: none;
1042}
1043.workout-options a {
1044  display: block;
1045  color: #959595;
1046  padding: 0.5em 0.75em;
1047  text-decoration: none;
1048}
1049.workout-options a:hover {
1050  color: #151515;
1051}
1052.workout-options a.is-active {
1053  background-color: #959595;
1054  color: white;
1055}
1056.owo-del a:hover {
1057  color: red;
1058}
1059.workout-aside {
1060  width: 100%;
1061  order: 1;
1062}
1063@media (min-width: 800px) {
1064  .workout-aside {
1065    order: 2;
1066    max-width: 300px;
1067    padding-left: 1.5em;
1068    border-left: 1px solid #e1e1e1;
1069  }
1070}
1071.aside-profile {
1072  margin-bottom: 1em;
1073}
1074.aside-profile img {
1075  width: 80px;
1076  height: 80px;
1077  object-fit: cover;
1078  border-radius: 50%;
1079}
1080.aside-profile h2 {
1081  font-weight: 400;
1082  font-size: 18px;
1083  font-size: 1.125rem;
1084  margin: 0 0 0.5em 0;
1085}
1086.aside-profile ul {
1087  list-style-type: none;
1088  margin: 0;
1089  padding: 0;
1090  font-size: 13px;
1091  font-size: 0.8125rem;
1092  color: #555555;
1093}
1094.aside-profile a {
1095  text-decoration: none;
1096  color: #151515;
1097}
1098.aside-profile a:hover {
1099  color: #959595;
1100}
1101/* Workout detail */
1102#map {
1103  width: 100%;
1104  height: 400px;
1105}
1106@media (min-width: 480px) {
1107  #map {
1108    height: calc(100vh - 465px);
1109  }
1110}
1111.workout-detail {
1112  padding: 0em  1em;
1113}
1114@media (min-width: 480px) {
1115  .workout-detail {
1116    max-width: 1280px;
1117    margin: 0 auto;
1118  }
1119}
1120@media (min-width: 800px) {
1121  .workout-detail {
1122    display: flex;
1123    justify-content: space-between;
1124  }
1125}
1126.workout-detail-resume {
1127  max-width: 500px;
1128  margin-bottom: 2em;
1129  padding-top: 2em;
1130}
1131@media (min-width: 800px) {
1132  .workout-detail-resume {
1133    margin-right: 6em;
1134  }
1135}
1136.workout-detail-resume h3 {
1137  margin-top: 0;
1138  margin-bottom: 0.5em;
1139}
1140.workout-detail-resume h3 + div {
1141  font-size: 14px;
1142  font-size: 0.875rem;
1143  color: #959595;
1144  line-height: 1.35em;
1145}
1146.workout-detail-resume .workout-options {
1147  font-size: 13px;
1148  font-size: 0.8125rem;
1149}
1150.workout-detail-info {
1151  max-width: 600px;
1152}
1153@media (min-width: 800px) {
1154  .workout-detail-info {
1155    border-right: 1px solid #e1e1e1;
1156    border-left: 1px solid #e1e1e1;
1157    padding: 2em 1em 2em 2em;
1158  }
1159}
1160.workout-detail-info ul {
1161  list-style-type: none;
1162  padding: 0;
1163  margin: 0;
1164  display: flex;
1165  justify-content: space-between;
1166  flex-flow: row wrap;
1167}
1168.workout-detail-info ul span {
1169  display: block;
1170  font-size: 13px;
1171  font-size: 0.8125rem;
1172  color: #959595;
1173  margin-bottom: 0.25em;
1174  /* color for future features */
1175}
1176.workout-detail-info ul span.min,
1177.workout-detail-info ul span.avg,
1178.workout-detail-info ul span.max {
1179  display: inline-block;
1180  color: white;
1181  padding: 0.5em 0.85em;
1182  border-radius: 3px;
1183  background-color: #e1e1e1;
1184  color: #959595;
1185}
1186.workout-detail-info li {
1187  margin-bottom: 1em;
1188  margin-right: 1em;
1189  color: #959595;
1190  font-size: 15px;
1191  font-size: 0.9375rem;
1192}
1193.workout-detail-info li.important {
1194  font-size: 21px;
1195  font-size: 1.3125rem;
1196  color: #151515;
1197}
1198/* Week report */
1199.svg-content svg {
1200  width: 100%;
1201  height: 100%;
1202}
1203.svg-content .label {
1204  font-size: 13px;
1205  font-size: 0.8125rem;
1206  text-anchor: middle;
1207}
1208.svg-content .tick {
1209  font-size: 13px;
1210  font-size: 0.8125rem;
1211}
1212/* dashboard graphics*/
1213.x-axis path,
1214.x-axis line {
1215  fill: none;
1216  stroke: none;
1217}
1218.bar {
1219  fill: #f8b5be;
1220}
1221.bar:hover {
1222  fill: #ee4056;
1223}
1224.current {
1225  fill: #ee4056;
1226}
1227.week-stats {
1228  border: 1px solid #e1e1e1;
1229  background-color: rgba(225, 225, 225, 0.1);
1230  padding: 0.75em;
1231  border-radius: 4px;
1232  margin-bottom: 2em;
1233}
1234.week-stats h3 {
1235  margin: 0;
1236  font-size: 14px;
1237  font-size: 0.875rem;
1238}
1239.week-stats h3 + p {
1240  margin: 0.25em 0 2em 0;
1241  color: #959595;
1242  font-size: 13px;
1243  font-size: 0.8125rem;
1244}
1245.workout-activity-summary {
1246  list-style-type: none;
1247  padding: 0;
1248  margin: 0;
1249  background-color: rgba(21, 21, 21, 0.8);
1250  margin-bottom: 0.75em;
1251}
1252.workout-activity-summary li {
1253  color: #e1e1e1;
1254  border-bottom: 1px solid #959595;
1255  padding: 0.75em 1em;
1256  display: flex;
1257  justify-content: space-between;
1258}
1259.workout-activity-summary li:last-child {
1260  margin-bottom: 0;
1261  border: none;
1262}
1263.workout-activity-summary li span:first-child {
1264  font-weight: bold;
1265}
1266.workout-activity-tree {
1267  list-style-type: none;
1268  padding: 0;
1269  margin: 0;
1270  transition: all 250ms ease-in-out;
1271  font-size: 13px;
1272  font-size: 0.8125rem;
1273}
1274.workout-activity-tree > li {
1275  margin-bottom: 0.5em;
1276  padding-bottom: 0.5em;
1277  border-bottom: 1px solid #e1e1e1;
1278}
1279.workout-activity-tree a {
1280  text-decoration: none;
1281  display: block;
1282  color: #EE4056;
1283}
1284.workout-activity-tree a:hover {
1285  color: #151515;
1286}
1287.workout-activity-tree a.viewing-year {
1288  color: #151515;
1289  font-weight: 700;
1290  margin-bottom: 0.5em;
1291  font-size: 16px;
1292  font-size: 1rem;
1293}
1294.workout-activity-tree a.viewing-month {
1295  background-color: #e1e1e1;
1296  color: #151515;
1297  font-weight: 700;
1298}
1299.workout-activity-tree-year {
1300  list-style-type: none;
1301  padding: 0;
1302  margin: 0;
1303}
1304.workout-activity-tree-year > li {
1305  display: block;
1306  margin-bottom: 0.5em;
1307}
1308.workout-activity-tree-year a {
1309  display: flex;
1310  justify-content: space-between;
1311  padding: 0.5em;
1312  background-color: #fbfbfb;
1313  color: #555555;
1314}
1315.workout-activity-tree-year a:hover {
1316  background-color: #e1e1e1;
1317}
1318.uploading-workout {
1319  /* Extends ow-forms, as we use a div with this class to show as a
1320       replacement of the uploading form while the form is submitting
1321       (that could take some time when uploading bigger tracking files) */
1322  width: 100%;
1323  text-align: center;
1324  display: none;
1325}
1326.ow-forms,
1327.uploading-workout {
1328  padding-top: 2em;
1329}
1330.ow-forms h2 {
1331  border-top: 1px solid #e1e1e1;
1332  padding-top: 0.5em;
1333}
1334.back {
1335  color: #EE4056;
1336  text-decoration: none;
1337  font-weight: 700;
1338}
1339.back:before {
1340  content: "⬅";
1341  margin-right: 0.5em;
1342}
1343.back:hover {
1344  color: #151515;
1345}
1346.login-content {
1347  background-image: url("../media/img/back-01.jpg");
1348  background-position: center;
1349  background-size: cover;
1350  display: flex;
1351  justify-content: center;
1352  align-items: center;
1353  min-height: calc(100vh - 98px);
1354  padding: 1em 0;
1355}
1356.login-content form {
1357  max-width: 380px;
1358  background-color: rgba(21, 21, 21, 0.6);
1359  border-radius: 6px;
1360  padding: 2em 1.5em;
1361}
1362.login-content form div {
1363  margin-bottom: 1.5em;
1364}
1365.login-content label {
1366  color: #e1e1e1;
1367}
1368.login-content a {
1369  color: #e1e1e1;
1370  font-size: 13px;
1371  text-decoration: none;
1372  margin-right: 0.75em;
1373}
1374.login-content a:hover {
1375  color: white;
1376}
1377.login-content .button {
1378  transition: all 500ms ease-in-out;
1379  background-color: #EE4056;
1380  color: white;
1381  text-transform: uppercase;
1382}
1383.login-content .button:hover {
1384  background-color: #e6152f;
1385}
1386.login-content .message {
1387  padding: 0.5em;
1388  margin: 0;
1389  text-align: center;
1390  font-size: 13px;
1391  font-size: 0.8125rem;
1392}
1393.login-content .message.message-error {
1394  color: white;
1395  background-color: red;
1396}
1397/*
1398.login-remember {
1399    color: @color-main-medium;
1400    .font-size(14);
1401    text-decoration: none;
1402    font-weight: 300;
1403    &:hover{
1404        color: @color-main-light;
1405    }
1406}
1407<a class="login-remember" href="#">Forgot your password?</a>
1408*/
1409.user-profile .workout-options {
1410  font-size: 13px;
1411  font-size: 0.8125rem;
1412  margin-right: 2em;
1413}
1414.user-profile-account {
1415  background-color: #fbfbfb;
1416  border-bottom: 1px solid #e1e1e1;
1417  padding: 2em  1em;
1418}
1419@media (min-width: 480px) {
1420  .user-profile-account {
1421    padding: 2em 6em;
1422  }
1423}
1424@media (min-width: 800px) {
1425  .user-profile-account > div {
1426    display: flex;
1427    align-items: center;
1428  }
1429}
1430.user-profile-account img {
1431  width: 64px;
1432  height: 64px;
1433  object-fit: cover;
1434  border-radius: 50%;
1435  margin-bottom: 0.5em;
1436  margin-right: 1em;
1437}
1438@media (min-width: 800px) {
1439  .user-profile-account img {
1440    width: 140px;
1441    height: 140px;
1442  }
1443}
1444.user-profile-account h2 {
1445  margin: 0 0 0.15em 0;
1446  font-size: 21px;
1447  font-size: 1.3125rem;
1448  font-weight: 400;
1449}
1450.user-profile-account p {
1451  color: #555555;
1452  font-size: 14px;
1453  font-size: 0.875rem;
1454  margin: 0;
1455}
1456.user-profile-account p a {
1457  color: #EE4056;
1458  text-decoration: none;
1459}
1460.user-profile-account p a:hover {
1461  color: #151515;
1462}
1463.user-profile-account p span {
1464  color: #959595;
1465}
1466.total-workouts {
1467  font-size: 13px;
1468  font-size: 0.8125rem;
1469  font-weight: bold;
1470}
1471.total-workouts span {
1472  color: #959595;
1473  margin-right: 0.5em;
1474}
1475.total-workouts span:first-child {
1476  color: #151515;
1477}
1478.total-workouts span:first-child:after {
1479  content: "|";
1480  color: #e1e1e1;
1481  margin-left: 0.5em;
1482}
1483.profile-data {
1484  list-style-type: none;
1485  padding: 0;
1486  font-size: 14px;
1487  font-size: 0.875rem;
1488  background-color: white;
1489  padding: 0.5em 0.75em;
1490  border-radius: 4px;
1491  border: 1px solid #e1e1e1;
1492}
1493.profile-data li {
1494  display: flex;
1495  justify-content: space-between;
1496  color: #959595;
1497}
1498.profile-data li:not(:last-child) {
1499  margin-bottom: 0.5em;
1500  padding-bottom: 0.5em;
1501  border-bottom: 1px solid #e1e1e1;
1502}
1503.profile-data li span {
1504  font-weight: bold;
1505  color: #151515;
1506}
1507.profile-data li a {
1508  color: #EE4056;
1509  text-decoration: none;
1510}
1511.profile-data li a:hover {
1512  color: #151515;
1513}
1514.profile-data li a:active,
1515.profile-data li a:focus {
1516  outline: 0;
1517  border: none;
1518  -moz-outline-style: none;
1519}
1520.profile-bio {
1521  margin: 0.5em 0;
1522  font-size: 14px;
1523  font-size: 0.875rem;
1524}
1525.month-stats,
1526.latest-workouts {
1527  max-width: 700px;
1528}
1529.center {
1530  text-align: center;
1531}
1532.month-stats {
1533  margin-bottom: 4em;
1534}
1535.latest-workouts h4 {
1536  margin: 0;
1537}
1538.latest-workouts h4 a {
1539  color: #151515;
1540  text-decoration: none;
1541}
1542.latest-workouts > span {
1543  font-size: 13px;
1544  font-size: 0.8125rem;
1545}
1546.latest-workouts p {
1547  margin-top: 0.25em;
1548  color: #959595;
1549  font-size: 13px;
1550  font-size: 0.8125rem;
1551}
1552.profile-dropdown-sports,
1553.profile-dropdown-years {
1554  color: #151515;
1555  text-decoration: none;
1556}
1557.profile-dropdown-sports:hover,
1558.profile-dropdown-years:hover {
1559  color: #151515;
1560}
1561.profile-dropdown-sports:active,
1562.profile-dropdown-years:active,
1563.profile-dropdown-sports:focus,
1564.profile-dropdown-years:focus {
1565  outline: 0;
1566  border: none;
1567  -moz-outline-style: none;
1568}
1569/* Calendar heatmap */
1570.calendar-heatmap {
1571  margin: 20px;
1572}
1573.calendar-heatmap .month {
1574  margin-right: 8px;
1575}
1576.calendar-heatmap .month-name {
1577  font-size: 85%;
1578  fill: #777;
1579}
1580.calendar-heatmap .day-name {
1581  font-size: 85%;
1582  fill: #777;
1583}
1584.calendar-heatmap .day:hover {
1585  stroke: #e1e1e1;
1586  stroke-width: 2;
1587}
1588.calendar-heatmap .day:focus {
1589  stroke: #e1e1e1;
1590  stroke-width: 2;
1591}
1592.calendar-heatmap-tooltip {
1593  width: 20%;
1594}
1595.verify-account-content {
1596  background-position: center;
1597  background-size: cover;
1598  display: flex;
1599  justify-content: center;
1600  align-items: center;
1601  /* dynamic min-height based on window height does not work well
1602     with premailer and generating the proper html with styles for mails */
1603  min-height: 400px;
1604  padding: 1em 0;
1605  /* RGB calculated color does not work well with premailer and
1606       generating the proper html with styles for mails */
1607  color: #151515;
1608}
1609.verify-account-content .info {
1610  max-width: 580px;
1611  /* RGB calculated color does not work well with premailer and
1612         generating the proper html with styles for mails */
1613  background-color: #e1e1e1;
1614  border-radius: 6px;
1615  padding: 2em 1.5em;
1616}
1617.verify-account-content .info div {
1618  margin-bottom: 1.5em;
1619}
1620.verify-account-content a {
1621  /* RGB calculated color does not work well with premailer and
1622           generating the proper html with styles for mails */
1623  color: #151515;
1624  font-size: 13px;
1625  text-decoration: none;
1626  margin-right: 0.75em;
1627}
1628.verify-account-content a:hover {
1629  color: #151515;
1630}
1631.verify-account-content .button {
1632  background-color: #EE4056;
1633  background: #EE4056;
1634  color: white;
1635  text-transform: uppercase;
1636}
1637.verify-account-content .button:hover {
1638  background-color: #F60002;
1639}
Note: See TracBrowser for help on using the repository browser.