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

currentfeature/docs
Last change on this file since 1829fbf was 1829fbf, checked in by Borja Lopez <borja@…>, 5 years ago

(#61) Several fixes for the multipart/alternative (text+html) version of the verify
your account email:

  • Use premailer [1] to embed all styles into the body of the html part of the email (ensuring the styles are rendered correctly in most email clients)
  • Fixed some styles (RGB colors, transparencies, etc don't work in mail clients)
  • Ensure the different bodies (text and html) have the proper content type and charset set.

[1] https://pypi.org/project/premailer

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