Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 26 additions & 18 deletions assets/scss/_content_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -175,28 +175,36 @@ h6 {
}
}

/* width */
::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: transparent;
}
@media (min-width: 768px) {
/* width */
::-webkit-scrollbar {
width: 8px;
height: 8px;
background-color: transparent;
}

/* Track */
::-webkit-scrollbar-track {
border-radius: 10px;
background-color: transparent;
}
/* Track */
::-webkit-scrollbar-track {
border-radius: 10px;
background-color: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: $primary;
border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
background: $primary;
border-radius: 10px;
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: $secondary;
}
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: $secondary;
@media (max-width: 767.98px) {
::-webkit-scrollbar {
display: none !important;
}
}

.td-initial table {
Expand Down
37 changes: 33 additions & 4 deletions assets/scss/_elements_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,47 @@ div.tip {
float: left;
margin: 1rem 1.25rem 1rem 0rem;
box-shadow: 0px 5px 10px 1px $primary;

@media (max-width: 768px) {
width: 100%;
float: none;
margin: 1rem 0;
}
}

.image-right {
width: 40%;
float: right;
margin: 1rem 0rem 1rem 1.25rem;
box-shadow: 0px 5px 10px 1px $primary;

@media (max-width: 768px) {
width: 100%;
float: none;
margin: 1rem 0;
}
}
.image-right-no-shadow {
width: 40%;
float: right;
margin: 1rem 0rem 1rem 1rem;

@media (max-width: 768px) {
width: 100%;
float: none;
margin: 1rem 0;
}
}
.image-left-no-shadow {
width: 40%;
float: left;
margin: 1rem 1rem 1rem 0rem;

@media (max-width: 768px) {
width: 100%;
float: none;
margin: 1rem 0;
}
}
.image-center-shadow {
display: block;
Expand Down Expand Up @@ -112,11 +136,16 @@ div.tip {
}

.pagination-nav {
grid-gap: 1rem;
display: grid;
gap: 1rem;
grid-template-columns: repeat(2, 1fr);
grid-gap: 1rem;
display: grid;
gap: 1rem;
grid-template-columns: repeat(2, 1fr);

@media (max-width: 576px) {
grid-template-columns: 1fr;
gap: 0.75rem;
}
}


.pagination-nav__link {
Expand Down
17 changes: 15 additions & 2 deletions assets/scss/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
min-height: 4rem;
margin: auto;
z-index: 32;
box-sizing: border-box;
width: 100%;
padding: 0 !important;

.navbar-brand {
text-transform: none;
Expand All @@ -43,6 +46,7 @@
.navbar-nav {
padding-top: $spacer * 0.5;
white-space: nowrap;
box-sizing: border-box;
}

.nav-link {
Expand All @@ -68,9 +72,18 @@

@include media-breakpoint-down(lg) {
.td-navbar-nav-scroll {
max-width: fit-content;
width: 100%;
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
height: 3.5rem;
font-size: 0.9rem;
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */

&::-webkit-scrollbar {
display: none !important; /* Chrome, Safari and Opera */
}
}

.navbar-brand {
Expand All @@ -79,7 +92,7 @@

.navbar-nav {
padding-bottom: 2rem;
overflow-x: auto;
overflow-x: visible;
}
}

Expand Down
26 changes: 26 additions & 0 deletions assets/scss/_navbar_project.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
.navbar-brand {
width: 280.06px;
height: auto;

img {
width: 100%;
height: auto;
}

@media (max-width: 768px) {
width: 240px;
}

@media (max-width: 576px) {
width: 200px;
}
}

.nav-item {
margin-right: 0.75rem;
box-sizing: border-box;

.current {
color: $primary;
Expand All @@ -27,6 +41,12 @@
// padding: 0;
transform: translate(-15%, 2.5rem);
border-radius: 0.75rem;

@media (max-width: 576px) {
width: 150px;
transform: translate(-20%, 2.5rem);
}

&::after{
content: "";
width: 5rem;
Expand All @@ -42,6 +62,12 @@
flex-direction: column;
align-items: center;
border-radius: 0.75rem;

@media (max-width: 576px) {
height: 4rem;
width: 4rem;
}

.logo-container {
height: 2rem;
width: 2rem;
Expand Down
16 changes: 16 additions & 0 deletions assets/scss/_search_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
background: transparent;
position: relative;
width: 100%;
max-width: 100%;
box-sizing: border-box;
margin: 0;
padding: 0;

// Search icon
&__icon {
Expand Down Expand Up @@ -36,6 +40,7 @@
&__input {
width: 100%;
text-indent: 1.25em;
box-sizing: border-box;

&:not(:focus) {
background: transparent;
Expand All @@ -52,6 +57,7 @@
.td-navbar & {
border: none;
color: $navbar-dark-color;
box-sizing: border-box;

@include placeholder {
color: $navbar-dark-color;
Expand Down Expand Up @@ -130,16 +136,20 @@
.td-navbar {
min-height: 6rem;
background-color: $body-bg !important;
box-sizing: border-box;
width: 100%;

.td-navbar-nav-scroll {
// max-width: fit-content;
box-sizing: border-box;
@media (max-width: 991.98px){
padding-bottom: 3rem;
}
}

.navbar-brand {
margin: 1.25rem;
flex-shrink: 0;
}
.td-search {
display: flex;
Expand All @@ -148,11 +158,16 @@
// background-color: #EBC017;
background-color: #2e2e31;
border-radius: 1rem;
box-sizing: border-box;
margin: 0 0.5rem;
flex: 1;
max-width: calc(100% - 1rem);

.td-search__input {
width: 100%;
text-indent: 1.25em;
border-radius: 1rem;
box-sizing: border-box;
}
.td-search__input:not(:focus) {
background: transparent;
Expand All @@ -169,6 +184,7 @@

.form-control {
border: 1px solid #ced4da;
box-sizing: border-box;
}
input[type="search"]::-webkit-search-cancel-button {
filter: invert(55%) sepia(75%) saturate(380%) hue-rotate(135deg) brightness(95%) contrast(90%);
Expand Down
45 changes: 32 additions & 13 deletions assets/scss/_sidebar-tree.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.td-sidebar-nav {
$_max-height: calc(100vh - 8.5rem);

padding: 0;
padding-right: 0.5rem;
margin-right: -15px;
margin-left: -15px;
Expand All @@ -19,7 +20,7 @@
@include media-breakpoint-up(lg) {
// There's no search box so add top padding
// and adjust max-height:
padding-top: 1rem;
padding-top: 0;

@supports (position: sticky) {
max-height: calc(#{$_max-height} + 4.5rem);
Expand Down Expand Up @@ -59,7 +60,8 @@
}

a {
color: var(--bs-secondary-color);
color: var(--sidebar-section-title-color);
transition: var(--sidebar-link-transition);
}
}

Expand All @@ -68,25 +70,40 @@
padding-bottom: 0.375rem;

&__page {
color: var(--bs-body-color);
font-weight: $font-weight-light;
color: var(--sidebar-link-color);
font-weight: var(--sidebar-link-font-weight);
transition: var(--sidebar-link-transition);
}
}

a {
color: var(--sidebar-link-color);
transition: var(--sidebar-link-transition);

&:focus,
&:hover {
color: var(--bs-link-color);
color: var(--sidebar-link-hover-color);
background-color: var(--sidebar-link-hover-bg);
border-radius: 4px;
padding: 0.25rem 0.5rem;
}

&.active {
font-weight: $font-weight-bold;
font-weight: var(--sidebar-active-link-font-weight);
color: var(--sidebar-link-active-color);
}
}

.dropdown {
a {
color: var(--bs-tertiary-color);
color: var(--sidebar-secondary-text-color);
transition: var(--sidebar-link-transition);

&:hover,
&:focus {
color: var(--sidebar-link-hover-color);
background-color: var(--sidebar-link-hover-bg);
}
}

.nav-link {
Expand Down Expand Up @@ -119,13 +136,14 @@
@include link-decoration;

@include media-breakpoint-up(md) {
padding-top: 4rem;
background-color: var(--bs-body-tertiary-bg);
padding-right: 1rem;
border-right: 1px solid var(--bs-border-color);
padding-top: 0;
background-color: var(--sidebar-bg-color);
padding-right: var(--sidebar-padding-horizontal);
padding-left: var(--sidebar-padding-horizontal);
border-right: var(--sidebar-border-width) solid var(--sidebar-border-color);
}

padding-bottom: 1rem;
padding-bottom: var(--sidebar-padding-vertical);

&__toggle {
line-height: 1;
Expand All @@ -134,7 +152,8 @@
}

&__search {
padding: 1rem 0;
padding: 0 0;
padding-bottom: 1rem;
}

&__inner {
Expand Down
Loading
Loading