Files
thrillwiki_django_no_react/staticfiles/silk/css/pages/root_base.css
pacnpal bead0654df Add JavaScript functionality for dynamic UI updates and filtering
- Implemented font color configuration based on numeric values in various sections.
- Added resizing functionality for input fields to accommodate text length.
- Initialized filters on document ready for improved user interaction.
- Created visualization for profile data using fetched dot format.
- Enhanced SQL detail page with click event handling for row navigation.
- Ensured consistent highlighting for code blocks across multiple pages.
2025-08-20 11:33:23 -04:00

253 lines
3.7 KiB
CSS

.cell:hover {
background-color: rgb(51, 51, 68);
color: white;
cursor: pointer;
}
.cell {
text-align: center;
}
/* General styles for all menus */
.cbp-spmenu {
background: rgb(51, 51, 68);
position: fixed;
}
h3 {
color: white;
font-size: 1.9em;
padding: 10px;
margin: 0;
font-weight: 300;
background: rgb(51, 51, 68);
}
/*.cbp-spmenu div {*/
/*display: block;*/
/*color: #fff;*/
/*font-size: 1.1em;*/
/*font-weight: 300;*/
/*}*/
/* Orientation-dependent styles for the content of the menu */
.cbp-spmenu-vertical {
width: 300px;
height: 100%;
top: 0;
z-index: 1000;
}
/* Vertical menu that slides from the left or right */
.cbp-spmenu-right {
right: -300px;
}
.cbp-spmenu-right.cbp-spmenu-open {
right: 0px;
}
/* Push classes applied to the body */
.cbp-spmenu-push {
overflow-x: hidden;
position: relative;
left: 0;
}
.cbp-spmenu-push-toleft {
left: -300px;
}
/* Transitions */
.cbp-spmenu,
.cbp-spmenu-push {
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
transition: all 0.3s ease;
}
/* Example media queries */
@media screen and (max-width: 55.1875em) {
.cbp-spmenu-horizontal {
font-size: 75%;
height: 110px;
}
}
.active-filter {
font-size: 12px;
color: white;
}
.active-filter td {
padding: 0;
margin: 0;
}
#cbp-spmenu-s2 button {
color: white;
background: none;
border: none;
}
#cbp-spmenu-s2 button:hover {
color: black;
background: white;
border: none;
cursor: pointer;
}
#cbp-spmenu-s2 button:focus {
outline: none;
}
#slider-label {
margin-top: 5px;
}
#outer-slider {
text-align: center;
width: 80%;
}
#seconds {
width: 200px;
height: 50px;
}
#slider {
width: 80%;
margin: auto;
margin-top: 10px;
}
input[type=number],
input[type=text] {
border: none;
padding: 10px;
width: 222px;
}
.add-button {
font-size: 20px;
font-weight: bold;
}
.add-button.disabled {
color: darkgray !important;
}
.add-button.disabled:hover {
background: transparent !important;
cursor: default !important;
}
.button-div {
display: inline-block;
text-align: center;
height: 50px;
}
.apply-div {
display: inline-block;
background-color: white;
color: black;
margin: 10px;
padding: 10px;
border-radius: 5px;
}
.apply-div:hover {
cursor: pointer;
}
select {
border-radius: 0;
max-width: 100%;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
/*safari and chrome*/
select {
line-height: 30px;
background: #f4f4f4;
}
}
select::-moz-focus-inner {
/*Remove button padding in FF*/
border: 0;
padding: 0;
}
#cbp-spmenu-s2 p {
margin-bottom: 10px;
margin-left: 10px;
margin-right: 10px;
margin-top: 0;
font-size: 12px;
color: white;
font-style: oblique;
line-height: 16px;
}
#filter-item {
width: 24px;
height: 20px;
float: right;
display: inline;
background-image: url("../../filter.png");
background-size: contain;
background-repeat: no-repeat;
text-align: right;
}
#filter-item #num-filters {
position: relative;
top: 7px;
left: 1px;
}
.resizing-input {
display: inline-block;
}
.resizing-input input, .resizing-input span {
font-size: 12px;
font-family: FiraSans;
white-space: pre;
font-weight: 300;
background-color: transparent;
color: white;
padding: 0;
padding-left: 4px;
padding-right: 4px;
margin: 0;
letter-spacing: 1px;
}
.resizing-input input:focus {
outline: none;
}
h4 {
padding: 0;
margin: 3px;
margin-left: 10px;
color: white;
font-weight: lighter;
font-size: 20px;
}
.filter-section {
color: white;
font-size: 12px;
line-height: 2.3;
padding: 10px;
}
.filter-section select {
margin-bottom: 10px;
}
.filter-section input {
padding: 4px;
}