2023-01-23 11:03:31 +01:00

356 lines
7.4 KiB
SCSS

/** Page Header
*************************************************** **/
section {
&.page-header {
position: relative;
padding: 50px 0 50px 0;
border-top: 0;
margin-top: 0;
margin-bottom: 0 !important;
background-color: rgba(0, 0, 0, 0.05);
border-bottom: rgba(0, 0, 0, 0.05) 1px solid;
-webkit-transition: all 0s;
-moz-transition: all 0s;
-o-transition: all 0s;
transition: all 0s;
&.shadow-after-1:before {
content: ' ';
position: absolute;
left: 0;
right: 0;
width: 100%;
height: 60px;
bottom: -60px;
background-image: url('../images/_smarty/misc/shadow1.png');
background-size: 100% 100%;
}
&.shadow-after-2:before {
content: ' ';
position: absolute;
left: 0;
right: 0;
width: 100%;
height: 60px;
bottom: -60px;
background-image: url('../images/_smarty/misc/shadow2.png');
background-size: 100% 100%;
}
&.shadow-after-3:before {
content: ' ';
position: absolute;
left: 0;
right: 0;
width: 100%;
height: 60px;
bottom: -60px;
background-image: url('../images/_smarty/misc/shadow3.png');
background-size: 100% 100%;
}
}
&.dark.page-header {
color: #fff;
background-color: #151515 !important;
}
&.dark-2.page-header {
color: #fff;
background-color: #292e32 !important;
}
&.light.page-header {
color: #151515;
background-color: transparent;
border-top: rgba(0, 0, 0, 0.05) 1px solid;
}
&.page-header {
&.page-header-xs {
padding: 20px 0 20px 0;
}
&.page-header-md {
padding: 50px 0 50px 0;
}
&.page-header-lg {
padding: 80px 0 80px 0;
}
&.page-header-xlg {
padding: 130px 0 130px 0;
}
&.page-header-2xlg {
padding: 250px 0 250px 0;
}
}
}
@media only screen and (max-width: 1024px) {
section.page-header {
background-position: center !important;
background-attachment: inherit;
-webkit-background-size: 100% 100% !important;
-moz-background-size: 100% 100% !important;
-o-background-size: 100% 100% !important;
background-size: 100% 100% !important;
-webkit-box-sizing: inherit !important;
-moz-box-sizing: inherit !important;
box-sizing: inherit !important;
}
}
/* shadows */
@media only screen and (max-width: 482px) {
section.page-header.page-header-2xlg {
padding: 130px 0 130px 0;
}
}
/* page header tabs */
.page-header {
&.page-header-xs ul.page-header-tabs {
display: block;
text-align: left;
margin-bottom: -21px;
margin-top: 40px;
}
&.page-header-md ul.page-header-tabs {
display: block;
text-align: left;
margin-bottom: -51px;
margin-top: 70px;
}
&.page-header-lg ul.page-header-tabs {
display: block;
text-align: left;
margin-bottom: -81px;
margin-top: 80px;
}
&.page-header-2xlg ul.page-header-tabs {
display: block;
text-align: left;
margin-bottom: -250px;
margin-top: 144px;
}
ul.page-header-tabs > li {
background-color: rgba(0, 0, 0, 0.02);
padding: 0;
-webkit-border-top-left-radius: 3px;
-webkit-border-top-right-radius: 3px;
-moz-border-top-left-radius: 3px;
-moz-border-top-right-radius: 3px;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
> a {
display: inline-block;
padding: 6px 20px;
color: #111;
text-decoration: none;
}
}
&.page-header-xs ul.page-header-tabs li a > span.badge {
padding: 1px 5px;
}
&.dark ul.page-header-tabs > li {
background-color: rgba(255, 255, 255, 0.1);
-webkit-transition: all .300s;
-moz-transition: all .300s;
-o-transition: all .300s;
transition: all .300s;
&:hover {
background-color: rgba(255, 255, 255, 0.2);
}
> a {
color: #fff;
}
}
ul.page-header-tabs {
> li:hover {
background-color: rgba(0, 0, 0, 0.03);
}
&.dark > li:hover {
background-color: rgba(0, 0, 0, 0.1);
}
> li.active > a {
color: #000;
}
}
&.dark ul.page-header-tabs > li.active:hover {
font-weight: bold;
background-color: #fff;
}
ul.page-header-tabs {
> li.active {
font-weight: bold;
background-color: #fff;
}
&.dark > li.active {
> a {
color: #fff;
}
background-color: #212121;
}
}
}
@media only screen and (max-width: 767px) {
.page-header {
ul.page-header-tabs {
background-color: rgba(0, 0, 0, 0.03);
padding: 6px;
margin-left: -15px;
margin-right: -15px;
}
&.page-header-2xlg ul.page-header-tabs {
margin-top: 143px;
margin-bottom: -135px;
}
ul.page-header-tabs {
&.dark {
background-color: rgba(0, 0, 0, 0.1);
> li {
border: 0;
}
}
> li {
display: block;
float: none !important;
text-align: center;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
> a {
display: block;
float: none !important;
text-align: center;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
}
}
}
}
}
section {
&.page-header {
> .container {
min-height: 42px;
}
h1 {
margin: 0;
padding: 0;
font-size: 26px;
font-weight: 300;
}
.breadcrumb {
position: absolute;
font-size: 12px;
top: 50%;
left: 0;
margin-top: -20px;
background: transparent;
margin-bottom: 0;
z-index: 10;
> li + li:before {
content: "";
}
a {
color: #333;
}
}
&.parallax .breadcrumb {
li.active, a {
color: #fff;
}
}
.breadcrumb {
right: 0;
left: auto;
&.breadcrumb-inverse {
left: 0;
right: auto;
}
&.breadcrumb-center {
left: auto;
right: auto;
position: relative;
margin-top: 20px;
}
}
}
&.dark.page-header .breadcrumb a {
color: #ccc;
}
&.page-header {
ul.page-options {
position: absolute;
font-size: 24px;
top: 50%;
left: 0;
margin-top: -15px;
background: transparent;
margin-bottom: 0;
z-index: 10;
a {
color: #333;
text-decoration: none;
}
}
&.parallax ul.page-options {
li.active, a {
color: #fff;
}
}
ul.page-options {
right: 0;
left: auto;
&.page-options-inverse {
left: 0;
right: auto;
}
&.page-options-center {
left: auto;
right: auto;
position: relative;
margin-top: 20px;
}
}
}
&.dark.page-header ul.page-options a {
color: #ccc;
}
}
@media only screen and (max-width: 767px) {
section.page-header {
text-align: center;
.breadcrumb {
position: relative;
display: block;
margin: 0;
}
.container {
&.text-right, &.text-left {
text-align: center;
}
}
}
}
/* options - like buttons */
@media only screen and (max-width: 767px) {
section.page-header ul.page-options {
position: relative;
display: block;
margin: 0;
margin-top: 20px;
font-size: 28px;
}
}
.breadcrumb>li+li:before {
padding: 0 7px 0 5px;
}
.breadcrumb > li {
display: inline-block;
}