This commit is contained in:
2025-12-05 09:15:15 +01:00
commit 8837c20d66
1752 changed files with 1123339 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
// Bootstrap 5.3.0
@import "../bootstrap/mixins/banner";
@include bsBanner("");
// scss-docs-start import-stack
// Configuration
@import "../bootstrap/functions";
@import "../bootstrap/variables";
@import "../bootstrap/variables-dark";
@import "../bootstrap/maps";
@import "../bootstrap/mixins";
@import "../bootstrap/utilities";
// Layout & components
@import "../bootstrap/root";
@import "../bootstrap/reboot";
@import "../bootstrap/type";
@import "../bootstrap/images";
@import "../bootstrap/containers";
@import "../bootstrap/grid";
@import "../bootstrap/tables";
@import "../bootstrap/forms";
@import "../bootstrap/buttons";
@import "../bootstrap/transitions";
@import "../bootstrap/dropdown";
// @import "../bootstrap/button-group";
@import "../bootstrap/nav";
@import "../bootstrap/navbar";
@import "../bootstrap/card";
@import "../bootstrap/accordion";
@import "../bootstrap/breadcrumb";
@import "../bootstrap/pagination";
// @import "../bootstrap/badge";
// @import "../bootstrap/alert";
// @import "../bootstrap/progress";
// @import "../bootstrap/list-group";
// @import "../bootstrap/close";
// @import "../bootstrap/toasts";
@import "../bootstrap/modal";
// @import "../bootstrap/tooltip";
// @import "../bootstrap/popover";
// @import "../bootstrap/carousel";
// @import "../bootstrap/spinners";
// @import "../bootstrap/offcanvas";
// @import "../bootstrap/placeholders";
// Helpers
@import "../bootstrap/helpers";
// Utilities
@import "../bootstrap/utilities/api";
// scss-docs-end import-stack

View File

@@ -0,0 +1,633 @@
.card {
@extend .shadow;
@extend .rounded;
transition: .2s ease;
border: 0;
&-lg {
.card-body {
padding: 35px;
}
}
&-icon {
background: $color-primary;
color: $white;
padding: 10px 0;
width: 53px;
display: inline-block;
text-align: center;
font-size: 22px;
@extend .rounded;
}
&-text {
margin-bottom: 0;
}
&-title {
font-weight: 700;
}
&-body {
padding: 25px;
}
&:hover {
box-shadow: 0px 15px 60px rgba(62, 62, 62, 0.2) !important;
}
}
.social-icons {
margin-bottom: 0;
a {
display: block;
height: 42px;
width: 42px;
line-height: 42px;
text-align: center;
color: $white;
background: $color-primary;
border-radius: 6px;
&:hover {
background: darken($color: $color-primary, $amount: 10) !important;
}
}
}
.footer-menu {
margin-bottom: 0;
a {
display: block;
padding: 10px;
color: $text-color;
transition: .2s ease;
font-weight: 500;
&:hover {
color: $color-primary;
}
}
}
/* sidenav */
.sidenav {
border-right: 1px solid $border-color;
padding: 0 20px 0 10px;
position: sticky;
top: 80px;
ul {
padding-left: 10px;
}
&>li {
a {
padding: 10px 0;
color: $text-dark;
display: block;
font-size: 18px;
font-weight: 500;
}
&:not(:last-child) {
border-bottom: 1px solid $border-color;
}
}
.sidelist {
ul {
display: none;
}
}
.parent {
&>a {
color: $color-primary !important;
position: relative;
margin-left: 10px;
&::before {
position: absolute;
content: "";
left: -10px;
top: 25%;
height: 50%;
width: 1px;
background: $color-primary;
}
}
ul {
display: block;
margin-bottom: 10px;
a {
padding: 5px 0;
font-size: 14px;
font-weight: 400;
color: rgba($text-dark, 0.8);
}
li.active>a {
margin-left: 10px;
&::before {
height: 5px;
width: 5px;
border-radius: 50%;
display: block;
top: 13px;
}
}
}
}
}
/* /sidenav */
.sidelist {
display: none;
&.parent {
display: block;
border-bottom: 0 !important;
.sidelist {
display: block;
}
}
}
/* /sidenav */
.pagination {
margin-top: 50px;
justify-content: space-between;
a {
color: $color-primary;
font-size: 18px;
font-weight: 500;
}
svg {
height: 28px;
font-size: 15px;
}
}
// code-tab
.code-tabs {
border: 1px solid $border-color;
overflow: hidden;
margin-bottom: 20px;
.nav-tabs {
margin-bottom: 0;
.nav-item {
padding-left: 0;
border-right: 1px solid $border-color;
.nav-link {
text-decoration: none;
font-weight: 500;
border: 0;
}
&::before {
display: none;
}
&.active {
background: $color-primary;
.nav-link {
color: $white;
}
}
}
}
.tab-content {
padding: 20px 15px;
}
}
// copy to clipboard
pre {
position: relative;
.copy-to-clipboard {
background: $color-primary;
color: $white;
cursor: pointer;
padding: 4px 5px;
line-height: 1;
font-size: 12px;
font-weight: 500;
border-radius: 4px;
position: absolute;
right: 10px;
top: 10px;
}
}
:not(pre)>code+span.copy-to-clipboard {
display: none;
}
// autocomplete
.autocomplete-suggestions {
border: 0;
border-radius: 0 0 6px 6px;
box-shadow: 0px 50px 60px rgba(62, 62, 62, 0.102) !important;
background: $white;
&::-webkit-scrollbar {
width: 5px;
&-track {
background: $light;
}
&-thumb {
background: $border-color;
}
}
.autocomplete-suggestion {
transition: .2s ease;
padding: 10px;
font-weight: 500;
&.selected {
background: $color-primary;
}
}
}
.search-item {
a {
color: $text-dark;
display: block;
&:hover {
color: $color-primary;
}
}
&:not(:last-child) {
border-bottom: 1px solid $border-color;
}
}
.form-group {
label {
font-size: 15px;
font-weight: 500;
}
.form-control {
font-size: 16px;
height: 40px;
background: transparent;
border: 0;
border-bottom: 1px solid $border-color;
border-radius: 0;
padding: 10px 0;
color: $text-dark;
&::placeholder {
font-size: 16px;
color: $text-light;
}
&:focus {
outline: 0;
border-color: $color-primary;
box-shadow: none;
}
}
.form-select {
font-size: 16px;
color: rgba($text-dark, .8);
border-top: 0;
border-left: 0;
border-right: 0;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba(34,34,34,.5)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
background-position: right center;
&:focus {
outline: 0;
border-color: $color-primary;
box-shadow: none;
}
option:checked {
font-size: 36px !important;
}
}
textarea.form-control {
height: 100px;
resize: none;
}
}
.form-control {
border: 1px solid $border-color;
border-radius: 6px;
&:focus {
box-shadow: none !important;
outline: 0;
border-color: $color-primary;
}
}
textarea.form-control {
height: 100px;
}
.badge {
margin-bottom: 20px;
font-weight: 500;
font-size: 15px;
padding: 5px 10px;
width: fit-content;
border-radius: 4px;
&.added {
background: #3778FF;
color: $white;
}
&.fixed {
background: #F54773;
color: $white;
}
&.changed {
background: #3AAA55;
color: $white;
}
&.depricated {
background: #343434;
color: $white;
}
&.removed {
background: #3bbfe4;
color: $white;
}
&.security {
background: #F53535;
color: $white;
}
&.unreleased {
background: #A037FF;
color: $white;
}
}
.collapse-wrapper {
padding: 5px 15px;
.collapse-head {
text-decoration: none;
color: $text-color;
font-size: 18px;
font-weight: 500;
align-items: center;
}
}
:not(.highlight) pre {
background: $light;
}
// content style
.content {
span[style="color:#585b70;font-style:italic"] {
color: #7f818c !important;
}
&>img {
border-radius: 5px;
}
* {
// word-break: break-word;
// overflow-wrap: break-word;
}
strong {
font-weight: 600;
}
a {
text-decoration: underline;
color: $color-primary;
}
ol,
ul {
padding-left: 20px;
li {
margin-bottom: 10px;
}
}
ul {
padding-left: 0;
margin-bottom: 20px;
li {
padding-left: 20px;
position: relative;
&::before {
position: absolute;
content: '';
height: 8px;
width: 8px;
border-radius: 50%;
background: $color-primary;
left: 3px;
top: 8px;
}
}
}
table {
width: 100%;
max-width: 100%;
margin-bottom: 1rem;
border: 1px solid #EEEEEE;
border-radius: 5px;
border-spacing: 0;
border-collapse: separate;
overflow: hidden;
}
table td,
table th {
padding: .75rem;
vertical-align: top;
margin-bottom: 0;
}
tr:not(:last-child) {
border-bottom: 1px solid #EEEEEE;
}
th {
font-weight: 500;
}
thead {
background: $light;
margin-bottom: 0;
tr {
border-bottom: 1px solid #EEEEEE;
}
}
tbody {
background: #fff;
margin-bottom: 0;
}
blockquote {
padding: 20px 30px;
border-left: 2px solid $color-primary;
margin: 40px 0;
font-weight: bold;
background: $light;
p {
color: rgba($text-dark, 0.8);
font-size: 18px !important;
margin-bottom: 0 !important;
line-height: 1.7;
}
}
pre {
display: block;
padding: 15px 20px !important;
margin: 10px 0 30px 0 !important;
border-radius: 6px;
}
code {
margin-bottom: 0 !important;
font-size: 100%;
}
iframe {
display: block;
border-radius: 5px;
margin-bottom: 30px;
}
}
.accordion-body {
color: $black;
*:last-child {
margin-bottom: 0;
}
}
.tab-nav-button {
border-radius: 6px;
}
.content .tab-nav-button {
background-color: #fff;
}
[data-tab-item] {
padding-top: 10px;
}
blockquote,
.notices {
border-radius: 4px;
}
.list-styled {
padding-left: 0;
li {
padding: 5px 0 5px 20px;
position: relative;
&::before {
position: absolute;
content: '';
height: 8px;
width: 8px;
border-radius: 50%;
background: $color-primary;
left: 3px;
top: 13px;
padding: 2px;
border: 2px solid $white;
box-shadow: 0 0 0 2px $color-primary;
}
}
}
// feedback
.feedback {
padding-top: 50px;
margin-top: 50px;
border-top: 1px solid $border-color;
&-btn {
display: inline-block;
height: 45px;
width: 45px;
line-height: 45px;
text-align: center;
font-size: 25px;
border-radius: 6px;
border: 0;
&.positive {
color: $white;
background-color: #00bec4;
margin-right: 10px;
&.collapsed {
color: #00bec4;
background-color: #00bec427;
}
}
&.negative {
color: $white;
background-color: #f9756e;
&.collapsed {
color: #f9756e;
background-color: #f9756e2a;
}
}
}
}

View File

@@ -0,0 +1,238 @@
.navigation {
transition: 0.2s ease;
&.home-nav {
transition: unset;
top: 0 !important;
&.nav-bg-home {
@include desktop {
padding-bottom: 60px;
top: -60px !important;
}
}
}
.container {
padding: 0;
@include tablet {
padding: 0 10px;
}
}
.navbar {
padding: 15px 0;
}
&.nav-bg {
background: $white;
box-shadow: 0px 5px 20px rgba(62, 62, 62, 0.08) !important;
@include desktop {
top: -60px;
}
@include mobile {
top: -50px;
}
@include mobile-xs {
top: -45px;
}
}
.form-inline {
width: 30%;
input {
width: 100%;
box-shadow: 0px 5px 10px rgba(62, 62, 62, 0.05) !important;
}
}
@include desktop {
.form-inline {
width: 100%;
.form-control {
box-shadow: none !important;
border: 1px solid $border-color;
&:focus {
border: 0;
box-shadow: 0px 5px 10px rgba(62, 62, 62, 0.05) !important;
}
}
}
}
}
.language-selector {
border: 0;
margin-right: 10px;
}
header .search-wrapper {
display: none;
}
.search-wrapper {
position: relative;
cursor: text;
.search-icon {
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 15px;
}
.form-control {
height: 54px;
border: 1px solid $border-color;
padding-left: 40px !important;
border-radius: 5px;
width: 320px;
@extend .shadow;
@include mobile {
width: 250px;
}
&-sm {
height: 45px;
width: 220px;
}
&::placeholder {
color: $text-light;
font-size: 15px;
}
}
.search-button {
border: 1px solid $border-color;
color: $text-light;
background-color: transparent;
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
border-radius: 4px;
cursor: text;
}
}
header.search-active.home-nav {
.search-wrapper {
display: block !important;
}
@include desktop {
.logo-wrapper {
display: none;
}
.mobile-view {
display: none !important;
}
}
}
@include desktop {
#banner .search-wrapper {
max-width: 300px;
margin: auto;
display: block;
}
}
.logo-wrapper {
display: flex;
align-items: center;
margin-right: 10px;
flex-wrap: nowrap;
img {
height: 28px;
width: auto;
}
.site-logo {
white-space: nowrap;
.site {
@include tablet {
display: none;
}
}
}
.logo-devider {
height: 30px;
width: 3px;
background-color: $border-color;
margin: 0 10px;
}
.docs-logo {
margin-top: 2px;
}
}
.search-sticky {
position: fixed !important;
top: 10px;
z-index: 9999;
width: 28%;
left: 37%;
@include desktop {
width: calc(100% - 20px);
max-width: 700px;
left: 50%;
transform: translateX(-50%);
}
@include tablet {
max-width: 520px;
}
.form-control {
height: 50px !important;
box-shadow: 0px 5px 10px rgba(62, 62, 62, 0.05) !important;
@include desktop {
box-shadow: none !important;
border: 1px solid $border-color;
&:focus {
border: 0;
}
}
@include mobile {
height: 40px !important;
}
}
.btn-primary {
display: none;
}
.d-none {
display: block !important;
}
}
.mobile-view {
@include mobile {
zoom: 0.7;
}
@include mobile-xs {
zoom: 0.6;
}
}

View File

@@ -0,0 +1,106 @@
// search-modal
.search-modal-dialog {
margin-top: 150px;
max-width: 600px;
@include desktop {
margin-top: 80px;
}
}
.search-modal {
.input-group-text,
.search-form-control {
border: 2px solid rgba($color-primary, 0.5);
}
.search-form-control {
padding-right: 15px;
padding-top: 12px;
padding-bottom: 12px;
}
.modal-body {
max-height: calc(100vh - 350px);
padding: 1rem;
overflow-y: auto;
background-color: #f5f6f7;
box-shadow: inset 0px 2px 18px #ddd;
border-bottom-left-radius: calc(0.3rem - 1px);
border-bottom-right-radius: calc(0.3rem - 1px);
&::-webkit-scrollbar {
width: 5px;
&-track {
background: $white;
}
&-thumb {
background: #c7c7c7;
}
}
}
}
.search-result-item {
&:first-child {
.section:not(:empty) {
margin-top: -15px;
}
}
&:not(:last-child) a {
margin-bottom: -1px;
}
> .section {
padding: 0 0.75rem;
display: inline-block;
margin-bottom: 10px;
margin-top: 25px;
font-size: 20px;
font-weight: 600;
&:empty {
display: none;
}
}
.block {
display: block;
padding: 0.65rem 1rem;
border-radius: 4px;
border: 1px solid #eee;
background-color: #fff;
transition: 0.1s;
p {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
font-weight: 500;
mark:not(:first-child) {
background-color: transparent;
}
mark {
color: $color-primary;
background-color: rgba($color-primary, 0.05);
}
&:empty {
display: none;
}
}
&:focus,
&:hover {
background-color: rgba($color-primary, 0.8);
* {
color: white !important;
}
mark {
color: $color-primary !important;
background-color: $white;
}
}
}
}
#search-result-body {
&:empty {
&::after {
content: "No result to show!";
display: block;
text-align: center;
margin: 1.5rem 0;
opacity: 0.5;
}
}
}