-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.css
More file actions
128 lines (115 loc) · 2.32 KB
/
theme.css
File metadata and controls
128 lines (115 loc) · 2.32 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
121
122
123
124
125
126
127
128
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body{
background-color: #666;
font-family: 'Roboto', sans-serif;
}
.container{
padding-top: 5rem;
width: 800px;
margin: 0px auto;
}
.block-card{
border-radius: 6px;
background: #fff;
padding: 1rem;
box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
}
.btn{
color: rgb(46, 97, 139);
position: relative;
border-radius: 99px;
border: 1px solid rgb(46, 97, 139);
text-decoration: none;
text-transform: uppercase;
padding: 0.5rem 1.5rem;
font-weight: 700;
outline: none;
background: #fff;
transition: all 0.22s;
cursor: pointer;
margin-right: 1rem;
}
.btn.primary{
background: rgb(46, 97, 139);
color: #fff;
}
.btn:hover{
cursor: pointer;
opacity: 0.8;
}
.btn:active{
box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .3);
}
input[type=file]{
display: none;
}
.preview{
display: flex;
flex-wrap: wrap;
padding: 0.5rem;
}
.preview-image{
position: relative;
margin-bottom: .5rem;
margin-right: 0.5rem;
overflow: hidden;
}
.preview-image.removing{
transform: scale(0);
transition: transform .3s;
}
.preview-image img{
display: block;
width: 180px;
height: auto;
}
.preview-image:hover .preview-remove{
opacity: 1;
}
.preview-remove{
opacity: 0;
width: 20px;
height: 20px;
position: absolute;
right: 0;
top: 0;
font-weight: bold;
background: rgba(255, 255, 255, .5);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all .22s;
}
.preview-info{
opacity: 1;
position: absolute;
right: 0;
bottom: -30px;
left: 0;
height: 24px;
font-size: .8rem;
font-weight: bold;
background: rgba(255, 255, 255, .5);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 5px;
transition: bottom .22s;
}
.preview-image:hover .preview-info{
opacity: 1;
bottom: 0px;
}
.preview-info-progress{
position: absolute;
left: 0;
top: 0;
bottom: 0;
opacity: 1;
background-color: rgb(46, 97, 139, .5);
display: flex;
align-items: center;
justify-content: center;
transition: width .22s;
}