_create_proposal.scss
1.8 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
.button-float {
background: $pink;
color: $white;
z-index: 10;
position: absolute;
bottom: $unit;
right: $unit;
border-radius: 50% ;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
-webkit-transition: 0.2s linear;
transition: 0.2s linear;
-webkit-transition-property: -webkit-transform, all;
transition-property: transform, all;
}
.button-float:hover {
-webkit-transform: translate3d(0, -1px, 0);
transform: translate3d(0, -1px, 0);
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
background: darken($pink, 10%);
}
#create-proposal {
@include box-shadow($shadow 1px 1px 5px);
background: $ice;
padding: $unit;
.item {
margin-top: $unit;
}
h1 {
padding: $unit $unit * 1.5;
border-bottom: 1px solid $lightgrey;
font-size: $unit * 2;
line-height: $unit * 3;
font-weight: 700;
position: relative;
color: $lightgreen;
}
form {
label {
border: 0;
color: $lightgreen;
}
p {
margin: 20px 10px 20px 26px;
}
.button {
background: $lightgreen;
color: $white;
}
.item {
background: transparent;
border: 0;
}
input[type=text] {
border-bottom: 1px solid $lightgreen;
&:focus {
border-bottom: 2px solid $lightgreen;
}
}
textarea {
border: 1px solid $lightgreen;
display: block;
width: 96%;
&:focus {
border: 2px solid $lightgreen;
}
}
input[type=text], textarea {
color: $lightgreen;
padding: $unit / 2;
background: transparent;
margin-right: 16px;
}
label#proposal-topic {
margin: 16px;
display: block;
}
.item-radio {
font-size: 14px;
margin: 1px 16px;
}
}
}