333 lines
6.0 KiB
SCSS
333 lines
6.0 KiB
SCSS
|
@charset "utf-8";
|
||
|
|
||
|
@import "../initial";
|
||
|
.header-nav {
|
||
|
ul{
|
||
|
padding: 0;
|
||
|
}
|
||
|
@media(max-width: 769px){
|
||
|
ul{
|
||
|
display: flex!important;
|
||
|
flex-wrap: wrap;
|
||
|
padding: 0;
|
||
|
li{
|
||
|
padding: 0.5em!important;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
.accessibility_mode a:focus{
|
||
|
outline: 0.1em solid !important;
|
||
|
outline: 0.3125em auto -webkit-focus-ring-color !important;
|
||
|
}
|
||
|
.layout-header {
|
||
|
position: relative;
|
||
|
margin-bottom: 0;
|
||
|
border: none;
|
||
|
border-radius: 0;
|
||
|
z-index:1000;
|
||
|
background-color: #fff;
|
||
|
-webkit-box-shadow: 0 1px 5px 1px rgba(26, 26, 26, .3);
|
||
|
box-shadow: 0 1px 5px 1px rgba(26, 26, 26, .3);
|
||
|
li{
|
||
|
list-style: none;
|
||
|
}
|
||
|
a[accesskey] {
|
||
|
position: relative!important;
|
||
|
}
|
||
|
|
||
|
.container {
|
||
|
@extend .response-container;
|
||
|
}
|
||
|
.header-banner { overflow: hidden; }
|
||
|
.header-nav {
|
||
|
padding:1em 0 0 0;
|
||
|
color: $theme-color-main;
|
||
|
font-family: $main-font;
|
||
|
text-transform:uppercase;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: flex-end;
|
||
|
@media(max-width: 820px){
|
||
|
justify-content: space-between;
|
||
|
padding:0;
|
||
|
}
|
||
|
ul{
|
||
|
li{
|
||
|
float: left;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
& > * {
|
||
|
display: inline-block;
|
||
|
padding: 0;
|
||
|
margin-top: 0;
|
||
|
margin-bottom: 0;
|
||
|
color: $theme-color-main;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: $theme-color-main;
|
||
|
text-decoration: none;
|
||
|
padding: 15px;
|
||
|
}
|
||
|
|
||
|
@media (min-width:1025px) {
|
||
|
margin-bottom: -4em;
|
||
|
z-index: 105;
|
||
|
position: relative;
|
||
|
}
|
||
|
}
|
||
|
.navbar-header h1.default_site_h1, .navbar-header h2.default_site_h1{
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.navbar-header {
|
||
|
z-index: 10;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
@media (min-width: $screen-sm) {
|
||
|
|
||
|
}
|
||
|
// @media (max-width: $screen-sm) {
|
||
|
// width: 100%;
|
||
|
// display: flex;
|
||
|
// flex-flow: row-reverse;
|
||
|
// }
|
||
|
.navbar-brand {
|
||
|
margin: 0.5em 0;
|
||
|
line-height: 2.125em;
|
||
|
color: $theme-color-main;
|
||
|
font-family: $main-font;
|
||
|
align-items: center;
|
||
|
display: flex;
|
||
|
|
||
|
@media (min-width: $screen-sm) {
|
||
|
margin:0;
|
||
|
line-height: 3.75em;
|
||
|
font-size: 1.5em;
|
||
|
h1{
|
||
|
margin-top: 1em;
|
||
|
font-size: 1.2em;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
color: #155E75;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
}
|
||
|
@media (max-width: 820px) {
|
||
|
padding: 0;
|
||
|
h1{
|
||
|
margin-top: 1em;
|
||
|
font-size: 1em;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
color: #155E75;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (max-width: 480px) {
|
||
|
h1{
|
||
|
margin: 0;
|
||
|
}
|
||
|
width: 80%;
|
||
|
height: 3.5em;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
}
|
||
|
|
||
|
.site-logo {
|
||
|
margin-right: 0.5em;
|
||
|
float: left;
|
||
|
height: 60px;
|
||
|
padding-right: 0.5em;
|
||
|
@media(min-width: 1024px){
|
||
|
height: 60px;
|
||
|
}
|
||
|
@media(max-width: $screen-xs){
|
||
|
height: 50px !important;
|
||
|
}
|
||
|
@media(max-width: 820px)and(min-width:$screen-xs ){
|
||
|
height: 60px!important;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.navbar-toggle {
|
||
|
padding: 0.875em 0.625em;
|
||
|
margin-top: 1em;
|
||
|
// border-radius: 0.125em;
|
||
|
// border-width: 0.125em;
|
||
|
// border-color: lighten($theme-color-main, 30%);
|
||
|
|
||
|
.icon-bar {
|
||
|
background-color: lighten($theme-color-main, 30%);
|
||
|
}
|
||
|
|
||
|
&.collapsed {
|
||
|
.icon-bar-top {
|
||
|
top: 0;
|
||
|
-webkit-transform: rotate(0);
|
||
|
transform: rotate(0);
|
||
|
}
|
||
|
|
||
|
.icon-bar-middle {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
|
||
|
.icon-bar-bottom {
|
||
|
top: 0;
|
||
|
-webkit-transform: rotate(0);
|
||
|
transform: rotate(0);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// icon bar animation
|
||
|
.icon-bar {
|
||
|
transition: .2s all;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.icon-bar-top {
|
||
|
top: 0.375em;
|
||
|
-webkit-transform: rotate(45deg);
|
||
|
transform: rotate(45deg);
|
||
|
}
|
||
|
|
||
|
.icon-bar-middle {
|
||
|
opacity: 0;
|
||
|
}
|
||
|
|
||
|
.icon-bar-bottom {
|
||
|
top: -0.375em;
|
||
|
-webkit-transform: rotate(-45deg);
|
||
|
transform: rotate(-45deg);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media (width: 769px) {
|
||
|
.navbar-toggle{
|
||
|
display: block!important;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
.outdropdowns{
|
||
|
.dropdowns{
|
||
|
position: static!important;
|
||
|
}
|
||
|
}
|
||
|
.nav-menu{
|
||
|
display:flex!important;
|
||
|
float: right;
|
||
|
li{
|
||
|
padding: 1em 0;
|
||
|
&:hover{
|
||
|
background-color: #C40516;
|
||
|
a{
|
||
|
color: #FFFFFF;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
.navone ::before{
|
||
|
content: '';
|
||
|
position: absolute;
|
||
|
background: url("/assets/account-icon.png") no-repeat;
|
||
|
width: 23px;
|
||
|
height: 23px;
|
||
|
left: -10px;
|
||
|
top: 10px;
|
||
|
display: inline-block;
|
||
|
left: 5px;
|
||
|
}
|
||
|
.header-buttom{
|
||
|
&:hover{
|
||
|
.headbutton{
|
||
|
background-color: #750016!important;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
.search-boxken{
|
||
|
position: relative;
|
||
|
}
|
||
|
.search-boxken {
|
||
|
::placeholder { /* CSS 3 標準 */
|
||
|
opacity: 0;
|
||
|
}
|
||
|
|
||
|
::-webkit-input-placeholder { /* Chrome, Safari */
|
||
|
opacity: 0;
|
||
|
}
|
||
|
|
||
|
:-ms-input-placeholder { /* IE 10+ */
|
||
|
opacity: 0;
|
||
|
}
|
||
|
|
||
|
::-moz-placeholder { /* Firefox 19+ */
|
||
|
opacity: 0;
|
||
|
}
|
||
|
input {
|
||
|
position: relative;
|
||
|
background: none;
|
||
|
z-index: 2;
|
||
|
width: 33px;
|
||
|
height: 33px;
|
||
|
transition: all .25s ease-in .25s;
|
||
|
color: transparent;
|
||
|
font-size: .75rem;
|
||
|
line-height: 25px;
|
||
|
border: 2px solid #33333326;
|
||
|
// box-shadow: #0000000f 0 0px 1px 1px;
|
||
|
border-radius: 3em;
|
||
|
&:hover {
|
||
|
cursor: pointer;
|
||
|
&:focus {
|
||
|
cursor: text;
|
||
|
}
|
||
|
+ span {
|
||
|
background: rgba(255,255,255,0.2);
|
||
|
}
|
||
|
}
|
||
|
&:focus {
|
||
|
width: 200px;
|
||
|
padding: 0 10px;
|
||
|
outline: none;
|
||
|
color: $theme-color-second;
|
||
|
background:none;
|
||
|
@media(max-width: $screen-xs){
|
||
|
width: 100px;
|
||
|
}
|
||
|
+ span {
|
||
|
width: 200px;
|
||
|
&::before {
|
||
|
width:2px;
|
||
|
opacity:1;
|
||
|
transition: all .25s ease-in;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
.kenspan{
|
||
|
.fa-search{
|
||
|
color: $theme-color-second;
|
||
|
}
|
||
|
z-index: 1;
|
||
|
position: absolute;
|
||
|
font-size: 1.2em;
|
||
|
top: 6px;
|
||
|
right: 4px;
|
||
|
width: 25px;
|
||
|
height: 25px;
|
||
|
transition: all .25s ease-in .25s;
|
||
|
border-radius: 25px;
|
||
|
@media(max-width:820px){
|
||
|
right: 2px;
|
||
|
}
|
||
|
}
|
||
|
}
|