dsql-admin/dsql-app/less/root.less

443 lines
7.7 KiB
Plaintext
Raw Permalink Normal View History

2024-11-05 11:12:42 +00:00
// @import url("https://fonts.googleapis.com/css?family=Comme:300,400,500,600,700,800,900");
// @import url("https://fonts.googleapis.com/css?family=IBM+Plex+Mono:400,500");
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
:root {
--primary: #1059b8;
--secondary: #00948a;
--main-color: #00948a;
--main-color-lighter: #31aaa2;
--main-color-darker: #00776f;
--main-color-darker-2: #0b5a55;
--main-color-dark: #0c3d3a;
--main-color-dark-lighter: #3b2a4b;
--main-color-dark-lighter-2: #4b286b;
--main-color-dark-lighter-3: #5a278a;
--sec-color: #107ab8;
--sec-color-lighter: #47a2d6;
--sec-color-light: #bfe3f8;
--sec-color-darker: #0b8862;
--sec-color-2: #66ced6;
--sec-color-2-darker: #169286;
--text-color: #242527;
--light-color: #d3dae4;
--dark-color: #120e16;
--slate-100: rgb(241 245 249);
--slate-200: rgb(226 232 240);
--slate-300: rgb(203 213 225);
--slate-400: rgb(148 163 184);
--slate-500: rgb(100 116 139);
--slate-600: rgb(71 85 105);
--slate-700: #334155;
--slate-800: #1e293b;
--slate-900: #0f172a;
--warning-color: rgb(236, 145, 118);
}
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
.swiper-wrapper {
gap: 0;
}
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
.tox .tox-sidebar-wrap {
width: 100%;
}
.tox .tox-edit-area {
height: 100%;
padding: 10px 20px;
iframe {
position: relative;
}
}
.tox-tinymce {
background-color: #fff;
}
.tox-collection__group {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 20px;
}
.tox .tox-edit-area,
.tox .tox-edit-area iframe,
.tox .tox-editor-container,
2024-12-08 08:57:48 +00:00
.tox .tox-editor-container > *,
.tox .tox-statusbar {
2024-11-05 11:12:42 +00:00
width: 100%;
}
2024-12-08 08:57:48 +00:00
.tox .tox-statusbar__right-container {
padding-right: 10px !important;
}
2024-11-05 11:12:42 +00:00
.tox:not(.tox-tinymce-inline) .tox-editor-header {
overflow-x: auto;
}
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
nav a {
font-weight: 400;
}
header.dark-content {
background-color: var(--dark-color);
color: white;
}
header.dark-content.hero-overlay {
background-color: transparent;
position: absolute;
}
header.dark-content #main-header-logo-link-block * {
color: white;
}
header.dark-content nav a {
color: white;
}
header.dark-content nav a:hover {
color: var(--slate-400);
}
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
ul,
ol {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 20px;
}
li a {
display: block;
}
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
footer {
border-top: 1px solid var(--slate-200);
}
html.dark footer {
border-top: 1px solid var(--slate-700);
}
footer a {
color: var(--sec-color);
font-size: 14px;
}
footer a:hover {
opacity: 0.5;
}
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
#theme-selector-wrapper {
cursor: pointer;
}
#theme-selector-graphic-wrapper {
outline-color: transparent;
outline-style: solid;
outline-width: 2px;
background-color: var(--slate-200);
}
html.dark #theme-selector-graphic-wrapper {
background-color: var(--slate-700);
}
#theme-selector-wrapper:hover #theme-selector-graphic-wrapper {
outline-color: var(--slate-300);
}
html.dark #theme-selector-wrapper:hover #theme-selector-graphic-wrapper {
outline-color: var(--slate-500);
}
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
aside a.active {
font-weight: 800;
color: var(--main-color);
position: relative;
display: flex;
align-items: center;
}
// aside a.active::after {
// content: "<";
// position: absolute;
// right: -15px;
// }
html.dark aside a.active {
color: white;
}
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
.tox-editor-header::-webkit-scrollbar {
height: 0;
}
.RTE-DOCS {
max-width: 800px;
display: block;
}
.RTE-DOCS img {
box-shadow: 0 0 40px rgba(30, 41, 59, 0.1);
border-radius: 5px;
object-fit: cover;
@media (max-width: 800px) {
width: 100%;
object-position: top left;
}
}
.RTE-DOCS pre,
.RTE-DOCS li,
.RTE-DOCS ol {
width: 100%;
}
.RTE-DOCS p code,
.RTE-DOCS span code {
font-family: "IBM Plex Mono";
background-color: var(--slate-100);
border: 1px solid var(--slate-200);
border-radius: 2px;
padding: 1px 3px;
}
// .RTE-DOCS div {
// display: block !important;
// }
html.dark .RTE-DOCS .code-block {
background-color: var(--slate-700) !important;
}
.target-node {
outline: 3px solid var(--main-color-lighter) !important;
border-radius: 2px;
}
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
.gray-bordered {
border: 1px solid var(--slate-200);
border-radius: 3px;
}
.ace-editor-wrapper {
display: block;
position: relative;
width: 100%;
height: 100%;
padding: 20px;
border-radius: 5px;
font-size: 14px;
}
#ace-editor-wrapper {
display: block;
position: relative;
width: 100%;
height: 300px;
padding: 20px;
border-radius: 5px;
font-size: 14px;
}
#ace-editor-wrapper div,
.ace_editor div {
display: block;
}
.copy-code {
display: none;
2024-12-05 07:03:33 +00:00
&.show {
display: flex;
}
2024-11-05 11:12:42 +00:00
}
.code-block {
font-family: "IBM Plex Mono" !important;
font-size: 14px !important;
font-weight: 500 !important;
}
.code-block:hover .copy-code {
display: flex;
}
/* ###############################################################################################
##################################################################################################
##################################################################################################
##################################################################################################
##################################### -- Mobile Styles -- ########################################
##################################################################################################
##################################################################################################
##################################################################################################
############################################################################################### */
@media (max-width: 1200px) {
#main-nav-content-wrapper {
max-width: 350px;
width: 100%;
}
html.dark #main-nav-content-wrapper {
background-color: var(--slate-800);
box-shadow: 0 0 50px black;
}
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
/* * */
nav a {
font-weight: 400;
}
header.dark-content {
color: var(--dark-color);
}
header.dark-content nav a {
color: var(--dark-color);
}
}
@media (max-width: 990px) {
}
@media (max-width: 800px) {
}
@media (max-width: 600px) {
#main-nav-content-wrapper {
max-width: none;
width: 100%;
}
}
@media (max-width: 450px) {
h2 {
font-size: 28px;
}
section {
padding: 40px 20px;
}
}