at the end of the day, it was inevitable
This commit is contained in:
@@ -0,0 +1,124 @@
|
||||
// Page title
|
||||
|
||||
.app-page-title {
|
||||
padding: $grid-gutter-width;
|
||||
margin: (-$grid-gutter-width) (-$grid-gutter-width) ($grid-gutter-width);
|
||||
position: relative;
|
||||
|
||||
.page-title-wrapper {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.page-title-heading,
|
||||
.page-title-subheading {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.page-title-heading {
|
||||
font-size: $h5-font-size;
|
||||
font-weight: 400;
|
||||
display: flex;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.page-title-subheading {
|
||||
padding: 3px 0 0;
|
||||
font-size: $font-size-base;
|
||||
opacity: .6;
|
||||
|
||||
.breadcrumb {
|
||||
padding: 0;
|
||||
margin: 3px 0 0;
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.page-title-actions {
|
||||
margin-inline-start: auto;
|
||||
|
||||
.breadcrumb {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.page-title-icon {
|
||||
font-size: 2rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
text-align: center;
|
||||
padding: ($layout-spacer-x / 1.8);
|
||||
margin: 0 ($grid-gutter-width) 0 0;
|
||||
background: $white;
|
||||
box-shadow: $box-shadow-default;
|
||||
@include border-radius($border-radius);
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
|
||||
i {
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
&.rounded-circle {
|
||||
margin: 0 ($grid-gutter-width / 1.5) 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
& + .RRT__container {
|
||||
margin-top: -($grid-gutter-width / 1.3);
|
||||
}
|
||||
|
||||
& + .rc-tabs {
|
||||
// to fix width issue in firefox
|
||||
max-width: calc(100vw - 322px);
|
||||
margin: (-($grid-gutter-width)) (-($grid-gutter-width / 2)) (($grid-gutter-width * 1.3));
|
||||
}
|
||||
@media only screen and (max-width: 812px) and (min-width: 360px) {
|
||||
& + .rc-tabs {
|
||||
// to fix width issue in firefox
|
||||
max-width: calc(100vw - 0px);
|
||||
margin: (-($grid-gutter-width)) (-($grid-gutter-width / 2)) (($grid-gutter-width * 1.3));
|
||||
}
|
||||
}
|
||||
|
||||
&.app-page-title-simple {
|
||||
margin: 0;
|
||||
background: none !important;
|
||||
padding-inline-start: 0;
|
||||
padding-inline-end: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.page-title-icon-rounded {
|
||||
.page-title-icon {
|
||||
@include border-radius(50px);
|
||||
}
|
||||
}
|
||||
|
||||
.closed-sidebar .rc-tabs{
|
||||
max-width: calc(100vw - 140px);
|
||||
}
|
||||
@media only screen and (max-width: 812px) and (min-width: 360px) {
|
||||
.closed-sidebar .rc-tabs{
|
||||
max-width: calc(100vw - 0px);
|
||||
}
|
||||
}
|
||||
|
||||
// Body Tabs
|
||||
|
||||
.body-tabs {
|
||||
&.body-tabs-layout {
|
||||
margin-inline-start: -($grid-gutter-width);
|
||||
margin-inline-end: -($grid-gutter-width);
|
||||
padding: 0 $grid-gutter-width;
|
||||
border-top: 0;
|
||||
border-bottom: $gray-300 solid 1px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,163 @@
|
||||
// Search Box
|
||||
|
||||
$search-box-size: 42px;
|
||||
|
||||
.search-wrapper {
|
||||
position: relative;
|
||||
margin-inline-end: ($nav-link-padding-x / 1.5);
|
||||
|
||||
.input-holder {
|
||||
height: $search-box-size;
|
||||
width: $search-box-size;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
transition: all 0.3s ease-in-out;
|
||||
|
||||
.search-input {
|
||||
width: 100%;
|
||||
padding: 0 70px 0 20px;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: transparent;
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
outline: none;
|
||||
transform: translate(0, 60px);
|
||||
transition: all .3s cubic-bezier(0.000, 0.105, 0.035, 1.570);
|
||||
transition-delay: 0.3s;
|
||||
font-size: $font-size-base;
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
width: $search-box-size;
|
||||
height: $search-box-size;
|
||||
border: none;
|
||||
padding: 0;
|
||||
outline: none;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
float: right;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease-in-out;
|
||||
background: rgba(0,0,0,.06);
|
||||
@include border-radius(30px);
|
||||
|
||||
span {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
position: relative;
|
||||
transform: rotate(45deg);
|
||||
transition: all .4s cubic-bezier(0.650, -0.600, 0.240, 1.650);
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
}
|
||||
|
||||
&::before {
|
||||
width: 4px;
|
||||
height: 11px;
|
||||
left: 9px;
|
||||
top: 13px;
|
||||
border-radius: 2px;
|
||||
background: $primary;
|
||||
}
|
||||
|
||||
&::after {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
left: 4px;
|
||||
top: 0;
|
||||
border-radius: 16px;
|
||||
border: 2px solid $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.close {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-top: -10px;
|
||||
cursor: pointer;
|
||||
opacity: 0 !important;
|
||||
transform: rotate(-180deg);
|
||||
transition: all .2s cubic-bezier(0.285, -0.450, 0.935, 0.110);
|
||||
transition-delay: 0.1s;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
background: $primary;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
&::before {
|
||||
width: 2px;
|
||||
height: 20px;
|
||||
left: 9px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
&::after {
|
||||
width: 20px;
|
||||
height: 2px;
|
||||
left: 0;
|
||||
top: 9px;
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
width: 330px;
|
||||
|
||||
.input-holder {
|
||||
width: 290px;
|
||||
border-radius: 50px;
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
transition: all .5s cubic-bezier(0.000, 0.105, 0.035, 1.570);
|
||||
|
||||
.search-input {
|
||||
opacity: 1;
|
||||
transform: translate(0, 11px);
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
width: $search-box-size;
|
||||
height: $search-box-size;
|
||||
margin: 0;
|
||||
border-radius: 30px;
|
||||
|
||||
span {
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.close {
|
||||
left: 300px;
|
||||
opacity: .6 !important;
|
||||
transform: rotate(45deg);
|
||||
transition: all .6s cubic-bezier(0.000, 0.105, 0.035, 1.570);
|
||||
transition-delay: 0.5s;
|
||||
|
||||
&:hover {
|
||||
opacity: 1 !important;
|
||||
}
|
||||
}
|
||||
|
||||
& + .header-megamenu {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user