|
|
@ -47,158 +47,161 @@ fancybox{ |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.home-cover{ |
|
|
|
.cover-wrapper{ |
|
|
|
top: 0; |
|
|
|
.cover{ |
|
|
|
left: 0; |
|
|
|
top: 0; |
|
|
|
max-width: 100%; |
|
|
|
left: 0; |
|
|
|
height: ~"calc(100vh - @{gap} - @{height_navbar})"; |
|
|
|
max-width: 100%; |
|
|
|
display: flex; |
|
|
|
height: ~"calc(100vh - @{gap} - @{height_navbar})"; |
|
|
|
flex-wrap: nowrap; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
flex-wrap: nowrap; |
|
|
|
margin-bottom: 2*@gap; |
|
|
|
flex-direction: column; |
|
|
|
align-items: center; |
|
|
|
margin-bottom: 2*@gap; |
|
|
|
align-self: center; |
|
|
|
align-items: center; |
|
|
|
align-content: center; |
|
|
|
align-self: center; |
|
|
|
padding: @gap; |
|
|
|
align-content: center; |
|
|
|
.title, .logo{ |
|
|
|
padding: @gap; |
|
|
|
font-size: @fontsize_h1*3; |
|
|
|
|
|
|
|
line-height: @fontsize_h1*3.3; |
|
|
|
|
|
|
|
margin-top: ~"calc(28vh - 2*@{gap})"; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
font-weight: bold; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.logo{ |
|
|
|
|
|
|
|
max-height: 150px; |
|
|
|
|
|
|
|
max-width: ~"calc(100% - 4*@{gap})"; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@media(max-width: @on_phone){ |
|
|
|
|
|
|
|
.title, .logo { |
|
|
|
|
|
|
|
font-size: @fontsize_h1*2; |
|
|
|
|
|
|
|
line-height: @fontsize_h1*2.2; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&.half{ |
|
|
|
|
|
|
|
height: ~"calc(60vh - @{gap} - @{height_navbar})"; |
|
|
|
|
|
|
|
.title, .logo{ |
|
|
|
.title, .logo{ |
|
|
|
margin-top: ~"calc(20vh - 2*@{gap})"; |
|
|
|
font-size: @fontsize_h1*3; |
|
|
|
|
|
|
|
line-height: @fontsize_h1*3.3; |
|
|
|
|
|
|
|
margin-top: ~"calc(28vh - 2*@{gap})"; |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
font-weight: bold; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.logo{ |
|
|
|
|
|
|
|
max-height: 150px; |
|
|
|
.m_search{ |
|
|
|
max-width: ~"calc(100% - 4*@{gap})"; |
|
|
|
margin-top: 2vh; |
|
|
|
|
|
|
|
position: relative; |
|
|
|
|
|
|
|
height: @height_navbar - @gap; |
|
|
|
|
|
|
|
max-width: ~"calc(100% - 1*@{gap})"; |
|
|
|
|
|
|
|
width: 1.1*@width_sidebar; |
|
|
|
|
|
|
|
@media(max-width: @on_laptop){ |
|
|
|
|
|
|
|
width: 1.2*@width_sidebar_m; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
line-height: @height_navbar - @gap; |
|
|
|
@media(max-width: @on_phone){ |
|
|
|
vertical-align: middle; |
|
|
|
.title, .logo { |
|
|
|
.form { |
|
|
|
font-size: @fontsize_h1*2; |
|
|
|
position: relative; |
|
|
|
line-height: @fontsize_h1*2.2; |
|
|
|
display: block; |
|
|
|
} |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.icon,.input{ |
|
|
|
&.half{ |
|
|
|
.enable-trans(.1s); |
|
|
|
height: ~"calc(60vh - @{gap} - @{height_navbar})"; |
|
|
|
|
|
|
|
.title, .logo{ |
|
|
|
|
|
|
|
margin-top: ~"calc(20vh - 2*@{gap})"; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.icon { |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
.m_search{ |
|
|
|
display:block; |
|
|
|
margin-top: 2vh; |
|
|
|
|
|
|
|
position: relative; |
|
|
|
height: @height_navbar - @gap; |
|
|
|
height: @height_navbar - @gap; |
|
|
|
width: @height_navbar - @gap; |
|
|
|
max-width: ~"calc(100% - 1*@{gap})"; |
|
|
|
|
|
|
|
width: 1.1*@width_sidebar; |
|
|
|
|
|
|
|
@media(max-width: @on_laptop){ |
|
|
|
|
|
|
|
width: 1.2*@width_sidebar_m; |
|
|
|
|
|
|
|
} |
|
|
|
line-height: @height_navbar - @gap; |
|
|
|
line-height: @height_navbar - @gap; |
|
|
|
top: 0; |
|
|
|
vertical-align: middle; |
|
|
|
left: @gap/2; |
|
|
|
.form { |
|
|
|
font-size: @fontsize_base; |
|
|
|
position: relative; |
|
|
|
} |
|
|
|
display: block; |
|
|
|
.input { |
|
|
|
width: 100%; |
|
|
|
display:block; |
|
|
|
|
|
|
|
color: @color_text_main; |
|
|
|
|
|
|
|
background: lighten(@theme_cardbg, 10%); |
|
|
|
|
|
|
|
font-size: @fontsize_base; |
|
|
|
|
|
|
|
line-height: @fontsize_base*2.2; |
|
|
|
|
|
|
|
margin: 0; |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
padding-left: @fontsize_base + @gap; |
|
|
|
|
|
|
|
padding-right: @gap; |
|
|
|
|
|
|
|
padding-top: 2px; |
|
|
|
|
|
|
|
@media(max-width: @on_phone){ |
|
|
|
|
|
|
|
padding-left: @fontsize_base + @gap; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
font-family: @fontfamily_base; |
|
|
|
.icon,.input{ |
|
|
|
border: none; |
|
|
|
.enable-trans(.1s); |
|
|
|
box-sizing: border-box; |
|
|
|
|
|
|
|
-webkit-appearance: none; |
|
|
|
|
|
|
|
box-shadow: none; |
|
|
|
|
|
|
|
border: 1px dashed transparent; |
|
|
|
|
|
|
|
.enable-trans(); |
|
|
|
|
|
|
|
border-radius: @height_navbar; |
|
|
|
|
|
|
|
~ .icon{ |
|
|
|
|
|
|
|
line-height: @fontsize_base*2.2+4px; |
|
|
|
|
|
|
|
padding-left: 2px; |
|
|
|
|
|
|
|
padding-top: 2px; |
|
|
|
|
|
|
|
color: fade(@color_text_main, 80%); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.set-placeholder({color: fade(@color_text_main, 60%)}); |
|
|
|
.icon { |
|
|
|
&:hover{ |
|
|
|
position: absolute; |
|
|
|
border: 1px dashed @theme_main; |
|
|
|
display:block; |
|
|
|
|
|
|
|
height: @height_navbar - @gap; |
|
|
|
|
|
|
|
width: @height_navbar - @gap; |
|
|
|
|
|
|
|
line-height: @height_navbar - @gap; |
|
|
|
|
|
|
|
top: 0; |
|
|
|
|
|
|
|
left: @gap/2; |
|
|
|
|
|
|
|
font-size: @fontsize_base; |
|
|
|
} |
|
|
|
} |
|
|
|
&:focus { |
|
|
|
.input { |
|
|
|
|
|
|
|
display:block; |
|
|
|
|
|
|
|
color: @color_text_main; |
|
|
|
|
|
|
|
background: lighten(@theme_cardbg, 10%); |
|
|
|
|
|
|
|
font-size: @fontsize_base; |
|
|
|
|
|
|
|
line-height: @fontsize_base*2.2; |
|
|
|
|
|
|
|
margin: 0; |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
padding-left: @fontsize_base + @gap; |
|
|
|
|
|
|
|
padding-right: @gap; |
|
|
|
|
|
|
|
padding-top: 2px; |
|
|
|
|
|
|
|
@media(max-width: @on_phone){ |
|
|
|
|
|
|
|
padding-left: @fontsize_base + @gap; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
font-family: @fontfamily_base; |
|
|
|
|
|
|
|
border: none; |
|
|
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
|
|
-webkit-appearance: none; |
|
|
|
|
|
|
|
box-shadow: none; |
|
|
|
|
|
|
|
border: 1px dashed transparent; |
|
|
|
|
|
|
|
.enable-trans(); |
|
|
|
|
|
|
|
border-radius: @height_navbar; |
|
|
|
~ .icon{ |
|
|
|
~ .icon{ |
|
|
|
color: @theme_main; |
|
|
|
line-height: @fontsize_base*2.2+4px; |
|
|
|
|
|
|
|
padding-left: 2px; |
|
|
|
|
|
|
|
padding-top: 2px; |
|
|
|
|
|
|
|
color: fade(@color_text_main, 80%); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.set-placeholder({color: fade(@color_text_main, 60%)}); |
|
|
|
|
|
|
|
&:hover{ |
|
|
|
|
|
|
|
border: 1px dashed @theme_main; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&:focus { |
|
|
|
|
|
|
|
~ .icon{ |
|
|
|
|
|
|
|
color: @theme_main; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
color: @color_text_main; |
|
|
|
|
|
|
|
border: 1px solid @theme_main; |
|
|
|
} |
|
|
|
} |
|
|
|
color: @color_text_main; |
|
|
|
|
|
|
|
border: 1px solid @theme_main; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
&, a{ |
|
|
|
&, a{ |
|
|
|
color: @theme_main; |
|
|
|
color: @theme_main; |
|
|
|
} |
|
|
|
} |
|
|
|
.menu{ |
|
|
|
.menu{ |
|
|
|
margin-top: 4vh; |
|
|
|
margin-top: 4vh; |
|
|
|
ul { |
|
|
|
ul { |
|
|
|
display: flex; |
|
|
|
|
|
|
|
flex-wrap: wrap; |
|
|
|
|
|
|
|
align-items: baseline; |
|
|
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
|
|
li { |
|
|
|
|
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-wrap: wrap; |
|
|
|
flex-wrap: wrap; |
|
|
|
align-items: center; |
|
|
|
align-items: baseline; |
|
|
|
padding: 0; |
|
|
|
justify-content: center; |
|
|
|
height: auto; |
|
|
|
li { |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
flex-wrap: wrap; |
|
|
|
|
|
|
|
align-items: center; |
|
|
|
|
|
|
|
padding: 0; |
|
|
|
|
|
|
|
height: auto; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
ul > li > a{ |
|
|
|
ul > li > a{ |
|
|
|
font-size: @fontsize_small; |
|
|
|
font-size: @fontsize_small; |
|
|
|
padding: 2px; |
|
|
|
padding: 2px; |
|
|
|
margin: 0 4px; |
|
|
|
margin: 0 4px; |
|
|
|
.enable-trans(); |
|
|
|
.enable-trans(); |
|
|
|
color: fade(@color_text_main, 70%); |
|
|
|
color: fade(@color_text_main, 70%); |
|
|
|
border-bottom: 1px solid transparent; |
|
|
|
border-bottom: 1px solid transparent; |
|
|
|
&:hover, &.active{ |
|
|
|
&:hover, &.active{ |
|
|
|
color: @theme_main; |
|
|
|
color: @theme_main; |
|
|
|
border-bottom: 1px solid @theme_main; |
|
|
|
border-bottom: 1px solid @theme_main; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.switcher{ |
|
|
|
.switcher{ |
|
|
|
& > li{ |
|
|
|
& > li{ |
|
|
|
a{ |
|
|
|
a{ |
|
|
|
&:hover { |
|
|
|
&:hover { |
|
|
|
background: fade(@theme_main, 15%); |
|
|
|
background: fade(@theme_main, 15%); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.z-depth-nav { |
|
|
|
.z-depth-nav { |
|
|
|
box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.24), 0 3px 6px 0px rgba(0, 0, 0, 0.1); |
|
|
|
box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.24), 0 3px 6px 0px rgba(0, 0, 0, 0.1); |
|
|
|
} |
|
|
|
} |
|
|
|