Skip to content

Commit

Permalink
Create style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Coding-with-Adam authored Apr 18, 2024
1 parent 5a31238 commit da273f6
Showing 1 changed file with 172 additions and 0 deletions.
172 changes: 172 additions & 0 deletions dash-layout-tutorial/assets/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
body {
background-color: #708090;
}

.dashboard-container {
width: 1400px;
height: 800px;
margin-left: auto;
margin-right: auto;
margin-top: 50px;
margin-bottom: 50px;
background-color: #010103;
border: 1px solid #cccccc;
border-radius: 10px;
}

.modebar { display: none !important; }

/* Texts */

h1 {
font-family: "Poppins";
color: #ffffff;
font-size: 35px;
margin: 15px;
}

h2 {
margin-bottom: 0px;
margin-top: 10px;
font-family: "Poppins";
font-size: 14px !important;
color: #ffffff;
}

p {
font-family: "Poppins";
color: #ffffff;
font-size: 16px;
margin: 15px;
text-align: justify;
}

/* Radio-buttons */

.form-check {
width: 100%;
height: 38px;
margin: 1px;
padding-left: 0;
}

.btn.btn-outline-light,
.btn.btn-light {
width: 100%;
height: 100%;
padding: 6px;
font-family: "Poppins";
border-radius: 3px;
}

.btn.btn-outline-light {
border: 1px solid transparent;
}

.btn.btn-outline-light:hover {
color: #010103;
background-color: color-mix(in srgb, var(--bs-light), #010103 7%);
}

/* Single button */

.btn.btn-info {
width: 100%;
height: 38px;
margin: 1px;
padding: 6px;
font-family: "Poppins";
border-radius: 3px;
background-color: transparent;
border: 1px solid transparent;
}

.btn.btn-info:active,
.btn.btn-info:focus {
background-color: var(--bs-info);
}

.btn.btn-info:hover {
background-color: color-mix(in srgb, var(--bs-info), #010103 7%);
}

/* Dropdowns */

.customDropdown {
font-size: 16px;
font-family: "Poppins";
padding-left: 1px;
}

.customDropdown .Select-control {
width: 100%;
height: 38px;
background-color: transparent;
border: 1px solid #676768;
border-radius: 3px;
color: var(--bs-info) !important;
}

.customDropdown .Select-value-label,
.customDropdown .Select-placeholder {
color: var(--bs-info) !important;
}

.customDropdown .Select-arrow {
border-color: #cccccc transparent transparent;
}

.customDropdown.is-open .Select-arrow {
border-color: transparent transparent #cccccc;
}

.customDropdown .Select-clear {
color: var(--bs-info);
font-size: 22px;
}

.customDropdown.is-focused:not(.is-open) > .Select-control {
border: 2px solid color-mix(in srgb, var(--bs-info), #010103 50%) !important;
}

.customDropdown.is-focused:not(.is-open) .Select-arrow {
border-color: var(--bs-info) transparent transparent;
}

.customDropdown .Select-menu-outer {
margin-top: 5px;
border-radius: 3px;
background-color: #010103;
border: 1px solid #676768;
color: var(--bs-light);
}

.customDropdown .VirtualizedSelectFocusedOption {
background-color: color-mix(in srgb, var(--bs-light), #010103 7%);
border-radius: 3px;
color: #010103;
}


/* Outputs */

.Output {
width: 150px;
height: 38px;
background-color: rgba(204,204,204,0.1);
border: 1px solid rgba(204,204,204,0.1);
border-radius: 3px;
}

.Output:empty::before {
content:"";
display:inline-block;
}

h3 {
font-size: 16px;
line-height: 34px;
padding-left: 7px;
font-family: "Poppins";
color: var(--bs-info);
}

0 comments on commit da273f6

Please sign in to comment.