This repository was archived by the owner on Jan 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.scss
More file actions
120 lines (110 loc) · 1.96 KB
/
app.scss
File metadata and controls
120 lines (110 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
html {
font-family: sans-serif;
}
body {
padding: 2rem;
background-color: #e6e6e6;
}
h1,h2,h3,h4,h5,h6 {
margin-top: 0;
text-transform: capitalize;
}
input {
border: 1px solid #e6e6e6;
padding: 0.5rem;
font-size: 16px;
}
.fund-allocator-app {
border: 2px solid #e6e6e6;
background-color: #f6f6f6;
margin: 1rem;
padding: 2rem;
}
.allocation-msg {
padding: 2rem;
border: 2px solid #e6e6e6;
background: #fff;
text-align: center;
display: none;
&.max-allocation-assigned {
display: block;
}
&__text {
font-size: 1rem;
font-weight: bold;
}
}
.fund-panels-container {
display: flex;
justify-content: space-around;
flex-flow: row wrap;
margin: 0 -1rem;
padding: 0;
}
.fund-panel {
flex: 1;
margin: 1rem;
padding: 2rem;
background: #fff;
border: 2px solid #e6e6e6;
position: relative;
&__field {
width: 100%;
box-sizing: border-box;
}
&__stats {
margin: 2rem 0 1rem;
line-height: 1.5rem;
color: #555;
}
}
.total-indicator {
margin: 0;
border: 1px solid #e6e6e6;
}
.total-indicator,
.fund-indicator {
height: 16px;
border-radius: 4px;
background: #eee;
margin-top: 20px;
position: relative;
overflow: hidden;
}
.total-indicator__inner,
.fund-indicator__inner {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 0;
}
.total-indicator__inner {
background: green;
}
.fund-indicator__inner {
background: green;
opacity: 0.5;
}
.fund-indicator__constrain-marker {
background: #ddd;
border-left:1px solid darken(#ddd, 5%);
position: absolute;
top: 0;
right: 0;
height: 100%;
width: 10%;
}
.fund-controls {
list-style: none;
padding: 0;
margin: 0 -1rem 1rem;
li {
display: inline-block;
margin: 0 1rem;
}
button {
padding: 1rem;
font-size: 16px;
}
}