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

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

Update forms and fix detail workout view

  • Property mode set to 100644
File size: 26.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(http://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(http://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(http://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(http://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(http://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(http://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(http://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.logo-open {
667  display: block;
668  color: #EE4056;
669}
670.logo-work,
671.logo-outs {
672  color: #f8b5be;
673}
674/* menu navigation -----------------------------------------------------------*/
675.nav-site {
676  font-size: 13px;
677  font-size: 0.8125rem;
678}
679.nav-site ul {
680  list-style-type: none;
681  padding: 0;
682  margin: 0;
683  display: flex;
684  flex-direction: row;
685  justify-content: space-between;
686}
687.nav-site li {
688  border-left: 1px solid #e1e1e1;
689  flex-grow: 1;
690  text-align: center;
691}
692.nav-site a {
693  color: #959595;
694  padding: 1.25em;
695  display: block;
696}
697.nav-site a:hover {
698  color: #151515;
699}
700.nav-site .is-active a {
701  color: #151515;
702}
703/* Add workout button with submenu -------------------------------------------*/
704.add-workout {
705  position: relative;
706  /* submenu -------------------------------------------------------------- */
707}
708.add-workout > a {
709  color: #EE4056;
710}
711.add-workout > a:before {
712  content: "+";
713  font-weight: 800;
714  font-size: 32px;
715  font-size: 2rem;
716  line-height: 0;
717  position: relative;
718  top: 8px;
719}
720.add-workout > a span {
721  display: none;
722}
723.add-workout > a:hover {
724  background-color: #EE4056;
725  color: white;
726}
727.add-workout:hover:after {
728  content: "";
729  position: absolute;
730  background-color: white;
731  bottom: -1px;
732  width: 100%;
733  height: 1px;
734  display: block;
735  z-index: 20;
736}
737.add-workout:hover ul {
738  display: inline-block;
739}
740.add-workout ul {
741  display: none;
742  flex-direction: column;
743  position: absolute;
744  background-color: rgba(255, 255, 255, 0.95);
745  right: -1px;
746  border: 1px solid #e1e1e1;
747  width: 153px;
748}
749.add-workout ul li {
750  border-left: transparent;
751  text-align: left;
752}
753.add-workout ul a:hover {
754  background-color: #fbfbfb;
755}
756/* description ---------------------------------------------------------------*/
757.description {
758  font-size: 14px;
759  font-size: 0.875rem;
760  font-weight: 300;
761  letter-spacing: 0.025em;
762  color: #959595;
763}
764/* ------------------------------ STATES ------------------------------------ */
765/* when user is login --------------------------------------------------------*/
766.is-login .header-content {
767  border-bottom: 1px solid #e1e1e1;
768  display: flex;
769  padding: 0em 1.5em;
770  justify-content: space-between;
771  align-items: center;
772}
773.is-login .description {
774  display: none;
775}
776.is-login .logo-open {
777  display: inline-block;
778}
779.workout-content {
780  padding: 2em  1em;
781}
782@media (min-width: 480px) {
783  .workout-content {
784    padding: 2em 6em;
785  }
786}
787@media (min-width: 800px) {
788  .workout-content {
789    display: flex;
790    justify-content: space-between;
791  }
792}
793/* list mode */
794.workout-list {
795  margin-right: 2em;
796  width: 100%;
797  /* provisional layout, replace this with grid layout system based on final content */
798}
799.workout-list > h2 {
800  font-weight: 300;
801  margin: 0 0 1.5em;
802}
803/* Module resume on dashboard workouts */
804.workout-resume {
805  padding: 1.5em 0;
806  position: relative;
807  max-width: 700px;
808}
809@media (min-width: 800px) {
810  .workout-resume {
811    padding-left: 2em;
812    border-left: 1px solid #e1e1e1;
813    transition: all 250ms ease-in-out;
814  }
815}
816.workout-resume:hover {
817  border-color: #151515;
818}
819.workout-resume:hover .workout-title:before {
820  color: #151515;
821}
822.workout-resume ul {
823  padding: 0;
824  list-style-type: none;
825  font-size: 13px;
826  font-size: 0.8125rem;
827}
828.workout-resume ul a {
829  display: block;
830  text-decoration: none;
831}
832.bike:before {
833  display: block;
834  content: "";
835  width: 30px;
836  height: 30px;
837  background-image: url('../media/img/bike.svg');
838  background-size: 100%;
839}
840.workout-title {
841  font-size: 14px;
842  font-size: 0.875rem;
843  margin: 0 0 0em 0;
844  position: relative;
845}
846.workout-title:before {
847  transition: all 250ms ease-in-out;
848  content: "▶";
849  position: absolute;
850  left: -3.25em;
851  top: 0.35em;
852  color: #e1e1e1;
853  font-size: 10px;
854  font-size: 0.625rem;
855}
856.workout-title a {
857  color: #151515;
858  text-decoration: none;
859}
860.workout-title a:hover {
861  color: #EE4056;
862}
863.workout-info {
864  display: flex;
865  align-items: center;
866  margin: 0.25em 0;
867}
868.workout-info li {
869  color: #959595;
870}
871.workout-info li:after {
872  content: "|";
873  margin: 0 0.5em;
874}
875.workout-info li:last-child:after {
876  content: "";
877  margin: 0;
878}
879.workout-map {
880  margin-top: 1em;
881}
882.workout-map img {
883  width: 100%;
884}
885.workout-intro {
886  font-size: 13px;
887  font-size: 0.8125rem;
888  color: #151515;
889}
890.workout-options {
891  display: inline-block;
892  border: 1px solid #e1e1e1;
893  margin-bottom: 0;
894  border-radius: 4px;
895  padding: 0;
896  width: auto;
897  background-color: white;
898}
899.workout-options li {
900  display: inline-block;
901  border-right: 1px solid #e1e1e1;
902}
903.workout-options li:last-child {
904  border-right: none;
905}
906.workout-options a {
907  display: block;
908  color: #959595;
909  padding: 0.5em 0.75em;
910  text-decoration: none;
911}
912.workout-options a:hover {
913  color: #151515;
914}
915.workout-options a.is-active {
916  background-color: #959595;
917  color: white;
918}
919.owo-del a:hover {
920  color: red;
921}
922.workout-aside {
923  width: 100%;
924}
925@media (min-width: 800px) {
926  .workout-aside {
927    max-width: 300px;
928    padding-left: 1.5em;
929    border-left: 1px solid #e1e1e1;
930  }
931}
932.aside-profile {
933  margin-bottom: 1em;
934}
935.aside-profile img {
936  width: 80px;
937  height: 80px;
938  object-fit: cover;
939  border-radius: 50%;
940}
941.aside-profile h2 {
942  font-weight: 400;
943  font-size: 18px;
944  font-size: 1.125rem;
945  margin: 0 0 0.5em 0;
946}
947.aside-profile ul {
948  list-style-type: none;
949  margin: 0;
950  padding: 0;
951  font-size: 13px;
952  font-size: 0.8125rem;
953  color: #555555;
954}
955/* Workout detail */
956#map {
957  width: 100%;
958  height: 400px;
959}
960@media (min-width: 480px) {
961  #map {
962    height: calc(100vh - 465px);
963  }
964}
965.workout-detail {
966  padding: 0em  1em;
967}
968@media (min-width: 480px) {
969  .workout-detail {
970    max-width: 1280px;
971    margin: 0 auto;
972  }
973}
974@media (min-width: 800px) {
975  .workout-detail {
976    display: flex;
977    justify-content: space-between;
978  }
979}
980.workout-detail-resume {
981  max-width: 500px;
982  margin-bottom: 2em;
983  padding-top: 2em;
984}
985@media (min-width: 800px) {
986  .workout-detail-resume {
987    margin-right: 6em;
988  }
989}
990.workout-detail-resume h3 {
991  margin-top: 0;
992  margin-bottom: 0.5em;
993}
994.workout-detail-resume h3 + div {
995  font-size: 14px;
996  font-size: 0.875rem;
997  color: #959595;
998  line-height: 1.35em;
999}
1000.workout-detail-resume .workout-options {
1001  font-size: 13px;
1002  font-size: 0.8125rem;
1003}
1004.workout-detail-info {
1005  max-width: 600px;
1006}
1007@media (min-width: 800px) {
1008  .workout-detail-info {
1009    border-right: 1px solid #e1e1e1;
1010    border-left: 1px solid #e1e1e1;
1011    padding: 2em 1em 2em 2em;
1012  }
1013}
1014.workout-detail-info ul {
1015  list-style-type: none;
1016  padding: 0;
1017  margin: 0;
1018  display: flex;
1019  justify-content: space-between;
1020  flex-flow: row wrap;
1021}
1022.workout-detail-info ul span {
1023  display: block;
1024  font-size: 13px;
1025  font-size: 0.8125rem;
1026  color: #959595;
1027  margin-bottom: 0.25em;
1028  /* color for future features */
1029}
1030.workout-detail-info ul span.min,
1031.workout-detail-info ul span.avg,
1032.workout-detail-info ul span.max {
1033  display: inline-block;
1034  color: white;
1035  padding: 0.5em 0.85em;
1036  border-radius: 3px;
1037  background-color: #e1e1e1;
1038  color: #959595;
1039}
1040.workout-detail-info li {
1041  margin-bottom: 1em;
1042  margin-right: 1em;
1043  color: #959595;
1044  font-size: 15px;
1045  font-size: 0.9375rem;
1046}
1047.workout-detail-info li.important {
1048  font-size: 21px;
1049  font-size: 1.3125rem;
1050  color: #151515;
1051}
1052/* Week report */
1053.svg-cotent svg {
1054  width: 100%;
1055  height: 100%;
1056}
1057.svg-cotent .label {
1058  font-size: 13px;
1059  font-size: 0.8125rem;
1060  text-anchor: middle;
1061}
1062.svg-cotent .tick {
1063  font-size: 13px;
1064  font-size: 0.8125rem;
1065}
1066/* dashboard graphics*/
1067.x-axis path,
1068.x-axis line {
1069  fill: none;
1070  stroke: none;
1071}
1072.bar {
1073  fill: #f8b5be;
1074}
1075.bar:hover {
1076  fill: #ee4056;
1077}
1078.current {
1079  fill: #ee4056;
1080}
1081.week-stats {
1082  border: 1px solid #e1e1e1;
1083  background-color: rgba(225, 225, 225, 0.1);
1084  padding: 0.75em;
1085  border-radius: 4px;
1086  margin-bottom: 2em;
1087}
1088.week-stats h3 {
1089  margin: 0;
1090  font-size: 14px;
1091  font-size: 0.875rem;
1092}
1093.week-stats h3 + p {
1094  margin: 0.25em 0 2em 0;
1095  color: #959595;
1096  font-size: 13px;
1097  font-size: 0.8125rem;
1098}
1099.workout-activity-summary {
1100  list-style-type: none;
1101  padding: 0;
1102  margin: 0;
1103  background-color: rgba(21, 21, 21, 0.8);
1104  margin-bottom: 0.75em;
1105}
1106.workout-activity-summary li {
1107  color: #e1e1e1;
1108  border-bottom: 1px solid #959595;
1109  padding: 0.75em 1em;
1110  display: flex;
1111  justify-content: space-between;
1112}
1113.workout-activity-summary li:last-child {
1114  margin-bottom: 0;
1115  border: none;
1116}
1117.workout-activity-summary li span:first-child {
1118  font-weight: bold;
1119}
1120.workout-activity-tree {
1121  list-style-type: none;
1122  padding: 0;
1123  margin: 0;
1124  transition: all 250ms ease-in-out;
1125  font-size: 13px;
1126  font-size: 0.8125rem;
1127}
1128.workout-activity-tree > li {
1129  margin-bottom: 0.5em;
1130  padding-bottom: 0.5em;
1131  border-bottom: 1px solid #e1e1e1;
1132}
1133.workout-activity-tree a {
1134  text-decoration: none;
1135  display: block;
1136  color: #EE4056;
1137}
1138.workout-activity-tree a:hover {
1139  color: #151515;
1140}
1141.workout-activity-tree a.viewing-year {
1142  color: #151515;
1143  font-weight: 700;
1144  margin-bottom: 0.5em;
1145  font-size: 16px;
1146  font-size: 1rem;
1147}
1148.workout-activity-tree a.viewing-month {
1149  background-color: #e1e1e1;
1150  color: #151515;
1151  font-weight: 700;
1152}
1153.workout-activity-tree-year {
1154  list-style-type: none;
1155  padding: 0;
1156  margin: 0;
1157}
1158.workout-activity-tree-year > li {
1159  display: block;
1160  margin-bottom: 0.5em;
1161}
1162.workout-activity-tree-year a {
1163  display: flex;
1164  justify-content: space-between;
1165  padding: 0.5em;
1166  background-color: #fbfbfb;
1167  color: #555555;
1168}
1169.workout-activity-tree-year a:hover {
1170  background-color: #e1e1e1;
1171}
1172.ow-forms {
1173  padding-top: 2em;
1174}
1175.ow-forms h2 {
1176  border-top: 1px solid #e1e1e1;
1177  padding-top: 0.5em;
1178}
1179.back {
1180  color: #EE4056;
1181  text-decoration: none;
1182  font-weight: 700;
1183}
1184.back:before {
1185  content: "⬅";
1186  margin-right: 0.5em;
1187}
1188.back:hover {
1189  color: #151515;
1190}
1191.login-content {
1192  background-image: url("../media/img/back-01.jpg");
1193  background-size: cover;
1194  display: flex;
1195  justify-content: center;
1196  align-items: center;
1197  min-height: calc(100vh - 98px);
1198  padding: 1em 0;
1199}
1200.login-content form {
1201  max-width: 380px;
1202  background-color: rgba(21, 21, 21, 0.6);
1203  border-radius: 6px;
1204  padding: 2em 1.5em;
1205}
1206.login-content form div {
1207  margin-bottom: 1.5em;
1208}
1209.login-content label {
1210  color: #e1e1e1;
1211}
1212.login-content a {
1213  color: #e1e1e1;
1214  font-size: 13px;
1215  text-decoration: none;
1216  margin-right: 0.75em;
1217}
1218.login-content a:hover {
1219  color: white;
1220}
1221.login-content .button {
1222  transition: all 500ms ease-in-out;
1223  background-color: #EE4056;
1224  color: white;
1225  text-transform: uppercase;
1226}
1227.login-content .button:hover {
1228  background-color: #e6152f;
1229}
1230.login-content .message {
1231  padding: 0.5em;
1232  margin: 0;
1233  text-align: center;
1234  font-size: 13px;
1235  font-size: 0.8125rem;
1236}
1237.login-content .message.message-error {
1238  color: white;
1239  background-color: red;
1240}
1241/*
1242.login-remember {
1243    color: @color-main-medium;
1244    .font-size(14);
1245    text-decoration: none;
1246    font-weight: 300;
1247    &:hover{
1248        color: @color-main-light;
1249    }
1250}
1251<a class="login-remember" href="#">Forgot your password?</a>
1252*/
1253.user-profile .workout-options {
1254  font-size: 13px;
1255  font-size: 0.8125rem;
1256  margin-right: 2em;
1257}
1258.user-profile-account {
1259  background-color: #fbfbfb;
1260  border-bottom: 1px solid #e1e1e1;
1261  padding: 2em  1em;
1262}
1263@media (min-width: 480px) {
1264  .user-profile-account {
1265    padding: 2em 6em;
1266  }
1267}
1268.user-profile-account > div {
1269  display: flex;
1270  align-items: center;
1271}
1272.user-profile-account img {
1273  width: 140px;
1274  height: 140px;
1275  object-fit: cover;
1276  border-radius: 50%;
1277  margin-bottom: 0.5em;
1278  margin-right: 1em;
1279}
1280.user-profile-account h2 {
1281  margin: 0 0 0.15em 0;
1282  font-size: 21px;
1283  font-size: 1.3125rem;
1284  font-weight: 400;
1285}
1286.user-profile-account p {
1287  color: #555555;
1288  font-size: 14px;
1289  font-size: 0.875rem;
1290  margin: 0;
1291}
1292.user-profile-account p span {
1293  color: #959595;
1294}
1295.total-workouts {
1296  font-size: 13px;
1297  font-size: 0.8125rem;
1298  font-weight: bold;
1299}
1300.total-workouts span {
1301  color: #959595;
1302  margin-right: 0.5em;
1303}
1304.total-workouts span:first-child {
1305  color: #151515;
1306}
1307.total-workouts span:first-child:after {
1308  content: "|";
1309  color: #e1e1e1;
1310  margin-left: 0.5em;
1311}
1312.profile-data {
1313  list-style-type: none;
1314  padding: 0;
1315  font-size: 14px;
1316  font-size: 0.875rem;
1317  background-color: white;
1318  padding: 0.5em 0.75em;
1319  border-radius: 4px;
1320  border: 1px solid #e1e1e1;
1321}
1322.profile-data li {
1323  display: flex;
1324  justify-content: space-between;
1325  color: #959595;
1326}
1327.profile-data li:not(:last-child) {
1328  margin-bottom: 0.5em;
1329  padding-bottom: 0.5em;
1330  border-bottom: 1px solid #e1e1e1;
1331}
1332.profile-data li span {
1333  font-weight: bold;
1334  color: #151515;
1335}
1336.profile-bio {
1337  margin: 0.5em 0;
1338  font-size: 14px;
1339  font-size: 0.875rem;
1340}
1341.month-stats,
1342.latest-workouts {
1343  max-width: 700px;
1344}
1345.center {
1346  text-align: center;
1347}
1348.month-stats {
1349  margin-bottom: 4em;
1350}
1351.latest-workouts h4 {
1352  margin: 0;
1353}
1354.latest-workouts h4 a {
1355  color: #151515;
1356  text-decoration: none;
1357}
1358.latest-workouts > span {
1359  font-size: 13px;
1360  font-size: 0.8125rem;
1361}
1362.latest-workouts p {
1363  margin-top: 0.25em;
1364  color: #959595;
1365  font-size: 13px;
1366  font-size: 0.8125rem;
1367}
Note: See TracBrowser for help on using the repository browser.