asiaH2/assets/stylesheets/template/template.scss

118 lines
2.0 KiB
SCSS
Raw Normal View History

2020-04-09 10:46:42 +00:00
@import url("http://fonts.googleapis.com/css?family=Droid+Sans:400,700");
// Base
@import "base/orbitbar-override";
@import "base/sitemap-override";
@import "base/global";
@import "base/unity";
@import "base/utilities";
@import "base/pagination";
@import "base/accesskey";
@import "base/go_back_top";
@import "base/ckeditor-reset";
// Layout
@import "layout/*";
// Modules
@import "modules/*";
// Widget
@import "widget/*";
//RWD
@import "RWD";
.dropdown-toggle:focus {
// outline: 2px solid #43B5FC;
outline: transparent;
}
// container setting
.response-container {
position: relative;
2021-04-19 02:04:27 +00:00
@media (min-width: $screen-xs) {
width: 100%;
padding: 0;
}
2020-04-09 10:46:42 +00:00
@media (min-width: $screen-sm) {
width: 100%;
}
@media (min-width: $screen-md) {
width: 60.625em;
}
@media (min-width: $screen-lg) {
width: 75em;
}
}
.background {
width: 100%;
position: fixed !important;
left: 0;
top: 30px;
z-index: -1;
}
.extra { clear: both; }
//公告頁籤
ul.tab_nav {
list-style-type: none;
padding: 0;
display: flex;
flex-wrap: wrap;
font-family: $main-font;
li {
padding: 0.5em 1em;
background: $theme-color-green;
margin: 0.2em;
cursor: pointer;
transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
-o-transition: all 0.5s;
&.active {
background: #19524b;
color: #fff;
}
}
}
.noscroll { overflow: hidden; position: fixed; }
//覆蓋bootstrap 設定
.row { margin: 0; }
.container>.navbar-collapse {
@media (max-width: 767px) {
margin-left: 0;
margin-right: 0;
}
}
//共用樣式
.title {
@extend .unity-title;
}
.superBtn {
a.btn-primary {
color: $theme-white;
border-color: #990000;
background-color: #990000;
font-size: 0.8125rem;
padding: 0.3em 0.5em;
&:hover {
background-color: darken(#990000, 10%);
border-color: darken(#990000, 10%);
}
}
}