2020-03-30 17:57:00 +02:00

170 lines
3.0 KiB
Plaintext

@import '~themes/index.less';
.__secondary_colider{
position: relative;
float: right;
width: @__secondary_colider_width;
height: 100vh;
background-color: @__Global_layout_backgroud;
}
.secondary_wrapper {
width: @secondary_wrapper_hidden_width;
height: 100vh;
z-index: 50;
position: absolute;
right: 0;
top: 0;
overflow-x: hidden;
display: flex;
&.active {
width: @secondary_wrapper_showFull_width;
>.secondary_container_1 {
padding: @secondary_container_1_padding;
}
//@media (min-width: 1000px) {
// width: 95.4%
//}
}
&.half {
width: @secondary_wrapper_showHalf_width;
}
&.unique {
width: @secondary_wrapper_showFull_width;
>.secondary_layout_bg {
background-color: #ffffff;
padding-right: 90px;
}
}
transition: width @__Global_SwapAnimDuration ease-in-out;
}
.secondary_userholder {
right: 20px;
top: 25px;
display: flex;
position: absolute;
z-index: 51;
img {
border-radius: 15px;
width: 40px;
transition: all 150ms linear;
box-shadow: 0px 0px 0 0px rgba(255, 255, 255, 0);
}
img:hover {
box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.205);
transition: all 150ms linear;
}
transition: all 150ms linear;
.notif_box {
margin: 0 15px 0 5px;
width: 40px;
height: 40px;
border-radius: 15px;
background-color: #78CFED;
h1{
line-height: 40px;
font-size: 16px;
color: #ffffff;
text-align: center;
margin: 0;
}
}
}
.secondary_layout_bg {
width: 100%;
height: 100%;
right: 0;
z-index: 50;
position: absolute;
display: flex;
overflow: hidden;
transition: all @__Global_SwapAnimDuration ease-in-out;
background-color: @secondary_container_bg_background;
border-radius: @__Global_layout_border-rd;
}
.secondary_container_1 {
width: 100%;
height: 100%;
position: relative;
padding: 30px 30px 30px 35px;
color: @secondary_container_1_color;
:global {
.ant-btn {
color: @secondary_container_1_btn_color;
background-color: @secondary_container_1_btn_backgroud;
border-color: transparent;
border-radius: 12px;
}
.ant-btn:hover {
box-shadow: @secondary_container_1_btn_shadow;
transition: all @__Global_Components_transitions_dur linear;
}
}
}
.secondary_container_2 {
position: relative;
height: 100vh;
width: 0;
right: -500px;
padding: @secondaty_container_2_padding;
opacity: 0;
color: @secondary_container_2_color!important;
background-color: @secondary_container_2_backgroud;
border-radius: 32px 0 0 32px;
&.active {
width: 400px;
opacity: 1;
right: 0;
@media (min-width: 1000px) {
width: 600px
}
}
transition: all @__Global_SwapAnimDuration ease-in-out;
}
.renderSearch_wrapper {
height: 87vh;
overflow: hidden;
margin: 20px 0 0 0;
font-family: @__Global_general_font_family;
h2 {
color: #ffffff;
}
}
.secondary_main{
margin-top: 45px;
width: 100%;
}