gcg-website/assets/scss/_common.scss

491 lines
6.3 KiB
SCSS
Raw Permalink Normal View History

2022-03-18 13:35:57 +01:00
body {
background-color: $body-color;
overflow-x: hidden;
}
::selection {
background: lighten($color: $primary-color, $amount: 10);
color: $white;
}
/* preloader */
.preloader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ffbC3b;
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
}
ol,
ul {
list-style-type: none;
margin: 0px;
}
img {
vertical-align: middle;
border: 0;
}
a,
a:hover,
a:focus {
text-decoration: none;
}
2022-12-31 18:12:51 +01:00
a {
2022-03-18 13:35:57 +01:00
color: inherit;
}
a,
button,
select {
cursor: pointer;
transition: .2s ease;
&:focus {
outline: 0;
}
}
a:hover {
color: $primary-color;
}
a.text-primary:hover {
2022-12-31 18:12:51 +01:00
color: $primary-color !important;
2022-03-18 13:35:57 +01:00
}
a.text-light:hover {
2022-12-31 18:12:51 +01:00
color: $primary-color !important;
2022-03-18 13:35:57 +01:00
}
2022-12-31 18:12:51 +01:00
h4 {
2022-03-18 13:35:57 +01:00
transition: .2s ease;
}
2022-12-31 18:12:51 +01:00
a h4 {
&:hover {
2022-03-18 13:35:57 +01:00
color: $primary-color;
}
}
.slick-slide {
outline: 0;
}
.section {
padding-top: 90px;
padding-bottom: 90px;
&-sm {
padding-top: 40px;
padding-bottom: 40px;
}
&-title {
margin-bottom: 30px;
}
}
.bg-cover {
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}
.border-primary {
border-color: $border-color !important;
}
/* overlay */
.overlay {
position: relative;
&::before {
position: absolute;
content: '';
height: 100%;
width: 100%;
top: 0;
left: 0;
background: $secondary-color;
2023-04-04 15:28:15 +02:00
opacity: .7;
2022-03-18 13:35:57 +01:00
}
}
.bg-primary {
background: $primary-color !important;
}
.bg-secondary {
background: $secondary-color !important;
}
.bg-gray {
background: $gray;
}
.text-primary {
color: $primary-color !important;
}
.text-color {
color: $text-color;
}
.text-light {
color: $text-color-light !important;
}
2022-12-31 18:12:51 +01:00
.text-lighten {
2022-03-18 13:35:57 +01:00
color: #d6d6e0 !important;
}
.text-muted {
color: #b5b5b7 !important;
}
.text-dark {
color: $text-color-dark !important;
}
.font-secondary {
font-family: $secondary-font;
}
2022-12-31 18:12:51 +01:00
.vertical-align-middle {
2022-03-18 13:35:57 +01:00
vertical-align: middle;
}
2023-02-08 15:49:01 +01:00
.icon-s {
font-size: 28px;
}
2022-12-31 18:12:51 +01:00
.icon-md {
2022-03-18 13:35:57 +01:00
font-size: 36px;
}
.page-title-section {
padding: 200px 0 80px;
}
2022-12-31 18:12:51 +01:00
.list-styled {
2022-03-18 13:35:57 +01:00
padding-left: 25px;
2022-12-31 18:12:51 +01:00
li {
2022-03-18 13:35:57 +01:00
position: relative;
margin-bottom: 15px;
2022-12-31 18:12:51 +01:00
&::before {
2022-03-18 13:35:57 +01:00
position: absolute;
content: "";
height: 10px;
width: 10px;
border-radius: 50%;
background: $primary-color;
left: -25px;
top: 5px;
}
}
}
2022-12-31 18:12:51 +01:00
textarea.form-control {
2022-03-18 13:35:57 +01:00
height: 200px;
padding: 20px;
}
.post-thumb-sm {
max-width: 100px;
}
/* pagination */
2023-04-23 14:14:40 +02:00
2022-03-18 13:35:57 +01:00
.pagination {
justify-content: center;
2022-12-31 18:12:51 +01:00
2022-03-18 13:35:57 +01:00
.page-item {
&.active {
.page-link {
background: $primary-color;
color: $white;
border-color: $primary-color;
}
}
.page-link {
color: $text-color;
}
}
}
.content {
* {
margin-bottom: 20px;
}
a {
text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-bottom: 10px;
}
ol {
padding-left: 20px;
2023-02-08 15:49:01 +01:00
list-style-type: decimal;
2022-03-18 13:35:57 +01:00
}
ul {
padding-left: 0;
li {
position: relative;
padding-left: 20px;
margin-bottom: 10px;
list-style-type: none;
&::before {
position: absolute;
2023-02-08 15:49:01 +01:00
content: "\f0B2A";
2023-04-23 14:14:40 +02:00
font-family: $icon-font;
2022-03-18 13:35:57 +01:00
font-size: 14px;
left: 0;
top: 1px;
color: #ffbc3b;
transition: .3s ease;
}
}
}
2023-02-09 19:58:09 +01:00
img {
max-width: 100%;
}
2022-03-18 13:35:57 +01:00
table {
text-align: left;
width: 100%;
max-width: 100%;
margin-bottom: 1rem;
border: 1px solid #dee2e6;
2023-04-23 14:14:40 +02:00
table-layout: fixed;
2022-03-18 13:35:57 +01:00
th,
td {
padding: .75rem;
vertical-align: top;
border: 1px solid #dee2e6
}
thead {
background: darken($color: $light, $amount: 2);
}
tbody {
background: $light;
td {
text-align: left !important;
}
}
}
blockquote {
2023-04-23 14:14:40 +02:00
border: 1px solid $border-color;
border-left: 5px solid $primary-color;
padding: 20px;
2023-04-23 14:14:40 +02:00
padding-left: 40px;
background-color: $light;
2023-04-23 14:14:40 +02:00
2022-03-18 13:35:57 +01:00
p {
color: $text-color;
font-style: italic !important;
}
* {
margin-bottom: 0 !important;
}
2022-03-18 13:35:57 +01:00
}
pre {
padding: 10px 20px;
background: $light;
}
}
summary {
2022-12-31 18:12:51 +01:00
font-weight: 900;
2023-04-23 14:14:40 +02:00
font-size: 22px;
2022-12-31 18:12:51 +01:00
color: $secondary-color;
&.hover {
color: $primary-color;
}
2022-03-18 13:35:57 +01:00
}
details[open] {
2022-12-31 18:12:51 +01:00
padding: .5em;
2023-04-23 14:14:40 +02:00
padding-bottom: 0;
2022-03-18 13:35:57 +01:00
}
details[open] summary {
2022-12-31 18:12:51 +01:00
border-bottom: 1px solid #aaa;
margin-bottom: .5em;
2022-03-18 13:35:57 +01:00
}
2022-10-17 22:29:47 +02:00
@media only screen and (min-width: 768px) {
2022-12-31 18:12:51 +01:00
.termin-tc {
width: 25%;
}
2022-10-17 22:29:47 +02:00
}
2022-12-31 18:12:51 +01:00
2023-04-23 14:14:40 +02:00
/* hero */
.hero-section {
padding: 250px 0 200px;
}
.hs-banner {
padding: 50px 0 200px;
}
.hero-slider {
.prevArrow,
.nextArrow {
position: absolute;
bottom: -123px;
z-index: 9;
padding: 15px;
color: rgba($color: $white, $alpha: .5);
border: 0;
font-size: 30px;
transition: all linear .2s;
background: transparent;
&:focus {
outline: 0;
}
&:hover {
color: $primary-color;
}
}
.prevArrow {
right: 60px;
}
.nextArrow {
right: 0;
}
.arrowIcon {
font-size: 40px;
}
.slick-dots {
position: absolute;
left: 0;
bottom: -100px;
padding-left: 0;
li {
display: inline-block;
margin: 0 6px;
&.slick-active {
button {
background: $primary-color;
}
}
button {
color: transparent;
padding: 0;
overflow: hidden;
height: 10px;
width: 10px;
background: rgba($color: $white, $alpha: .5);
border: 0;
outline: 0;
}
}
}
}
/* /hero */
2023-02-01 20:24:20 +01:00
.top-banner {
padding-top: 160px !important;
}
.pts-banner {
padding: 80px 0 80px;
2023-02-23 16:35:52 +01:00
}
.content-justify {
text-align: justify;
2023-02-28 09:33:57 +01:00
}
.fb-tile-color {
display: flex;
justify-content: center;
align-items: center;
height: 195px;
}
.fb-tile-icon {
font-size: 96px;
}
.wc-canvas {
width: 100%;
height: 600px;
2023-04-23 14:14:40 +02:00
}
.filter-controls{
li{
cursor: pointer;
transition: .1s ease;
&.active{
font-weight: 600;
color: $primary-color;
}
&:hover{
color: $primary-color;
}
}
}
.tag-list{
a{
display: block;
padding: 5px 10px;
background: $light;
color: $text-color;
&:hover{
background-color: $primary-color;
color: $white;
}
}
}