File tree Expand file tree Collapse file tree 7 files changed +361
-108
lines changed Expand file tree Collapse file tree 7 files changed +361
-108
lines changed Original file line number Diff line number Diff line change @@ -12,25 +12,14 @@ let lists = {
1212 {
1313 name : "influence" ,
1414 currency : "influence" ,
15- maximum : 30 ,
1615 score : 1 ,
17- step : 2 ,
1816 color : "blue"
1917 } ,
2018 {
2119 name : "golden" ,
2220 currency : "goldenInfluence" ,
2321 score : 1 ,
24- step : 10 ,
2522 color : "#bfa203"
26- } ,
27- {
28- name : "thumb" ,
29- minimum : - 5 ,
30- maximum : 5 ,
31- score : 5 ,
32- step : 1 ,
33- color : "#535353"
3423 }
3524 ] ,
3625 items : [
Original file line number Diff line number Diff line change 55.vote-app {
66 margin : 1.5em ;
77
8- & __influence-descriptions {
8+ & __top {
99 display : flex ;
1010 flex-direction : column ;
1111
1414 }
1515 }
1616
17+ & __influence {
18+ flex : 0 0 75% ;
19+ }
20+
21+ & __influence-description {
22+ display : flex ;
23+ flex-direction : column ;
24+
25+ @include break (medium ) {
26+ flex-direction : row ;
27+ }
28+ }
29+
30+ & __user-section {
31+ flex : 0 0 25% ;
32+ padding : 0 0 30px ;
33+
34+ @include break (medium ) {
35+ padding : 0 0 0 20px ;
36+ }
37+
38+ @include break (large ) {
39+ border-left : 2px solid getColor (elephant );
40+ }
41+ }
42+
1743 & __influence-section {
18- flex : 0 0 100 % ;
44+ flex : 0 0 50 % ;
1945 }
2046
2147 & __influence-disclaimer {
2248 padding : 1em 0 ;
23- flex : 0 0 100% ;
2449 font-size : smaller ;
2550 color : red ;
51+
2652 @include break (medium ) {
2753 text-align : center ;
2854 }
2955 }
3056
57+ & __login-button {
58+ margin : 20px 0 ;
59+
60+ button {
61+ border : none ;
62+ outline : none ;
63+ color : getColor (white );
64+ background : getColor (elephant );
65+ padding : 5px 10px 5px 10px ;
66+ border-radius : 2px ;
67+ font-size : 13px ;
68+ cursor : pointer ;
69+
70+ & :hover {
71+ background : black ;
72+ }
73+
74+ & :active {
75+ background : getColor (elephant )
76+ }
77+ }
78+
79+ img {
80+ height : 25px ;
81+ vertical-align : middle ;
82+ padding-left : 5px ;
83+ }
84+ }
85+
86+ & __userinfo {
87+ outline : none ;
88+ border : none ;
89+ background : getColor (elephant );
90+ color : white ;
91+ border-radius : 3px ;
92+ font-size : 13px ;
93+ display : inline-block ;
94+ padding : 3px 10px ;
95+
96+ img {
97+ height : 25px ;
98+ vertical-align : middle ;
99+ margin-right : 10px ;
100+ }
101+ }
102+
31103 & __self-info {
32104 margin-top : 10px ;
33105 }
34106
107+ & __button-area {
108+ margin : 5px 0 ;
109+ }
110+
35111 & __update-button {
36- float : right ;
112+
37113 }
38114
39115 h1 {
40- font-size : 20 pt ;
116+ font-size : 16 pt ;
41117 font-weight : bold ;
118+ margin-bottom : 10px ;
42119 }
43120
44121 & __item-title {
56133 }
57134 }
58135
59- & __item-table td {
60- vertical-align : middle ;
136+ & __item-card {
137+ display : flex ;
138+ flex-direction : column ;
139+
140+ @include break (medium ){
141+ flex-direction : row ;
142+ }
143+ }
144+
145+ & __score-section {
146+ display : flex ;
147+ flex : 0 0 40% ;
148+ border : 1px solid lightgray ;
149+ user-select : none ;
150+ flex-wrap : wrap ;
151+
152+ @include break (medium ){
153+ margin-right : 30px ;
154+ padding : 0 0 0 20px ;
155+ }
61156 }
62157
63158 & __item-score {
64- font-size : 150% ;
65- width : 90px ;
66- text-align : right ;
159+ align-self : center ;
160+ font-size : 20pt ;
161+ flex : 0 0 100% ;
162+ text-align : center ;
163+
164+ @include break (medium ){
165+ flex : 0 0 20% ;
166+ text-align : left ;
167+ }
168+ }
169+
170+ & __item-button {
171+ flex : 0 0 50% ;
172+ align-self : center ;
173+
174+ @include break (medium ){
175+ flex : 0 0 40% ;
176+ }
67177 }
68178
69179 & __items-list {
70180 display : block ;
71181
72182 & > li {
73183 display : block ;
74- padding : 5px ;
184+ padding : 5px 0 ;
75185 }
76186 }
77187
You can’t perform that action at this time.
0 commit comments