-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (109 loc) · 2.36 KB
/
style.css
File metadata and controls
115 lines (109 loc) · 2.36 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
:root{
--primary_color: #000;
--dark_color: #7B1FA2;
--light_color: #A9A9A9;
--white_color: #ffffff;
}
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'poppins', sans-serif;
}
body{
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(90deg, var(--primary_color), var(--light_color));
}
.content-data{
position: relative;
padding: 10px;
width: 420px;
background: var(--white_color);
border-radius: 5px;
box-shadow: 0.1px 2px 4px rgba(0,0,0,0.5);
}
.content-data p{
font-size: 18px;
color: var(--primary_color);
}
.content-data textarea{
width: 100%;
height: 300px;
padding: 10px;
resize: none;
outline: none;
font-size: 17px;
border-radius: 5px;
margin-top: 10px;
border: 1px solid rgba(0,0,0,0.1);
}
/* qr code view area */
.qr_code_view_area{
height: 300px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
border-radius: 5px;
margin-top: 10px;
}
.qr_code_view_area img{
height: 200px;
width: 200px;
}
.qr_code_view_area #select_image_btn{
padding: 12px 20px;
cursor: pointer;
border-radius: 5px;
transition: 0.4s;
color: rgba(0,0,0,0.8);
border: 1px solid rgba(0,0,0,0.08);
}
.qr_code_view_area #select_image_btn:active{
background: var(--primary_color);
color: var(--white_color);
transform: scale(0.95);
}
/* control buttons */
.control_btns{
display: flex;
align-items: center;
}
.control_btns button{
padding: 10px 15px;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
background: var(--primary_color);
color: var(--white_color);
font-size: 16px;
height: 40px;
border: none;
outline: none;
cursor: pointer;
margin-top: 1.5em;
transition: 0.4s;
}
.control_btns button:not(:first-child){
margin-left: 10px;
}
.control_btns button:active{
transform: scale(0.9);
}
.control_btns .disable_btn{
opacity: 0.5;
}
.content-data .hide_view{
display: none !important;
}
@media(max-width: 500px){
.content-data{
width: 100%;
height: 100vh;
border-radius: 0px;
}
}