Files
inwestprofil.pl/layout/style-scss/style.scss
Jacek Pyziak dde8b85885 Add new templates for user authentication and management
- Created `unlogged-layout.php` and `unlogged.php` for the login page layout.
- Implemented `main-view.php` for system update management with progress tracking.
- Added `user-2fa.php` for two-factor authentication verification.
- Developed `user-edit.php` for editing user details and privileges.
- Introduced `users-list.php` for displaying and managing user accounts.
- Added `.htaccess` configuration for URL rewriting and security settings.
2026-01-13 23:16:24 +01:00

1555 lines
25 KiB
SCSS

// out: ../style-css/style.css, compress: true, sourceMap: true
@import '_mixins';
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
$cGrayLight: #f0f0f0;
$cBlack: #000;
$cBlue: #90d4f0;
$cBlueDark: #22a9e1;
body {
font-family: 'Open Sans', sans-serif;
font-size: 15px;
&.noscroll {
position: fixed;
overflow: hidden;
}
}
.scontainer-content {
h2 {
font-size: 18px;
font-weight: 600;
}
}
.box-border {
padding: 25px;
border: 1px solid $cGrayLight;
border-radius: 3px;
@include respond-below(sm) {
padding: 15px;
.col-md-3 {
-ms-flex: 0 0 25% !important;
flex: 0 0 25% !important;
max-width: 25% !important;
}
.col-md-9 {
-ms-flex: 0 0 75% !important;
flex: 0 0 75% !important;
max-width: 75% !important;
}
}
}
.fac {
display: flex;
flex-wrap: wrap;
align-items: center;
align-self: center;
.row {
width: 100%;
padding: 10px 0;
p {
margin-bottom: 0;
}
}
}
.box-top {
padding-top: 75px;
}
.box {
padding: 75px 0;
@include respond-below(sm) {
padding: 50px 0;
}
@include respond-below(sm) {
padding: 25px 0;
}
.box-title {
text-align: center;
font-size: 22px;
position: relative;
margin: 0 auto 75px;
display: flex;
justify-content: center;
@include respond-below(sm) {
margin-bottom: 25px;
}
.title {
padding-bottom: 15px;
border-bottom: 2px solid $cGrayLight;
position: relative;
font-size: 32px;
@include respond-below(xs) {
font-size: 22px;
}
&::after {
content: '';
display: block;
width: 60%;
bottom: -2px;
position: absolute;
left: 0;
border-bottom: 2px solid $cBlueDark;
}
}
}
}
.top {
background: $cGrayLight;
color: $cBlack;
padding: 10px 0;
position: relative;
#scontainer-1 {
img {
margin-right: 5px;
}
}
#scontainer-2 {
display: flex;
justify-content: flex-end;
a {
color: $cBlack;
font-size: 14px;
&:hover {
text-decoration: none;
}
}
}
p {
margin: 0;
}
.language {
position: absolute;
top: 0;
right: 5px;
bottom: 0;
z-index: 999;
@include respond-below(sm) {
top: 65px;
}
#languages {
height: 100%;
.container {
height: 100%;
.row {
height: 100%;
}
}
ul {
display: flex;
align-items: center;
margin: 0;
padding: 0;
list-style: none;
height: 100%;
li {
margin: 0 5px;
&:first-child {
margin-left: 0;
}
&:last-child {
margin-right: 0;
}
&.active {
display: none;
}
a {
img {
height: 16px;
}
}
}
}
}
}
}
.header {
padding: 25px 0;
.col-lg-3 {
width: 100% !important;
flex: 0 0 100%;
max-width: 100%;
}
.logo {
display: block;
width: 100%;
max-width: 300px;
margin: 0 auto 25px;
img {
width: 100%;
max-width: 387px;
}
}
#main-menu-btn {
height: 50px;
width: 50px;
position: fixed;
bottom: 10px;
right: 10px;
color: #fff;
background: $cBlack;
display: none;
z-index: 9999;
line-height: 50px;
cursor: pointer;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
align-items: center;
justify-content: center;
font-size: 30px;
@include respond-below(sm) {
display: flex;
}
}
.main-menu-container {
display: flex;
align-items: center;
justify-content: center;
width: 100% !important;
flex: 0 0 100%;
max-width: 100%;
@include respond-below(lg) {
justify-content: center;
}
}
#main-menu {
@include respond-below(sm) {
display: none;
&.visible {
display: block;
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: #fff;
z-index: 20;
overflow-y: scroll;
#menu-container-1 {
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
>ul {
display: block;
width: 100%;
text-align: center;
padding: 20px;
border: 1px solid $cGrayLight;
border-radius: 3px;
height: 100%;
li {
ul {
position: static;
background: #fff;
}
}
}
}
}
}
&.sticky {
@include respond-above(sm) {
position: fixed;
top: 0;
left: 0;
width: 100%;
background: #fff;
z-index: 50;
#menu-container-1>ul {
justify-content: center;
height: 75px;
align-items: center;
}
}
}
ul {
display: flex;
margin: 0;
padding: 0;
justify-content: flex-end;
list-style-type: none;
@include respond-below(sm) {
width: 100%;
}
&.level-0 {
flex-wrap: wrap;
justify-content: center;
}
li {
&#link-1 {
display: none;
}
&#link-73 {
@include respond-above(sm) {
position: absolute;
top: -70px;
right: 0;
}
}
&.li-level-1 {
a {
width: calc(100% - 18px);
@include respond-below(sm) {
width: calc(100% - 32px);
color: $cBlack;
text-align: left;
border: 0 solid #000;
}
}
i {
color: #fff;
margin-right: 10px;
@include respond-below(sm) {
color: $cBlack;
margin-right: 0;
}
}
}
position: relative;
display: flex;
align-items: center;
@include respond-below(sm) {
justify-content: space-between;
flex-wrap: wrap;
}
i {
font-size: 13px;
margin-right: 5px;
display: flex;
height: 32px;
width: 32px;
align-items: center;
justify-content: center;
@include respond-above(sm) {
width: 13px;
}
@include respond-below(sm) {
margin-right: 0;
}
}
a {
display: block;
padding: 5px 10px;
color: $cBlack;
@include transition;
font-size: 15px;
white-space: nowrap;
@include respond-between(md, lg) {
padding: 5px 6px;
}
&:hover {
text-decoration: none;
color: $cBlue;
}
}
@include respond-above(sm) {
&:hover {
>ul {
display: block;
}
}
}
@include respond-below(sm) {
&.active {
>ul {
display: block;
}
}
}
>ul {
display: none;
position: absolute;
top: calc(100% - 1px);
left: 0;
background: rgba(0, 0, 0, 0.8);
z-index: 50;
li {
a {
border-bottom: 1px solid #262626;
color: #fff;
padding: 10px 25px;
font-size: 14px;
}
@include respond-above(sm) {
&:hover {
>ul {
display: block;
}
}
}
ul {
position: absolute;
background: rgba(0, 0, 0, 0.85);
left: 99%;
top: 0;
display: none;
@include respond-below(sm) {
padding-left: 25px;
}
li {
a {
padding-left: 20px;
}
}
ul {
background: rgba(0, 0, 0, 0.9);
}
}
}
}
}
}
}
}
.carousel-banner {
position: relative;
.wosp {
position: absolute;
bottom: 25px;
left: 25px;
z-index: 99;
img {
max-width: 150px;
@include respond-below(sm) {
max-width: 100px;
}
}
}
.slider {
.item {
position: relative;
.content {
position: absolute;
background: rgba(0, 0, 0, 0.75);
bottom: 25px;
padding: 50px;
max-width: 1140px;
left: 50%;
transform: translateX(-50%);
h1 {
color: #fff;
font-size: 36px;
font-weight: 500;
margin: 0 0 15px;
}
h2 {
color: #fff;
font-size: 20px;
font-weight: 300;
margin: 0 0 15px;
}
.text {
color: #fff;
font-size: 14px;
font-weight: 300;
a {
color: $cBlue;
}
}
}
img {
width: 100%;
// height: 750px;
object-fit: cover;
@include respond-between(md, lg) {
// height: 600px;
}
@include respond-below(md) {
// height: 500px;
}
}
}
}
}
#scontainer-4,
#scontainer-14 {
.col-md-6 {
position: relative;
overflow: hidden;
height: 550px;
margin-bottom: 30px;
p:first-child {
display: block;
height: 550px;
overflow: hidden;
}
img {
@include transition;
height: 100%;
width: 100%;
object-fit: cover;
}
&:hover {
img {
transform: scale(1.1);
}
}
h2 {
position: absolute;
bottom: 85px;
font-weight: 600;
font-size: 52px;
width: calc(100% - 30px);
color: #fff;
text-transform: uppercase;
a {
color: #fff;
}
}
p {
margin: 0;
padding: 0;
}
.btn {
position: absolute;
bottom: 35px;
background: $cBlueDark;
color: #fff;
border: 0;
@include transition;
transform: translateX(-50%);
padding: 10px 25px;
border-radius: 0;
&:hover {
background: $cBlack;
}
}
}
}
#scontainer-16,
#scontainer-18,
#scontainer-20,
#scontainer-22,
#scontainer-23,
#scontainer-25,
#scontainer-26,
#scontainer-27,
#scontainer-29,
#scontainer-31 {
.col-md-6 {
position: relative;
overflow: hidden;
height: 550px;
margin-bottom: 30px;
padding-bottom: 100px;
p:first-child {
display: block;
height: 550px;
overflow: hidden;
}
img {
@include transition;
height: 100%;
width: 100%;
object-fit: contain;
}
&:hover {
img {
transform: scale(1.1);
}
}
h2 {
position: absolute;
bottom: 45px;
font-weight: 600;
font-size: 26px;
width: calc(100% - 30px);
color: #fff;
text-transform: uppercase;
a {
color: $cBlueDark;
}
}
p {
margin: 0;
padding: 0;
}
.btn {
position: absolute;
bottom: 5px;
background: $cBlueDark;
color: #fff;
border: 0;
@include transition;
transform: translateX(-50%);
padding: 5px 25px;
border-radius: 0;
font-size: 15px;
&:hover {
background: $cBlack;
}
}
}
}
.box-guarantee {
color: #ffffff;
background-image: url('/upload/filemanager/layout/box-guarantee-bg.jpg');
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: 50% 50%;
position: relative;
&::after {
content: '';
display: block;
background: rgba(0, 0, 0, 0.5);
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
#scontainer-5 {
position: relative;
z-index: 10;
font-size: 38px;
font-weight: 300;
@include respond-below(xs) {
font-size: 26px;
}
}
}
.box-directories {
#scontainer-6 {
.col-md-3 {
position: relative;
padding-left: 0;
padding-right: 0;
margin-left: 15px;
margin-right: 15px;
margin-bottom: 25px;
@include respond-below(xs) {
max-width: 100%;
margin-bottom: 15px;
}
h3 {
@include respond-below(xs) {
font-size: 22px;
}
}
p {
margin: 0;
padding: 0;
}
.text {
position: absolute;
top: 50%;
width: 100%;
padding: 0 15px;
transform: translateY(-50%);
@include transition;
opacity: 0;
* {
margin: 0;
padding: 0;
}
p {
@include respond-below(xs) {
display: none;
}
}
a {
color: #fff;
&:hover {
text-decoration: none;
color: $cBlack;
}
}
}
img {
display: block;
max-width: 100% !important;
position: relative;
z-index: 1;
}
&:hover {
&::after {
height: 100%;
z-index: 2;
}
.text {
z-index: 10;
opacity: 1;
}
}
&::after {
background: $cBlueDark;
content: '';
display: block;
position: absolute;
top: 0;
left: 0;
position: absolute;
z-index: 0;
width: 100%;
height: 0;
@include transition;
}
}
}
}
.box-contact,
.box-main {
#scontainer-8 {
@extend .box-top;
}
a {
color: $cBlueDark;
@include transition;
&:hover {
text-decoration: none;
color: $cBlack;
}
}
.nav-tabs {
margin-bottom: 25px;
li {
a {
padding: 10px 20px;
border: 1px solid $cGrayLight;
margin-bottom: -1px;
display: block;
&.active {
background: $cBlueDark;
color: #fff;
}
}
}
}
}
.box-career {
background-image: url('/upload/filemanager/layout/box-career-bg.jpg');
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: 0 0;
box-shadow: 0 0 0 0 #ffffff;
#scontainer-9 {
font-size: 38px;
font-weight: 300;
color: #fff;
@include respond-below(xs) {
font-size: 22px;
}
.btn {
background: $cBlueDark;
border: 0;
border-radius: 0;
@include transition;
padding: 10px 25px;
min-width: 200px;
&:hover {
background: $cBlue;
}
}
}
}
.box-news {
background: $cGrayLight;
.content {
display: flex;
justify-content: center;
flex-wrap: wrap;
.article {
width: calc(100% - 30px);
padding: 0;
margin: 15px;
overflow: hidden;
height: 100%;
background: #fff;
@include respond-above(sm) {
width: calc(100% / 3 - 30px);
}
.img {
width: 100%;
height: 250px;
display: block;
img {
height: 100%;
width: 100%;
object-fit: cover;
}
}
.article-content {
padding: 20px;
.title {
font-weight: 700;
font-size: 16px;
color: $cBlack;
margin-bottom: 15px;
display: block;
&:hover {
color: $cBlueDark;
text-decoration: none;
}
}
.date-add {
color: $cBlack;
font-size: 13px;
font-weight: 600;
text-align: left;
margin-bottom: 15px;
}
.entry {
color: $cBlack;
font-size: 14px;
}
}
}
}
.btn-more {
background: $cBlueDark;
color: #fff;
margin: 25px auto 50px;
font-size: 14px;
display: block;
max-width: 280px;
padding: 10px 25px;
border-radius: 0;
&:hover {
background: $cBlue;
}
}
}
.box-producer {
background: $cGrayLight;
.title {
text-align: center;
h1 {
display: inline-block;
position: relative;
font-size: 2rem;
line-height: 48px;
font-weight: 400;
padding-bottom: 15px;
margin-bottom: 55px;
border-bottom: 2px solid #dfdfdf;
&::before {
content: '';
display: block;
width: 60%;
bottom: -2px;
position: absolute;
left: 0;
border-bottom: 2px solid $cBlueDark;
}
}
}
p {
text-align: justify;
}
}
.brand {
overflow: hidden;
.item {
display: flex;
justify-content: center;
align-items: center;
width: 150px;
height: 100px;
img {
width: 100%;
height: 100%;
object-fit: contain;
}
}
.slick-slide,
.slick-track {
display: flex !important;
justify-content: center;
align-items: center;
}
.slick-prev,
.slick-next {
top: 50%;
display: none;
&:before {
color: $cBlueDark;
@include respond-below(xs) {
opacity: 0;
&:hover {
opacity: 1;
}
}
}
}
.slick-next {
right: 0;
}
.slick-prev {
left: 0;
z-index: 2;
}
}
.box-footer {
background: #363839;
text-align: center;
font-size: 15px;
color: #fff;
padding-top: 50px;
padding-bottom: 20px;
a {
@include transition;
color: #fff;
font-weight: 600;
&:hover {
text-decoration: none;
color: $cBlue;
}
}
.row {
&-top {
margin-bottom: 50px;
// p {
// text-align: start;
// }
ul {
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
row-gap: 10px;
column-gap: 25px;
// display: grid;
// grid-template-columns: 1fr 1fr 1fr;
list-style: none;
padding: 0;
margin: 0;
}
}
}
}
#cookie-information {
padding: 10px;
text-align: center;
font-size: 12px;
background: $cBlack;
color: #fff;
a {
color: $cBlue;
}
}
.box-main {
border-top: 1px solid $cGrayLight;
}
#scontainer-10 {
background: $cGrayLight;
padding: 50px 25px 25px;
}
#scontainer-11 {
@extend .box-top;
}
.box-articles {
background: $cGrayLight;
.box-title {
.title {
border-bottom: 2px solid $cBlack;
}
}
}
.article-entry {
background: #fff;
margin-bottom: 30px;
border-radius: 3px;
overflow: hidden;
height: calc(100% - 20px);
.img {
img {
width: 100%;
height: 250px;
object-fit: cover;
}
}
.article-content {
padding: 20px;
.date-add {
color: $cBlack;
font-size: 13px;
font-weight: 600;
text-align: left;
margin-bottom: 15px;
}
.article-title {
a {
font-weight: 700;
font-size: 16px;
color: $cBlack;
margin-bottom: 15px;
display: block;
@include transition;
&:hover {
color: $cBlueDark;
text-decoration: none;
}
}
}
.entry {
p {
color: $cBlack;
font-size: 13px;
margin-bottom: 0;
}
}
}
}
.pager {
display: flex;
justify-content: flex-start;
align-items: center;
padding-inline-start: 0;
list-style-type: none;
margin-top: 50px;
li {
color: $cBlack;
font-size: 13px;
margin-bottom: 0;
margin-right: 10px;
a {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
background: $cGrayLight;
img {
width: 15px;
height: 15px;
}
&.inactive {
opacity: 0.3;
pointer-events: none;
}
}
}
}
.box-content {
background: #fff;
padding: 20px 18px;
&:first-child {
margin-bottom: 30px;
}
h4 {
font-weight: 600;
font-size: 15px;
color: $cBlack;
margin-bottom: 15px;
display: block;
}
ul {
list-style-type: none;
padding-inline-start: 0;
li {
margin-bottom: 10px;
a {
color: $cBlueDark;
@include transition;
&:hover {
color: $cBlack;
text-decoration: none;
}
}
}
}
}
.article {
background: #fff;
padding: 25px;
.table-of-contents {
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
// border-radius: 5px;
padding: 20px;
margin-bottom: 20px;
.title {
font-size: 20px;
margin-bottom: 10px;
}
ol {
margin-bottom: 0;
}
}
.main-image {
margin-bottom: 25px;
img {
max-width: 100%;
}
}
.article-title {
@extend .box-title;
justify-content: flex-start !important;
margin-bottom: 25px !important;
}
.date-add {
color: $cBlack;
font-size: 13px;
font-weight: 600;
margin-bottom: 15px;
display: flex;
align-items: center;
justify-content: flex-start;
img {
margin-right: 5px;
}
}
.text {
h2 {
font-size: 18px;
font-weight: 600;
}
h3 {
font-size: 16px;
font-weight: 600;
}
}
.gallery {
display: flex;
flex-wrap: wrap;
.image {
width: calc(100% / 4 - 10px);
margin: 10px 10px 0 0;
display: block;
max-height: 175px;
border: 1px solid $cGrayLight;
@include respond-below(sm) {
width: calc(100% / 3 - 10px);
}
img {
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
}
}
}
.social-icons {
margin-bottom: 20px;
}
.btn-back {
background: $cBlueDark;
color: #fff;
margin: 25px 0 0;
font-size: 14px;
display: block;
max-width: 200px;
padding: 10px 25px;
border-radius: 0;
&:hover {
background: $cBlue;
}
}
}
#scontainer-12 {
@extend .box-top;
h3 {
font-size: 16px;
font-weight: 600;
}
}
.article-18,
.article-27 {
.col-md-6,
.col-md-4 {
position: relative;
overflow: hidden;
&::after {
content: '';
display: block;
background: rgba(0, 0, 0, 0.33);
width: calc(100% - 30px);
height: calc(100% - 15px);
position: absolute;
top: 0;
left: 15px;
}
p:first-child {
width: 100%;
height: 500px;
display: block;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
h2 {
position: absolute;
padding: 0;
margin: 0;
bottom: 25px;
left: 25px;
z-index: 10;
a {
color: #fff;
font-weight: 300;
font-size: 30px;
}
}
}
}
.article-miniature {
position: relative;
margin-bottom: 30px;
&::after {
content: '';
display: block;
background: rgba(0, 0, 0, 0.33);
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.img {
display: block;
height: 300px;
img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
h2 {
position: absolute;
padding: 0;
margin: 0;
bottom: 25px;
left: 25px;
z-index: 10;
a {
color: #fff;
font-weight: 300;
font-size: 30px;
@include transition;
&:hover {
text-decoration: none;
color: $cBlueDark;
}
}
}
}
#contact-form {
font-size: 13px;
.form-control {
border-radius: 0;
font-size: 13px;
}
.captcha span {
font-size: 13px !important;
}
.btn {
background: $cBlueDark;
color: #fff;
text-transform: uppercase;
border: 0;
border-radius: 0;
font-size: 13px;
width: 125px;
text-align: center;
padding: 10px 15px;
}
}
.alert-success {
margin: 0 0 50px;
border: 0;
border-radius: 0;
background: $cBlueDark;
color: #fff;
}
.article-71,
.article-72,
.article-73,
.article-74,
.article-75,
.article-76,
.article-77,
.article-78,
.article-94,
.article-95,
.article-96,
.article-97,
.article-98,
.article-99 {
.gallery {
.image {
img {
object-fit: cover;
}
}
}
}
#link-68>a {
pointer-events: none;
}
#link-73 {
img {
max-width: 130px;
}
}
#scontainer-53 {
max-height: calc(100vh - 214px);
background: #000;
.scontainer-content {
height: 100%;
p {
height: 100%;
text-align: center;
}
video {
width: 100%;
height: 100%;
max-height: calc(100vh - 214px);
margin-bottom: -6px;
}
}
}
body .article-122 {
.gallery {
a.image {
img {
object-fit: cover;
}
}
}
}