Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 5 additions & 96 deletions assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -133,99 +133,8 @@
}
}

/* bootstrap-multiselect overrides */
button.multiselect.dropdown-toggle {
display: block;
width: 100%;
background: #080d19;
border: 1px solid #1c3050;
border-radius: .375rem;
color: #e2e8f0;
padding: .5rem .75rem;
font-family: 'JetBrains Mono', monospace;
font-size: .875rem;
text-align: left;
cursor: pointer;
transition: border-color .15s, box-shadow .15s;
}

button.multiselect.dropdown-toggle:hover,
button.multiselect.dropdown-toggle:focus {
border-color: #38bdf8;
box-shadow: 0 0 0 3px rgba(56, 189, 248, .2);
outline: none;
}

.multiselect-container.dropdown-menu {
display: block;
position: relative;
z-index: 10;
width: 100%;
background: #080d19;
border: 1px solid #1c3050;
border-radius: .375rem;
margin-top: 2px;
padding: 4px 0;
list-style: none;
max-height: 200px;
overflow-y: auto;
}

.multiselect-container > li > a {
display: block;
padding: 0;
color: #e2e8f0;
text-decoration: none;
}

.multiselect-container > li > a > label {
display: block;
padding: 5px 12px 5px 36px;
cursor: pointer;
color: #e2e8f0;
font-size: .875rem;
font-family: 'DM Sans', sans-serif;
margin: 0;
}

.multiselect-container > li > a > label:hover {
background: #1c3050;
color: #38bdf8;
}

.multiselect-container > li > a > label > input[type=checkbox] {
margin-right: 8px;
accent-color: #34d399;
}

.input-group-addon {
background: #0d1628;
border: 1px solid #1c3050;
color: #94a3b8;
padding: .375rem .5rem;
font-size: .875rem;
}

.multiselect-container .input-group input.form-control {
background: #080d19;
border: 1px solid #1c3050;
border-left: 0;
color: #e2e8f0;
padding: .375rem .5rem;
font-size: .875rem;
}

button.btn.btn-default.multiselect-clear-filter {
background: #0d1628;
border: 1px solid #1c3050;
color: #94a3b8;
padding: .25rem .5rem;
border-radius: .25rem;
cursor: pointer;
}

/* Pure CSS toggles — replaces bootstrap-toggle entirely */
#generator input[type=checkbox] {
/* Pure CSS toggles */
#generator input[type=checkbox]:not(.ms-check) {
appearance: none;
-webkit-appearance: none;
position: relative;
Expand All @@ -241,7 +150,7 @@ button.btn.btn-default.multiselect-clear-filter {
transition: background .2s, border-color .2s;
}

#generator input[type=checkbox]::after {
#generator input[type=checkbox]:not(.ms-check)::after {
content: '';
position: absolute;
width: 18px;
Expand All @@ -253,12 +162,12 @@ button.btn.btn-default.multiselect-clear-filter {
transition: left .2s, background .2s;
}

#generator input[type=checkbox]:checked {
#generator input[type=checkbox]:not(.ms-check):checked {
background: #34d399;
border-color: #34d399;
}

#generator input[type=checkbox]:checked::after {
#generator input[type=checkbox]:not(.ms-check):checked::after {
left: 22px;
background: #fff;
}
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"dependencies": {
"@bower_components/bootstrap-multiselect": "davidstutz/bootstrap-multiselect#0.9.13",
"@bower_components/font-awesome": "FortAwesome/Font-Awesome#^4.5.0",
"@bower_components/jquery": "jquery/jquery-dist#^2.2.2",
"@bower_components/jquery-ui": "components/jqueryui#^1.11.4"
"@bower_components/font-awesome": "FortAwesome/Font-Awesome#^4.5.0"
},
"devDependencies": {
"tailwindcss": "^3.4",
Expand Down
131 changes: 17 additions & 114 deletions public/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -643,15 +643,27 @@ video {
.block {
display: block;
}
.inline-block {
display: inline-block;
}
.flex {
display: flex;
}
.grid {
display: grid;
}
.h-10 {
height: 2.5rem;
}
.w-auto {
width: auto;
}
.max-w-screen-xl {
max-width: 1280px;
}
.cursor-pointer {
cursor: pointer;
}
.list-inside {
list-style-position: inside;
}
Expand Down Expand Up @@ -714,10 +726,6 @@ video {
padding-left: 1rem;
padding-right: 1rem;
}
.px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.py-4 {
padding-top: 1rem;
padding-bottom: 1rem;
Expand All @@ -730,130 +738,25 @@ video {
padding-top: 2rem;
padding-bottom: 2rem;
}
.text-3xl {
font-size: 1.875rem;
line-height: 2.25rem;
}
.text-sm {
font-size: 0.875rem;
line-height: 1.25rem;
}
.font-extrabold {
font-weight: 800;
}
.font-normal {
font-weight: 400;
}
.tracking-tight {
letter-spacing: -0.025em;
}
.text-\[\#94a3b8\] {
--tw-text-opacity: 1;
color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}
.text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.no-underline {
text-decoration-line: none;
}

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500&family=JetBrains+Mono:wght@400;500&display=swap');

/* bootstrap-multiselect overrides */
button.multiselect.dropdown-toggle {
display: block;
width: 100%;
background: #080d19;
border: 1px solid #1c3050;
border-radius: .375rem;
color: #e2e8f0;
padding: .5rem .75rem;
font-family: 'JetBrains Mono', monospace;
font-size: .875rem;
text-align: left;
cursor: pointer;
transition: border-color .15s, box-shadow .15s;
}

button.multiselect.dropdown-toggle:hover,
button.multiselect.dropdown-toggle:focus {
border-color: #38bdf8;
box-shadow: 0 0 0 3px rgba(56, 189, 248, .2);
outline: none;
}

.multiselect-container.dropdown-menu {
display: block;
position: relative;
z-index: 10;
width: 100%;
background: #080d19;
border: 1px solid #1c3050;
border-radius: .375rem;
margin-top: 2px;
padding: 4px 0;
list-style: none;
max-height: 200px;
overflow-y: auto;
}

.multiselect-container > li > a {
display: block;
padding: 0;
color: #e2e8f0;
text-decoration: none;
}

.multiselect-container > li > a > label {
display: block;
padding: 5px 12px 5px 36px;
cursor: pointer;
color: #e2e8f0;
font-size: .875rem;
font-family: 'DM Sans', sans-serif;
margin: 0;
}

.multiselect-container > li > a > label:hover {
background: #1c3050;
color: #38bdf8;
}

.multiselect-container > li > a > label > input[type=checkbox] {
margin-right: 8px;
accent-color: #34d399;
}

.input-group-addon {
background: #0d1628;
border: 1px solid #1c3050;
color: #94a3b8;
padding: .375rem .5rem;
font-size: .875rem;
}

.multiselect-container .input-group input.form-control {
background: #080d19;
border: 1px solid #1c3050;
border-left: 0;
color: #e2e8f0;
padding: .375rem .5rem;
font-size: .875rem;
}

button.btn.btn-default.multiselect-clear-filter {
background: #0d1628;
border: 1px solid #1c3050;
color: #94a3b8;
padding: .25rem .5rem;
border-radius: .25rem;
cursor: pointer;
}

/* Pure CSS toggles — replaces bootstrap-toggle entirely */
#generator input[type=checkbox] {
/* Pure CSS toggles */
#generator input[type=checkbox]:not(.ms-check) {
-moz-appearance: none;
appearance: none;
-webkit-appearance: none;
Expand All @@ -870,7 +773,7 @@ button.btn.btn-default.multiselect-clear-filter {
transition: background .2s, border-color .2s;
}

#generator input[type=checkbox]::after {
#generator input[type=checkbox]:not(.ms-check)::after {
content: '';
position: absolute;
width: 18px;
Expand All @@ -882,12 +785,12 @@ button.btn.btn-default.multiselect-clear-filter {
transition: left .2s, background .2s;
}

#generator input[type=checkbox]:checked {
#generator input[type=checkbox]:not(.ms-check):checked {
background: #34d399;
border-color: #34d399;
}

#generator input[type=checkbox]:checked::after {
#generator input[type=checkbox]:not(.ms-check):checked::after {
left: 22px;
background: #fff;
}
Expand Down
Loading
Loading