-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
215 lines (189 loc) · 4.48 KB
/
style.css
File metadata and controls
215 lines (189 loc) · 4.48 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
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/* universal selector -> to do something with all boxes */
/* user agent stylesheet -> browser styling (provided by browser) */
/* REMOVING EXTRA MARGIN GIVEN BY BROWSER */
body{
/* /* border : 2px solid red; */
margin : 0px;
font-family: sans-serif;
}
*{
box-sizing: border-box;
}
.header-container{
/* border : 1px solid black; */
height : 6rem;
background-color : #333;
/* color : white; */
display : flex;
align-items : center;
padding-left: 3rem;
}
/* common styling */
.header-container>*{
background-color : #454444;
height : 65%;
border-radius: 6px;
}
.color-group_container {
/* % ->relative unit which derived it's value from the parent */
width:30%;
/* margin-left: 3rem; */
margin-right : 3rem;
display : flex;
justify-content: space-evenly;
align-items: center;
}
.color{
height : 50%;
width : 16%;
border-radius : 6px;
}
.pink{
background-color : lightpink;
}
.blue{
background-color : lightblue;
}
.green{
background-color : lightgreen;
}
.black{
background-color : black;
}
/*--------- add cross container------- */
.add-cross_container, .lock-unlock_container {
/* padding : .5rem; */
width : 15%;
display : flex;
justify-content: space-between;
align-items: center;
margin-right: 3rem;
}
.add-cross_container >*, .lock-unlock_container>*{
width : 50%;
height : 100%;
/* background-color : red; */
/* boldness */
/* font-weight : lighter; */
/* perfectly center an element inside a div */
display : flex;
justify-content: center;
align-items: center;
}
/* icons are treated as text */
.tool_icons {
font-size: 2.5rem;
font-weight: 500;
}
.fa-plus{
font-weight: 600;
}
.task_input {
color : white;
/* font-size: 100%; */
font-size: 25px;
}
/* ---------------------------------Main container--------------------------------- */
.main-container{
/* border : 1px solid green; */
/* vw => 100% width of the visible screen(maximize or minimizev ) -> 100vw */
/* vh => 100% height of the visible screen -> 100vh */
/* //below statement -> calc => adjust according to size of window */
height : calc(100vh - 6rem);
/* height : 100vh; */
/* height : 90rem; */
background-color :#d3d3d3;;
display : flex;
justify-content : space-evenly;
/* align-items : center; */
flex-wrap: wrap;
padding : 4rem;
/* to give gap between each elements -> like margin */
overflow: auto;
}
.task_container {
/* padding : 0.5rem; */
background-color : rgb(247, 241, 241);
height : 10rem;
width : 15rem;
/* gap :1rem; */
margin: 0.5rem;
}
.task_header {
/* background-color: black; */
height : 0.7rem;
}
.task_main-container {
padding : 0.2rem;
/* padding-top: 0.2rem; */
height : 8rem;
}
.task_id {
font-size : 1.7rem;
color : rgb(150,144,144);
/* top, bottom, right, left */
margin : 0.5rem;
margin-left : 0px;
height : 20%;
}
.text {
height : 80%;
font-size : 1.5rem;
overflow-y : scroll;
}
/* to hide scroll bar */
.text::-webkit-scrollbar {
display: none;
}
/* copied from bootstrap*/
.shadow{
box-shadow: 0 1rem 3rem rgb(22, 22, 22) !important;
}
.active{
background-color: rgb(49, 46, 46);
}
/************************ MODAL CONTAINER **********************/
.modal_container{
height : 20rem;
width : 35rem;
/* border: 2px solid black; */
display : flex;
position: fixed;
/* perfectly center */
top : calc(50% - 10rem);
left : calc(50% - (35/2)rem);
/* display: none; */
}
.modal-text_box{
/* height : 100%; */
width : 70%;
background-color : white;
padding : 3rem;
font-size : 2rem;
font-family: gill sans;
box-sizing: border-box;
overflow: auto;
}
.modal-color_box{
/* height : 100%; */
width : 30%;
background-color : rgba(51, 51, 51);
display : flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
padding : 2rem;
}
.modal-color_box>*{
height : 2.5rem;
width : 5rem;
}
.selected{
border : 0.2rem solid white;
}
/* for responsiveness */
@media only screen and (max-width: 900px) {
html{
font-size : 10px;
}
}