selfprivacy.org/assets/scss/_styles_project.scss
2024-02-04 19:29:23 +04:00

267 lines
4.3 KiB
SCSS

.td-navbar {
background: $dark;
min-height: 5rem;
.navbar-brand__name {
display: none;
}
.nav-link {
color: $secondary !important;
font-weight: 600;
border-radius: 5px;
}
.nav-link:hover {
background-color: #61616144;
transition: background-color 0.2s ease-in-out;
}
.nav-link.active{
background-color: #616161;
color: white;
}
}
.td-breadcrumbs__single {
visibility: hidden;
}
.td-navbar .td-navbar-nav-scroll {
height: unset !important;
margin-top: unset !important;
}
.td-navbar .td-navbar-nav-scroll .nav-link {
padding: .5rem 1.5rem;
}
.sp-footer h2,
.sp-footer h3,
.sp-footer a.nav-link {
padding: 0.3rem 1rem !important;
}
.sp-footer a.nav-link:hover {
background-color: #61616144;
transition: background-color 0.2s ease-in-out;
border-radius: .3rem;
}
.sp-footer a.nav-link span {
width: 2rem;
display: inline-flex;
align-items: center;
border-radius: .1rem;
padding: .5rem;
}
.sp-footer span i {
margin: auto;
}
.td-navbar .td-navbar-nav-scroll .navbar-nav {
padding-bottom: 0 !important;
}
.nav-item {
margin-right: .5rem !important;
}
.dropdown-menu {
right: 0;
left: unset;
padding: 0px;
box-shadow: 0 8px 8px rgba(0, 0, 0, 0.25);
}
.dropdown-item {
padding: 0.5rem 1.5rem;
border-radius: 0.25rem;
}
.td-sidebar-nav-active-item {
color: $primary !important;
font-weight: 600;
}
.td-sidebar-nav .td-sidebar-link__page,
ul.ul-2>.td-sidebar-nav__section-title a {
color: #616161 !important;
font-weight: 400;
padding: .3rem .8rem !important;
border-radius: .3rem;
margin: .1rem !important;
}
.td-sidebar-link.td-sidebar-link__section {
border-radius: .3rem;
padding: .3rem .8rem !important;
margin: .1rem !important;
}
.td-sidebar-link.td-sidebar-link__section:hover {
color: $primary !important;
background-color: #7EB07F11;
transition: background-color 0.2s ease-in-out;
transition: color 0.2s ease-in-out;
}
.td-sidebar-nav a.active {
color: $primary !important;
background-color: #7EB07F22;
}
ul.ul-2 {
padding: 0;
}
ul.ul-2>.td-sidebar-nav__section-title a:hover {
color: $primary !important;
background-color: #7EB07F11;
transition: background-color 0.2s ease-in-out;
transition: color 0.2s ease-in-out;
}
ul.ul-0 li a.tree-root,
h5.taxonomy-title {
display: none !important;
}
li:has(input[type="checkbox"]) {
list-style-type: none;
}
.td-toc ul {
margin-top: 1rem;
}
.td-toc li {
display: block;
padding-bottom: .5rem;
}
.td-toc a{
display: inline !important;
}
@media (min-width: 768px) {
.td-sidebar {
padding-top: 5rem;
}
.td-404 main, .td-main main {
padding-top: 6.5rem;
}
.td-sidebar-toc {
padding-top: 2.75rem;
}
}
.rounded-img {
border-radius: 1rem;
}
.card-title {
font-weight: 600;
}
.sp-button-shadow {
box-shadow: 0px -0.5rem 0px 0px rgba(0, 0, 0, 0.1) inset;
}
.sp-button-big-padding {
padding-bottom: 1rem;
padding-top: 0.8rem;
}
.btn {
font-weight: 600;
}
.sp-feature-title {
font-weight: 600;
}
.sp-footer {
.nav-link {
font-weight: 600;
padding: 0.3rem 0;
color: $navbar-dark-color;
&:hover {
color: $navbar-dark-hover-color;
}
&:active {
color: $navbar-dark-active-color;
}
&:disabled {
color: $navbar-dark-disabled-color;
}
}
}
.text-secondary {
font-weight: 600;
}
.sp-service-icon {
margin-top: -4rem;
max-width: 12rem;
max-height: 8rem;
margin-left: 2rem;
width: max-content;
}
.sp-service-card {
background: #FFFFFF;
box-shadow: 0 8px 8px rgba(0, 0, 0, 0.25);
border-radius: 10px;
border: none;
}
.sp-services-row {
margin-top: 6rem;
}
.tab-content .tab-pane {
max-width: 100% !important;
}
.sp-supperted-by-img {
max-height: 5rem;
margin: 1rem;
}
.sp-supported-by-list {
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
}
.sp-supported-by-card {
background: #FFFFFF;
box-shadow: 0 8px 8px rgba(0, 0, 0, 0.25);
border-radius: 10px;
border: none;
margin-top: 1rem;
}
body {
background-color: whitesmoke;
}
a.nav-link.sp-coming-soon {
pointer-events: none;
cursor: default;
color: #616161;
}
a.nav-link.sp-coming-soon::after {
content: "Coming soon!";
display: inline-block;
background-color: #616161;
color: $dark;
margin-left: .5rem;
padding: .1rem .5rem;
border-radius: .1rem;
}