-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd_stock_decor.css
174 lines (138 loc) · 3.67 KB
/
add_stock_decor.css
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
*{
padding: 0;
margin: 0;
}
body{
background-color: #06193A;
}
.add-stock-heading-parent{
display: flex;
margin: 45px 0px 0px 47px;
gap: 45px;
}
.add-stock-entry-field-parent{
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
gap: 80px;
margin: 100px 0px 0px 0px;
}
.add-stock-heading{
color: #FFFFFF;
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
font-weight: 650;
font-style: normal;
font-size: 3vh;
}
/* positioning of the forms : the trnasition of the form is controlled from here */
.stock-name-position {
position: absolute;
top: 175px;
transition: transform 1s ease-in-out , font-size 1s ease-in-out;
}
.buying-price-position{
position: absolute;
top: 285px;
transition: transform 1s ease-in-out , font-size 1s ease-in-out;
}
.quantity-position{
position: absolute;
top: 392px;
transition: transform 1s ease-in-out , font-size 1s ease-in-out;
}
.date-position{
position: absolute;
top: 500px;
transition: transform 1s ease-in-out , font-size 1s ease-in-out;
}
/* this is the design of all the names of the forms */
.stock-name-label {
color: #FFFFFF;
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
font-weight: 450;
font-style: normal;
font-size: 2.4vh;
}
/* this is the design of the input field */
.stock-name-input{
width: 286px;
background-color: transparent;
border: 2px solid transparent;
border-bottom: 3px solid #FFFFFF;
border-radius: 3px;
color: #FFFFFF;
font-family: inherit;
outline: none;
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
font-size: 2.5vh;
}
.add-button{
display: flex;
justify-content: center;
margin: 67px 0px 0px 0px;
}
.add-button-design{
height: 45px;
width: 174px;
background-color: #8350EA;
color: #FFFFFF;
border-radius: 20px;
border: 2px solid transparent;
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
font-size: 1.5vh;
}
.my-stocks{
display: flex;
justify-content: center;
margin: 30px 0px 0px 0px;
}
.my-stocks-design{
text-decoration: none;
color: #FFFFFF;
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
font-weight: 350;
font-style: normal;
font-size: 1.8vh;
}
/* =========================================== */
/* stock name designing */
.stock-name-input:focus + .stock-name-position {
transform: translateY(-20px);
}
.stock-name-input:focus + .stock-name-position .stock-name-label{
font-size: 2vh;
}
/* =========================================== */
/* buying price designing */
.stock-name-input:focus + .buying-price-position {
transform: translateY(-20px);
}
.stock-name-input:focus + .buying-price-position .stock-name-label {
font-size: 2vh;
}
/* ========================================== */
/* quantity designing */
.stock-name-input:focus + .quantity-position {
transform: translateY(-20px);
}
.stock-name-input:focus + .quantity-position .stock-name-label {
font-size: 2vh;
}
/* ============================================ */
.stock-name-input:focus + .date-position {
transform: translateY(-20px);
}
.stock-name-input:focus + .date-position .stock-name-label {
font-size: 2vh;
}