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

currentfeature/docs
Last change on this file since 5cf7630 was 5cf7630, checked in by Segundo Fdez <segun.2@…>, 5 years ago

Fix #57

  • Property mode set to 100644
File size: 28.2 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/v15/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/v15/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/v15/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/v15/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/v15/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/v15/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/v15/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  display: block;
450  width: 100%;
451  padding-left: 1rem;
452  padding-right: 1rem;
453  margin: 0 auto;
454}
455@media (min-width: 480px) {
456  .wrapper,
457  .wrapper-s,
458  .wrapper-l,
459  .wrapper-xl,
460  .ow-forms {
461    padding-left: 2rem;
462    padding-right: 2rem;
463  }
464}
465@media (min-width: 800px) {
466  .wrapper,
467  .wrapper-s,
468  .wrapper-l,
469  .wrapper-xl,
470  .ow-forms {
471    padding-left: 4rem;
472    padding-right: 4rem;
473  }
474}
475@media (min-width: 1024px) {
476  .wrapper,
477  .wrapper-s,
478  .wrapper-l,
479  .wrapper-xl,
480  .ow-forms {
481    padding-left: 5rem;
482    padding-right: 5rem;
483  }
484}
485@media (min-width: 1440px) {
486  .wrapper,
487  .wrapper-s,
488  .wrapper-l,
489  .wrapper-xl,
490  .ow-forms {
491    padding-left: 6rem;
492    padding-right: 6rem;
493  }
494}
495@media (min-width: 320px) {
496  .wrapper-s,
497  .ow-forms {
498    max-width: 740px;
499  }
500}
501@media (min-width: 320px) {
502  .wrapper-l {
503    max-width: 1280px;
504  }
505}
506@media (min-width: 320px) {
507  .wrapper-xl {
508    max-width: 1440px;
509  }
510}
511/* Layout */
512.ly-flex {
513  display: flex;
514  justify-content: space-between;
515}
516.ly-flex.ly-center {
517  align-items: center;
518}
519.ly-flex.ly-start {
520  justify-content: flex-start;
521}
522.ly-flex.ly-2 {
523  flex-flow: row wrap;
524}
525.ly-flex.ly-2 > div,
526.ly-flex.ly-2 > li,
527.ly-flex.ly-2 > p,
528.ly-flex.ly-2 > a {
529  width: 50%;
530}
531.ly-flex.ly-2.has-gap > div,
532.ly-flex.ly-2.has-gap > li,
533.ly-flex.ly-2.has-gap > p,
534.ly-flex.ly-2.has-gap > a {
535  width: 48%;
536}
537.ly-flex.ly-3 {
538  flex-flow: row wrap;
539}
540.ly-flex.ly-3 > div,
541.ly-flex.ly-3 > li,
542.ly-flex.ly-3 > p {
543  width: 33%;
544}
545.ly-flex.ly-3.has-gap > div,
546.ly-flex.ly-3.has-gap > li,
547.ly-flex.ly-3.has-gap > p {
548  width: 31%;
549}
550.ly-flex.ly-4 {
551  flex-flow: row wrap;
552}
553.ly-flex.ly-4 > div,
554.ly-flex.ly-4 > li,
555.ly-flex.ly-4 > p {
556  width: 25%;
557}
558.ly-flex.ly-4.has-gap > div,
559.ly-flex.ly-4.has-gap > li,
560.ly-flex.ly-4.has-gap > p {
561  width: 23%;
562}
563.ly-flex-end {
564  align-items: flex-end;
565}
566/* Generic default forms */
567form {
568  width: 100%;
569}
570legend {
571  display: none;
572}
573fieldset {
574  border: none;
575  padding: 0;
576}
577fieldset > div,
578fieldset > p {
579  margin-bottom: 1.5em;
580}
581label {
582  display: block;
583  font-size: 13px;
584  margin-bottom: 0.25em;
585}
586input {
587  width: 100%;
588  padding: 0.5em 0.75em;
589  border: 1px solid transparent;
590  border-radius: 2px;
591}
592.ow-forms label {
593  display: block;
594  margin-bottom: 0.35em;
595  color: #959595;
596}
597.ow-forms textarea {
598  resize: vertical;
599  height: 200px;
600}
601.ow-forms textarea,
602.ow-forms input {
603  width: 100%;
604  padding: 0.65em;
605  border-radius: 4px;
606  border: 1px solid #e1e1e1;
607}
608/* Generic button */
609.button {
610  box-sizing: border-box;
611  display: inline-block;
612  text-align: center;
613  vertical-align: middle;
614  cursor: pointer;
615  border: 1px solid transparent;
616  text-decoration: none;
617  font-style: normal;
618  white-space: nowrap;
619  text-overflow: ellipsis;
620  padding: 0.3em 1em;
621  margin: 0;
622  position: relative;
623  overflow: hidden;
624  background: #e1e1e1;
625  color: #151515;
626  font-size: 1em;
627  line-height: 1.25;
628  max-width: 100%;
629  width: auto;
630}
631.button-normal {
632  width: auto;
633}
634.button-normal:hover {
635  background-color: #959595;
636  color: white;
637}
638.button-important {
639  background-color: #EE4056;
640}
641.header-content {
642  padding: 1em 1.5em;
643}
644.header-content a {
645  text-decoration: none;
646}
647.header-content .description {
648  margin: 0;
649}
650/* logo ----------------------------------------------------------------------*/
651.logo {
652  font-size: 24px;
653  font-size: 1.5rem;
654  line-height: 1em;
655  font-weight: 800;
656  text-transform: uppercase;
657  margin: 0;
658  display: inline-block;
659}
660.logo span {
661  transition: all 250ms ease-in-out;
662}
663.logo:hover span {
664  color: #EE4056;
665}
666@media (max-width: 800px) {
667  .logo a {
668    content: "";
669    display: inline-block;
670    width: 34px;
671    height: 34px;
672    background-image: url('/static/media/img/logo-openworkouts.png');
673    background-size: 100%;
674    background-repeat: no-repeat;
675  }
676  .logo a span {
677    display: none !important;
678  }
679}
680.logo-open {
681  display: block;
682  color: #EE4056;
683}
684.logo-work,
685.logo-outs {
686  color: #f8b5be;
687}
688/* menu navigation -----------------------------------------------------------*/
689.nav-site {
690  font-size: 13px;
691  font-size: 0.8125rem;
692}
693.nav-site ul {
694  list-style-type: none;
695  padding: 0;
696  margin: 0;
697  display: flex;
698  flex-direction: row;
699  justify-content: space-between;
700  align-items: center;
701}
702.nav-site li {
703  border-left: 1px solid #e1e1e1;
704  flex-grow: 1;
705  text-align: center;
706}
707.nav-site a {
708  color: #959595;
709  padding: 1.25em;
710  display: block;
711}
712.nav-site a:hover {
713  color: #151515;
714}
715.nav-site .is-active a {
716  color: #151515;
717}
718.icon-dashboard::before,
719.icon-profile::before,
720.icon-logout::before {
721  content: "";
722  display: inline-block;
723}
724.icon-dashboard span,
725.icon-profile span,
726.icon-logout span {
727  display: none;
728}
729@media (min-width: 800px) {
730  .icon-dashboard::before,
731  .icon-profile::before,
732  .icon-logout::before {
733    display: none;
734  }
735  .icon-dashboard span,
736  .icon-profile span,
737  .icon-logout span {
738    display: inline-block;
739  }
740}
741.icon-dashboard:hover,
742.icon-profile:hover,
743.icon-logout:hover {
744  opacity: 0.5;
745}
746.icon-dashboard::before {
747  content: "☰";
748  font-size: 30px;
749  font-size: 1.875rem;
750  line-height: 0em;
751  position: relative;
752  top: 3px;
753  margin: 0;
754}
755.icon-profile {
756  padding: 1em 1.25em !important;
757}
758.icon-profile::before {
759  position: relative;
760  top: 3px;
761  width: 20px;
762  height: 20px;
763  background-image: url('/static/media/img/icon-user.svg');
764  background-size: 100%;
765  margin: 0;
766}
767.icon-logout {
768  padding: 1em 1.25em !important;
769}
770.icon-logout::before {
771  position: relative;
772  top: 3px;
773  width: 20px;
774  height: 20px;
775  background-image: url('/static/media/img/icon-logout.svg');
776  background-size: 100%;
777  margin: 0;
778}
779/* Add workout button with submenu -------------------------------------------*/
780.add-workout {
781  position: relative;
782  /* submenu -------------------------------------------------------------- */
783}
784.add-workout > a {
785  color: #EE4056;
786}
787.add-workout > a:before {
788  content: "+";
789  font-weight: 800;
790  font-size: 32px;
791  font-size: 2rem;
792  line-height: 0;
793  position: relative;
794  top: 8px;
795}
796.add-workout > a span {
797  display: none;
798}
799.add-workout > a:hover {
800  background-color: #EE4056;
801  color: white;
802}
803.add-workout:hover:after {
804  content: "";
805  position: absolute;
806  background-color: white;
807  bottom: -1px;
808  width: 100%;
809  height: 1px;
810  display: block;
811  z-index: 20;
812}
813.add-workout:hover ul {
814  display: inline-block;
815}
816.add-workout ul {
817  display: none;
818  flex-direction: column;
819  position: absolute;
820  background-color: rgba(255, 255, 255, 0.95);
821  right: -1px;
822  border: 1px solid #e1e1e1;
823  width: 153px;
824}
825.add-workout ul li {
826  border-left: transparent;
827  text-align: left;
828}
829.add-workout ul a:hover {
830  background-color: #fbfbfb;
831}
832/* description ---------------------------------------------------------------*/
833.description {
834  font-size: 14px;
835  font-size: 0.875rem;
836  font-weight: 300;
837  letter-spacing: 0.025em;
838  color: #959595;
839}
840/* ------------------------------ STATES ------------------------------------ */
841/* when user is login --------------------------------------------------------*/
842.is-login .header-content {
843  border-bottom: 1px solid #e1e1e1;
844  display: flex;
845  padding: 0em 1.5em;
846  justify-content: space-between;
847  align-items: center;
848}
849.is-login .description {
850  display: none;
851}
852.is-login .logo-open {
853  display: inline-block;
854}
855.workout-content {
856  padding: 2em  1em;
857  display: flex;
858  flex-direction: column;
859}
860@media (min-width: 480px) {
861  .workout-content {
862    padding: 2em 6em;
863  }
864}
865@media (min-width: 800px) {
866  .workout-content {
867    display: flex;
868    flex-direction: row;
869    justify-content: space-between;
870  }
871}
872/* list mode */
873.workout-list {
874  margin-right: 2em;
875  width: 100%;
876  order: 2;
877  /* provisional layout, replace this with grid layout system based on final content */
878}
879.workout-list > h2 {
880  font-weight: 300;
881  margin: 0 0 1.5em;
882}
883@media (min-width: 800px) {
884  .workout-list {
885    order: 1;
886  }
887}
888/* Module resume on dashboard workouts */
889.workout-resume {
890  padding: 1.5em 0;
891  position: relative;
892  max-width: 700px;
893}
894@media (min-width: 800px) {
895  .workout-resume {
896    padding-left: 2em;
897    border-left: 1px solid #e1e1e1;
898    transition: all 250ms ease-in-out;
899  }
900}
901.workout-resume:hover {
902  border-color: #151515;
903}
904.workout-resume:hover .workout-title:before {
905  color: #151515;
906}
907.workout-resume ul {
908  padding: 0;
909  list-style-type: none;
910  font-size: 13px;
911  font-size: 0.8125rem;
912}
913.workout-resume ul a {
914  display: block;
915  text-decoration: none;
916}
917.bike:before {
918  display: block;
919  content: "";
920  width: 30px;
921  height: 30px;
922  background-image: url('../media/img/bike.svg');
923  background-size: 100%;
924}
925.workout-title {
926  font-size: 14px;
927  font-size: 0.875rem;
928  margin: 0 0 0em 0;
929  position: relative;
930}
931.workout-title:before {
932  transition: all 250ms ease-in-out;
933  content: "▶";
934  position: absolute;
935  left: -3.25em;
936  top: 0.35em;
937  color: #e1e1e1;
938  font-size: 10px;
939  font-size: 0.625rem;
940}
941.workout-title a {
942  color: #151515;
943  text-decoration: none;
944}
945.workout-title a:hover {
946  color: #EE4056;
947}
948.workout-info {
949  display: flex;
950  flex-flow: row wrap;
951  margin: 0.25em 0;
952}
953.workout-info li {
954  color: #959595;
955  margin-bottom: 0.25em;
956}
957.workout-info li:after {
958  content: "|";
959  margin: 0 0.5em;
960}
961.workout-info li:last-child:after {
962  content: "";
963  margin: 0;
964}
965.workout-map {
966  margin-top: 1em;
967}
968.workout-map img {
969  width: 100%;
970}
971.workout-intro {
972  font-size: 13px;
973  font-size: 0.8125rem;
974  color: #151515;
975}
976.workout-options {
977  display: inline-block;
978  border: 1px solid #e1e1e1;
979  margin-bottom: 0;
980  border-radius: 4px;
981  padding: 0;
982  width: auto;
983  background-color: white;
984}
985.workout-options li {
986  display: inline-block;
987  border-right: 1px solid #e1e1e1;
988}
989.workout-options li:last-child {
990  border-right: none;
991}
992.workout-options a {
993  display: block;
994  color: #959595;
995  padding: 0.5em 0.75em;
996  text-decoration: none;
997}
998.workout-options a:hover {
999  color: #151515;
1000}
1001.workout-options a.is-active {
1002  background-color: #959595;
1003  color: white;
1004}
1005.owo-del a:hover {
1006  color: red;
1007}
1008.workout-aside {
1009  width: 100%;
1010  order: 1;
1011}
1012@media (min-width: 800px) {
1013  .workout-aside {
1014    order: 2;
1015    max-width: 300px;
1016    padding-left: 1.5em;
1017    border-left: 1px solid #e1e1e1;
1018  }
1019}
1020.aside-profile {
1021  margin-bottom: 1em;
1022}
1023.aside-profile img {
1024  width: 80px;
1025  height: 80px;
1026  object-fit: cover;
1027  border-radius: 50%;
1028}
1029.aside-profile h2 {
1030  font-weight: 400;
1031  font-size: 18px;
1032  font-size: 1.125rem;
1033  margin: 0 0 0.5em 0;
1034}
1035.aside-profile ul {
1036  list-style-type: none;
1037  margin: 0;
1038  padding: 0;
1039  font-size: 13px;
1040  font-size: 0.8125rem;
1041  color: #555555;
1042}
1043.aside-profile a {
1044  text-decoration: none;
1045  color: #151515;
1046}
1047.aside-profile a:hover {
1048  color: #959595;
1049}
1050/* Workout detail */
1051#map {
1052  width: 100%;
1053  height: 400px;
1054}
1055@media (min-width: 480px) {
1056  #map {
1057    height: calc(100vh - 465px);
1058  }
1059}
1060.workout-detail {
1061  padding: 0em  1em;
1062}
1063@media (min-width: 480px) {
1064  .workout-detail {
1065    max-width: 1280px;
1066    margin: 0 auto;
1067  }
1068}
1069@media (min-width: 800px) {
1070  .workout-detail {
1071    display: flex;
1072    justify-content: space-between;
1073  }
1074}
1075.workout-detail-resume {
1076  max-width: 500px;
1077  margin-bottom: 2em;
1078  padding-top: 2em;
1079}
1080@media (min-width: 800px) {
1081  .workout-detail-resume {
1082    margin-right: 6em;
1083  }
1084}
1085.workout-detail-resume h3 {
1086  margin-top: 0;
1087  margin-bottom: 0.5em;
1088}
1089.workout-detail-resume h3 + div {
1090  font-size: 14px;
1091  font-size: 0.875rem;
1092  color: #959595;
1093  line-height: 1.35em;
1094}
1095.workout-detail-resume .workout-options {
1096  font-size: 13px;
1097  font-size: 0.8125rem;
1098}
1099.workout-detail-info {
1100  max-width: 600px;
1101}
1102@media (min-width: 800px) {
1103  .workout-detail-info {
1104    border-right: 1px solid #e1e1e1;
1105    border-left: 1px solid #e1e1e1;
1106    padding: 2em 1em 2em 2em;
1107  }
1108}
1109.workout-detail-info ul {
1110  list-style-type: none;
1111  padding: 0;
1112  margin: 0;
1113  display: flex;
1114  justify-content: space-between;
1115  flex-flow: row wrap;
1116}
1117.workout-detail-info ul span {
1118  display: block;
1119  font-size: 13px;
1120  font-size: 0.8125rem;
1121  color: #959595;
1122  margin-bottom: 0.25em;
1123  /* color for future features */
1124}
1125.workout-detail-info ul span.min,
1126.workout-detail-info ul span.avg,
1127.workout-detail-info ul span.max {
1128  display: inline-block;
1129  color: white;
1130  padding: 0.5em 0.85em;
1131  border-radius: 3px;
1132  background-color: #e1e1e1;
1133  color: #959595;
1134}
1135.workout-detail-info li {
1136  margin-bottom: 1em;
1137  margin-right: 1em;
1138  color: #959595;
1139  font-size: 15px;
1140  font-size: 0.9375rem;
1141}
1142.workout-detail-info li.important {
1143  font-size: 21px;
1144  font-size: 1.3125rem;
1145  color: #151515;
1146}
1147/* Week report */
1148.svg-cotent svg {
1149  width: 100%;
1150  height: 100%;
1151}
1152.svg-cotent .label {
1153  font-size: 13px;
1154  font-size: 0.8125rem;
1155  text-anchor: middle;
1156}
1157.svg-cotent .tick {
1158  font-size: 13px;
1159  font-size: 0.8125rem;
1160}
1161/* dashboard graphics*/
1162.x-axis path,
1163.x-axis line {
1164  fill: none;
1165  stroke: none;
1166}
1167.bar {
1168  fill: #f8b5be;
1169}
1170.bar:hover {
1171  fill: #ee4056;
1172}
1173.current {
1174  fill: #ee4056;
1175}
1176.week-stats {
1177  border: 1px solid #e1e1e1;
1178  background-color: rgba(225, 225, 225, 0.1);
1179  padding: 0.75em;
1180  border-radius: 4px;
1181  margin-bottom: 2em;
1182}
1183.week-stats h3 {
1184  margin: 0;
1185  font-size: 14px;
1186  font-size: 0.875rem;
1187}
1188.week-stats h3 + p {
1189  margin: 0.25em 0 2em 0;
1190  color: #959595;
1191  font-size: 13px;
1192  font-size: 0.8125rem;
1193}
1194.workout-activity-summary {
1195  list-style-type: none;
1196  padding: 0;
1197  margin: 0;
1198  background-color: rgba(21, 21, 21, 0.8);
1199  margin-bottom: 0.75em;
1200}
1201.workout-activity-summary li {
1202  color: #e1e1e1;
1203  border-bottom: 1px solid #959595;
1204  padding: 0.75em 1em;
1205  display: flex;
1206  justify-content: space-between;
1207}
1208.workout-activity-summary li:last-child {
1209  margin-bottom: 0;
1210  border: none;
1211}
1212.workout-activity-summary li span:first-child {
1213  font-weight: bold;
1214}
1215.workout-activity-tree {
1216  list-style-type: none;
1217  padding: 0;
1218  margin: 0;
1219  transition: all 250ms ease-in-out;
1220  font-size: 13px;
1221  font-size: 0.8125rem;
1222}
1223.workout-activity-tree > li {
1224  margin-bottom: 0.5em;
1225  padding-bottom: 0.5em;
1226  border-bottom: 1px solid #e1e1e1;
1227}
1228.workout-activity-tree a {
1229  text-decoration: none;
1230  display: block;
1231  color: #EE4056;
1232}
1233.workout-activity-tree a:hover {
1234  color: #151515;
1235}
1236.workout-activity-tree a.viewing-year {
1237  color: #151515;
1238  font-weight: 700;
1239  margin-bottom: 0.5em;
1240  font-size: 16px;
1241  font-size: 1rem;
1242}
1243.workout-activity-tree a.viewing-month {
1244  background-color: #e1e1e1;
1245  color: #151515;
1246  font-weight: 700;
1247}
1248.workout-activity-tree-year {
1249  list-style-type: none;
1250  padding: 0;
1251  margin: 0;
1252}
1253.workout-activity-tree-year > li {
1254  display: block;
1255  margin-bottom: 0.5em;
1256}
1257.workout-activity-tree-year a {
1258  display: flex;
1259  justify-content: space-between;
1260  padding: 0.5em;
1261  background-color: #fbfbfb;
1262  color: #555555;
1263}
1264.workout-activity-tree-year a:hover {
1265  background-color: #e1e1e1;
1266}
1267.ow-forms {
1268  padding-top: 2em;
1269}
1270.ow-forms h2 {
1271  border-top: 1px solid #e1e1e1;
1272  padding-top: 0.5em;
1273}
1274.back {
1275  color: #EE4056;
1276  text-decoration: none;
1277  font-weight: 700;
1278}
1279.back:before {
1280  content: "⬅";
1281  margin-right: 0.5em;
1282}
1283.back:hover {
1284  color: #151515;
1285}
1286.login-content {
1287  background-image: url("../media/img/back-01.jpg");
1288  background-position: center;
1289  background-size: cover;
1290  display: flex;
1291  justify-content: center;
1292  align-items: center;
1293  min-height: calc(100vh - 98px);
1294  padding: 1em 0;
1295}
1296.login-content form {
1297  max-width: 380px;
1298  background-color: rgba(21, 21, 21, 0.6);
1299  border-radius: 6px;
1300  padding: 2em 1.5em;
1301}
1302.login-content form div {
1303  margin-bottom: 1.5em;
1304}
1305.login-content label {
1306  color: #e1e1e1;
1307}
1308.login-content a {
1309  color: #e1e1e1;
1310  font-size: 13px;
1311  text-decoration: none;
1312  margin-right: 0.75em;
1313}
1314.login-content a:hover {
1315  color: white;
1316}
1317.login-content .button {
1318  transition: all 500ms ease-in-out;
1319  background-color: #EE4056;
1320  color: white;
1321  text-transform: uppercase;
1322}
1323.login-content .button:hover {
1324  background-color: #e6152f;
1325}
1326.login-content .message {
1327  padding: 0.5em;
1328  margin: 0;
1329  text-align: center;
1330  font-size: 13px;
1331  font-size: 0.8125rem;
1332}
1333.login-content .message.message-error {
1334  color: white;
1335  background-color: red;
1336}
1337/*
1338.login-remember {
1339    color: @color-main-medium;
1340    .font-size(14);
1341    text-decoration: none;
1342    font-weight: 300;
1343    &:hover{
1344        color: @color-main-light;
1345    }
1346}
1347<a class="login-remember" href="#">Forgot your password?</a>
1348*/
1349.user-profile .workout-options {
1350  font-size: 13px;
1351  font-size: 0.8125rem;
1352  margin-right: 2em;
1353}
1354.user-profile-account {
1355  background-color: #fbfbfb;
1356  border-bottom: 1px solid #e1e1e1;
1357  padding: 2em  1em;
1358}
1359@media (min-width: 480px) {
1360  .user-profile-account {
1361    padding: 2em 6em;
1362  }
1363}
1364@media (min-width: 800px) {
1365  .user-profile-account > div {
1366    display: flex;
1367    align-items: center;
1368  }
1369}
1370.user-profile-account img {
1371  width: 64px;
1372  height: 64px;
1373  object-fit: cover;
1374  border-radius: 50%;
1375  margin-bottom: 0.5em;
1376  margin-right: 1em;
1377}
1378@media (min-width: 800px) {
1379  .user-profile-account img {
1380    width: 140px;
1381    height: 140px;
1382  }
1383}
1384.user-profile-account h2 {
1385  margin: 0 0 0.15em 0;
1386  font-size: 21px;
1387  font-size: 1.3125rem;
1388  font-weight: 400;
1389}
1390.user-profile-account p {
1391  color: #555555;
1392  font-size: 14px;
1393  font-size: 0.875rem;
1394  margin: 0;
1395}
1396.user-profile-account p a {
1397  color: #EE4056;
1398  text-decoration: none;
1399}
1400.user-profile-account p a:hover {
1401  color: #151515;
1402}
1403.user-profile-account p span {
1404  color: #959595;
1405}
1406.total-workouts {
1407  font-size: 13px;
1408  font-size: 0.8125rem;
1409  font-weight: bold;
1410}
1411.total-workouts span {
1412  color: #959595;
1413  margin-right: 0.5em;
1414}
1415.total-workouts span:first-child {
1416  color: #151515;
1417}
1418.total-workouts span:first-child:after {
1419  content: "|";
1420  color: #e1e1e1;
1421  margin-left: 0.5em;
1422}
1423.profile-data {
1424  list-style-type: none;
1425  padding: 0;
1426  font-size: 14px;
1427  font-size: 0.875rem;
1428  background-color: white;
1429  padding: 0.5em 0.75em;
1430  border-radius: 4px;
1431  border: 1px solid #e1e1e1;
1432}
1433.profile-data li {
1434  display: flex;
1435  justify-content: space-between;
1436  color: #959595;
1437}
1438.profile-data li:not(:last-child) {
1439  margin-bottom: 0.5em;
1440  padding-bottom: 0.5em;
1441  border-bottom: 1px solid #e1e1e1;
1442}
1443.profile-data li span {
1444  font-weight: bold;
1445  color: #151515;
1446}
1447.profile-bio {
1448  margin: 0.5em 0;
1449  font-size: 14px;
1450  font-size: 0.875rem;
1451}
1452.month-stats,
1453.latest-workouts {
1454  max-width: 700px;
1455}
1456.center {
1457  text-align: center;
1458}
1459.month-stats {
1460  margin-bottom: 4em;
1461}
1462.latest-workouts h4 {
1463  margin: 0;
1464}
1465.latest-workouts h4 a {
1466  color: #151515;
1467  text-decoration: none;
1468}
1469.latest-workouts > span {
1470  font-size: 13px;
1471  font-size: 0.8125rem;
1472}
1473.latest-workouts p {
1474  margin-top: 0.25em;
1475  color: #959595;
1476  font-size: 13px;
1477  font-size: 0.8125rem;
1478}
Note: See TracBrowser for help on using the repository browser.