-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstudent-search.css
119 lines (108 loc) · 2.65 KB
/
student-search.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
/********************************/
/* SEARCH BAR */
/********************************/
.input-section {
/*is also parents the icon within*/
display: flex;
justify-content: flex-start;
position: relative;
}
#search-field {
/*defines look of the search field*/
padding: 8px;
font-size: 16px;
border: 2px solid var(--main-color);
width: 100%;
box-sizing: border-box;
height: 36px;
outline: none;
border-radius: 2px;
color: var(--light-text-color);
}
.search-input::placeholder {
/*sets color of typed input*/
color: var(--light-text-color);
}
.icon-container {
/* puts the search-icon into the box*/
position: absolute;
top: 0;
right: 5px;
height: 100%;
display: flex;
align-items: center;
pointer-events: none;
}
.search-icon {
/*puts white box behind search icon so that the input text won't be visible ontop of the icon*/
background-color: white;
padding: 5px;
}
/********************************/
/* DROPDOWNS */
/********************************/
.dropdown-section {
/*aligns dropdown boxes to be aligned properly underneth the search box*/
display: flex;
justify-content: space-between;
}
.dropdown-container-c {
/*sets margin between search and dropdown containers*/
position: relative; /*makes the dropdown box parent to the purple chevron box*/
margin-top: 1rem;
margin-right: 1rem;
margin-bottom: 1rem;
}
.dropdown-container-t {
/*sets margin between search and dropdown containers*/
position: relative; /*makes the dropdown box parent to the purple chevron box*/
margin-top: 1rem;
margin-bottom: 1rem;
margin-left: 1rem;
}
#class-selection {
/*defines look of the dropdown field classes*/
padding: 8px;
font-size: 16px;
border: 2px solid var(--main-color);
width: 100%;
box-sizing: border-box;
height: 36px;
outline: none;
border-radius: 2px;
color: var(--text-color);
background-color: transparent;
font-family: "Source Sans 3", sans-serif;
font-size: 12px;
font-weight: 600;
width: 200px;
}
#time-selection {
/*defines look of the dropdown field time*/
padding: 8px;
font-size: 16px;
border: 2px solid var(--main-color);
width: 100%;
box-sizing: border-box;
height: 36px;
outline: none;
border-radius: 2px;
color: var(--text-color);
background-color: transparent;
font-family: "Source Sans 3", sans-serif;
font-size: 12px;
font-weight: 600;
width: 100px;
}
.dropdown-arrow {
background-color: var(--main-color);
position: absolute; /*makes the purple background chevron child of the dropdown box*/
padding-left: 10px;
padding-right: 10px;
top: 0;
right: 1px;
height: 100%;
display: flex;
align-items: center;
pointer-events: none;
}