Changes in / [0fa21cd:f0e64eb] in OpenWorkouts-current
- Location:
- ow/static
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/static/css/main.css
r0fa21cd rf0e64eb 855 855 .workout-content { 856 856 padding: 2em 1em; 857 display: flex;858 flex-direction: column;859 857 } 860 858 @media (min-width: 480px) { … … 866 864 .workout-content { 867 865 display: flex; 868 flex-direction: row;869 866 justify-content: space-between; 870 867 } … … 874 871 margin-right: 2em; 875 872 width: 100%; 876 order: 2;877 873 /* provisional layout, replace this with grid layout system based on final content */ 878 874 } … … 880 876 font-weight: 300; 881 877 margin: 0 0 1.5em; 882 }883 @media (min-width: 800px) {884 .workout-list {885 order: 1;886 }887 878 } 888 879 /* Module resume on dashboard workouts */ … … 948 939 .workout-info { 949 940 display: flex; 950 flex-flow: row wrap;941 align-items: center; 951 942 margin: 0.25em 0; 952 943 } 953 944 .workout-info li { 954 945 color: #959595; 955 margin-bottom: 0.25em;956 946 } 957 947 .workout-info li:after { … … 1008 998 .workout-aside { 1009 999 width: 100%; 1010 order: 1;1011 1000 } 1012 1001 @media (min-width: 800px) { 1013 1002 .workout-aside { 1014 order: 2;1015 1003 max-width: 300px; 1016 1004 padding-left: 1.5em; … … 1040 1028 font-size: 0.8125rem; 1041 1029 color: #555555; 1042 }1043 .aside-profile a {1044 text-decoration: none;1045 color: #151515;1046 }1047 .aside-profile a:hover {1048 color: #959595;1049 1030 } 1050 1031 /* Workout detail */ … … 1286 1267 .login-content { 1287 1268 background-image: url("../media/img/back-01.jpg"); 1288 background-position: center;1289 1269 background-size: cover; 1290 1270 display: flex; … … 1362 1342 } 1363 1343 } 1364 @media (min-width: 800px) { 1365 .user-profile-account > div { 1366 display: flex; 1367 align-items: center; 1368 } 1344 .user-profile-account > div { 1345 display: flex; 1346 align-items: center; 1369 1347 } 1370 1348 .user-profile-account img { 1371 width: 64px;1372 height: 64px;1349 width: 140px; 1350 height: 140px; 1373 1351 object-fit: cover; 1374 1352 border-radius: 50%; 1375 1353 margin-bottom: 0.5em; 1376 1354 margin-right: 1em; 1377 }1378 @media (min-width: 800px) {1379 .user-profile-account img {1380 width: 140px;1381 height: 140px;1382 }1383 1355 } 1384 1356 .user-profile-account h2 { … … 1393 1365 font-size: 0.875rem; 1394 1366 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 1367 } 1403 1368 .user-profile-account p span { -
ow/static/less/modules/workout.less
r0fa21cd rf0e64eb 1 1 .workout-content { 2 2 padding: 2em 1em; 3 display: flex;4 flex-direction: column;5 3 @media (min-width: @screen-s){ 6 4 padding: 2em 6em; 7 5 } 8 @media (min-width: @screen-m){6 @media (min-width: @screen-m){ 9 7 display: flex; 10 flex-direction: row;11 8 justify-content:space-between; 12 9 } … … 20 17 font-weight: 300; 21 18 margin: 0 0 1.5em; 22 }23 order: 2;24 @media (min-width: @screen-m){25 order: 1;26 19 } 27 20 /* provisional layout, replace this with grid layout system based on final content */ … … 94 87 .workout-info { 95 88 display: flex; 96 flex-flow: row wrap; 97 //align-items:center; 89 align-items:center; 98 90 margin: .25em 0; 99 91 li{ 100 92 color: @color-main-medium; 101 margin-bottom: .25em;102 93 &:after{ 103 94 content: "|"; 104 margin: 95 margin:0 .5em; 105 96 } 106 97 &:last-child{ … … 165 156 .workout-aside{ 166 157 width: 100%; 167 order: 1;168 158 @media (min-width: @screen-m){ 169 order: 2;170 159 max-width: 300px; 171 160 padding-left: 1.5em; … … 195 184 .font-size(13); 196 185 color: @color-main-dark; 197 }198 a {199 text-decoration: none;200 color: @color-main;201 &:hover {202 color: @color-main-medium;203 }204 186 } 205 187 } -
ow/static/less/pages/login.less
r0fa21cd rf0e64eb 1 1 .login-content { 2 2 background-image: url("@{path-img}/back-01.jpg"); 3 background-position: center;4 3 background-size: cover; 5 4 display: flex; -
ow/static/less/pages/profile.less
r0fa21cd rf0e64eb 14 14 } 15 15 >div { 16 @media (min-width: @screen-m){ 17 display: flex; 18 align-items: center; 19 } 16 display: flex; 17 align-items: center; 20 18 } 21 19 img { 22 width: 64px;23 height: 64px;20 width: 140px; 21 height: 140px; 24 22 object-fit: cover; 25 23 border-radius: 50%; 26 24 margin-bottom: .5em; 27 25 margin-right: 1em; 28 @media (min-width: @screen-m){29 width: 140px;30 height: 140px;31 }32 26 } 33 27 h2 { … … 40 34 .font-size(14); 41 35 margin: 0; 42 a {43 color: @color-app;44 text-decoration: none;45 &:hover {46 color: @color-main;47 }48 }49 36 span { 50 37 color: @color-main-medium;
Note: See TracChangeset
for help on using the changeset viewer.