source: OpenWorkouts-current/ow/static/less/pages/profile.less @ 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: 1.8 KB
Line 
1.user-profile {
2    .workout-options {
3        .font-size(13);
4                margin-right: 2em;
5    }
6}
7
8.user-profile-account {
9        background-color: @color-main-xtralight;
10        border-bottom: 1px solid @color-main-light;
11    padding: 2em  1em;
12    @media (min-width: @screen-s){
13        padding: 2em 6em;
14    }
15    >div {
16        display: flex;
17        align-items: center;
18    }
19    img {
20        width: 140px;
21        height: 140px;
22        object-fit: cover;
23        border-radius: 50%;
24        margin-bottom: .5em;
25        margin-right: 1em;
26    }
27        h2 {
28                margin: 0 0 .15em 0;
29                .font-size(21);
30                font-weight: 400;
31        }
32        p{
33                color: @color-main-dark;
34                .font-size(14);
35                margin: 0;
36                span {
37                        color: @color-main-medium;
38                }
39        }
40}
41.total-workouts {
42        .font-size(13);
43        font-weight: bold;
44        span {
45                color: @color-main-medium;
46                margin-right: .5em;
47                &:first-child {
48                        color: @color-main;
49                        &:after {
50                                content: "|";
51                                color: @color-main-light;
52                                margin-left:  .5em;
53                        }
54                }
55        }
56}
57
58.profile-data {
59        list-style-type: none;
60        padding: 0;
61        .font-size(14);
62        background-color: white;
63        padding: .5em .75em;
64        border-radius: 4px;
65        border: 1px solid @color-main-light;
66        li {
67                display: flex;
68                justify-content: space-between;
69                color: @color-main-medium;
70                &:not(:last-child) {
71                        margin-bottom: .5em;
72                        padding-bottom: .5em;
73                        border-bottom: 1px solid @color-main-light;
74                }
75                span {
76                        font-weight: bold;
77                        color: @color-main;
78                }
79        }
80}
81
82.profile-bio {
83        margin: .5em 0;
84        .font-size(14);
85}
86
87.month-stats,
88.latest-workouts {
89        max-width: 700px
90}
91
92.center {
93        text-align: center;
94}
95
96.month-stats {
97        margin-bottom: 4em;
98}
99
100.latest-workouts {
101        h4 {
102                margin:0;
103                a {
104                        color: @color-main;
105                        text-decoration: none;
106                }
107        }
108        >span {
109                .font-size(13);
110        }
111        p {
112                margin-top: .25em;
113                color: @color-main-medium;
114                .font-size(13);
115        }
116}
Note: See TracBrowser for help on using the repository browser.