crafty-4/app/frontend/static/assets/css/crafty.css

270 lines
5.2 KiB
CSS
Raw Normal View History

2020-08-23 22:43:28 +00:00
.select-css option {
2022-09-27 01:24:00 +00:00
background-color: var(--deep-bg);
color: var(--base-text)
2020-08-23 22:43:28 +00:00
}
.select-css option:checked {
2022-09-27 01:24:00 +00:00
background-color: var(--deep-bg);
color: var(--base-text)
}
nav.sidebar {
position: fixed;
}
@media (min-width: 992px) {
nav.sidebar {
position: fixed;
max-height: auto;
}
.main-panel {
margin-left: 270px;
}
.sidebar-icon-only .main-panel {
margin-left: 70px;
}
}
2022-06-20 21:41:52 +00:00
.sidebar>.nav>.nav-item:not(.nav-profile)>.nav-link:before {
content: none;
position: absolute;
left: 30px;
right: 50%;
width: 10px;
height: 10px;
border-radius: 100%;
2024-01-30 21:03:58 +00:00
border: 2px solid var(--white);
display: block;
}
2022-07-14 22:26:42 +00:00
.toggle-handle {
2024-01-30 21:03:58 +00:00
background-color: var(--white) !important;
2022-07-14 22:26:42 +00:00
}
.toggle-on {
2024-01-30 21:03:58 +00:00
color: var(--dark) !important;
2022-07-14 22:26:42 +00:00
}
.toggle {
height: 0px !important;
}
2022-06-20 21:41:52 +00:00
.sidebar>.nav>.nav-item:not(.nav-profile)>.nav-link:before {
content: none;
position: absolute;
left: 30px;
right: 50%;
width: 10px;
height: 10px;
border-radius: 100%;
2024-01-30 21:03:58 +00:00
border: 2px solid var(--white);
display: block;
}
2022-06-20 21:41:52 +00:00
.sidebar>.nav .nav-item .nav-link,
.collapsed {
padding: 15px 30px;
}
2022-06-20 21:41:52 +00:00
.mc-log-time {
2022-10-04 17:31:37 +00:00
color: var(--success);
}
2022-06-20 21:41:52 +00:00
.mc-log-info {
2022-10-04 17:31:37 +00:00
color: var(--info);
}
2022-06-20 21:41:52 +00:00
.mc-log-warn {
2022-10-04 17:31:37 +00:00
color: var(--warning);
}
2022-06-20 21:41:52 +00:00
.mc-log-error {
color: #af463f;
2022-01-22 02:36:19 +00:00
}
2022-06-20 21:41:52 +00:00
.mc-log-fatal {
color: #da0f00;
}
2022-06-20 21:41:52 +00:00
.mc-log-keyword {
2022-10-04 17:31:37 +00:00
color: var(--primary);
}
.scrollable-element {
2024-01-30 21:03:58 +00:00
scrollbar-color: var(--red) var(--yellow);
}
2022-06-20 21:41:52 +00:00
.term-nav-item {
padding: 1%;
}
/* Fix body scrollbar color */
2022-06-20 21:41:52 +00:00
body {
background-color: var(--dark) !important;
/* Firefox */
}
/* Webkit */
/* Didn't really work out
::-webkit-scrollbar { background-color: #202538; }
::-webkit-scrollbar-button { background-color: #1D212F; }
::-webkit-scrollbar-thumb { background-color: #777A86; }
::-webkit-scrollbar-thumb:hover { background-color: #646773; }
::-webkit-scrollbar-track { background-color: #202538; }
::-webkit-scrollbar-corner { background-color: #202538; }*/
2022-06-20 21:41:52 +00:00
.actions_serverlist>a>i {
cursor: pointer;
}
.actions_serveritem {
cursor: pointer;
2021-08-20 17:46:01 +00:00
}
2022-06-20 21:41:52 +00:00
2021-08-27 01:06:22 +00:00
.corner {
position: absolute;
margin-top: 0;
margin-left: 0;
2022-06-20 21:41:52 +00:00
}
.accordion .card {
margin-bottom: 0px;
2023-05-17 20:21:21 +00:00
}
.bootbox-body {
text-align: center;
}
2023-02-04 09:50:44 +00:00
/**************************************************************/
/* CSS for Froms Displays */
/**************************************************************/
div>.input-group>.custom-file-input {
position: relative !important;
-webkit-box-flex: 1 !important;
-ms-flex: 1 1 auto !important;
flex: 1 1 auto !important;
width: 1% !important;
margin-bottom: 0 !important;
border: 1px solid var(--outline);
}
div>.input-group>.form-control-file {
position: relative !important;
-webkit-box-flex: 1 !important;
-ms-flex: 1 1 auto !important;
flex: 1 1 auto !important;
width: 1% !important;
margin-bottom: 0 !important;
border: 1px solid var(--outline);
}
.custom-picker {
border: 1px solid var(--outline);
}
div>.input-group>.form-control {
position: relative !important;
-webkit-box-flex: 1 !important;
-ms-flex: 1 1 auto !important;
flex: 1 1 auto !important;
width: 1% !important;
margin-bottom: 0 !important;
border: 1px solid var(--outline);
}
.input-group>.input-group-append>button.upload-button {
height: calc(1.5em + 0.75rem + 2px);
}
2023-05-27 18:01:46 +00:00
.no-scroll {
-ms-overflow-style: none;
/* IE and Edge */
scrollbar-width: none;
/* Firefox */
2023-05-27 18:01:46 +00:00
}
.no-scroll::-webkit-scrollbar {
display: none;
}
.custom-control-label::before,
.custom-control-label::after {
cursor: pointer;
}
.custom-control-input:checked~.custom-control-label::before {
color: black !important;
background-color: blueviolet !important;
border-color: var(--outline) !important;
}
.custom-control-label::before {
background-color: white !important;
top: calc(-0.2rem);
}
.custom-switch .custom-control-label::after {
top: calc(-0.125rem + 1px);
}
2024-01-30 21:03:58 +00:00
a.btn-primary {
color: var(--white);
}
button.btn-primary {
color: var(--white);
}
/**************************************************************/
/**************************************************************/
/* CSS for Tables Displays */
/**************************************************************/
td>ul {
margin: auto;
}
td p {
margin: auto;
}
td.action {
white-space: normal;
}
td.action .btn {
margin-bottom: 0.2rem;
}
2024-01-30 21:03:58 +00:00
/**************************************************************/
/**************************************************************/
/* CSS for warnings Displays */
/**************************************************************/
div.warnings div.wssError {
color: var(--white);
}
div.warnings div.wssError a {
2024-01-30 21:10:49 +00:00
color: var(--outline);
}
div.warnings div.wssError a:hover {
2024-01-30 21:03:58 +00:00
color: var(--white-smoke);
}
/**************************************************************/
/**************************************************************/
/* CSS for Fonts Displays */
2024-01-30 21:03:58 +00:00
/**************************************************************/
2024-01-30 21:58:19 +00:00
*:lang(th-TH) :not(.fa, .fas, .fab, .fa-solid) {
font-family: 'Sarabun', 'roboto', sans-serif;
}
2024-01-30 21:03:58 +00:00
2023-02-04 09:50:44 +00:00
/**************************************************************/