Skip to content

Commit 90c3c6d

Browse files
authored
Merge pull request #103 from cmu-delphi/OKRS24-144
OKRS24-144
2 parents e8fced4 + dd1d41a commit 90c3c6d

File tree

14 files changed

+378
-4051
lines changed

14 files changed

+378
-4051
lines changed

src/assets/css/custom.css

+39
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,43 @@
8686

8787
.padding-top-1rem {
8888
padding-top: 1rem;
89+
}
90+
91+
92+
.select2 {
93+
display: block;
94+
width: 100%!important;
95+
padding: 0.375rem 2.25rem 0.375rem 0.75rem;
96+
-moz-padding-start: calc(0.75rem - 3px);
97+
font-size: 1rem;
98+
font-weight: 400;
99+
line-height: 1.5;
100+
color: #212529;
101+
background-color: #fff;
102+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
103+
background-repeat: no-repeat;
104+
background-position: right 0.75rem center;
105+
background-size: 16px 12px;
106+
border: 1px solid #ced4da;
107+
border-radius: 0.25rem;
108+
transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
109+
-webkit-appearance: none;
110+
-moz-appearance: none;
111+
appearance: none;
112+
}
113+
114+
.select2-container--default .select2-selection--single {
115+
border: none!important;
116+
}
117+
118+
.select2-container--default .select2-selection--multiple {
119+
border: none!important;
120+
}
121+
122+
.select2-container--default .select2-selection--single .select2-selection__arrow {
123+
display: none!important;
124+
}
125+
126+
.select2-container .select2-selection--single .select2-selection__rendered {
127+
padding-left: 0px!important;
89128
}

0 commit comments

Comments
 (0)