EH003/assets/stylesheets/template/template.scss

146 lines
2.8 KiB
SCSS
Executable File

@import url("//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";
.title {
margin: 0.5em 0;
line-height: 1.5;
font-family: $main-font;
font-size: 1.25rem;
color: $theme-white;
background: url(/assets/title-BG.png) no-repeat scroll 0 50% rgba(0, 0, 0, 0);
padding: 0.8em 1em;
background-size: contain;
width: 80%;
@media (max-width: 1024px) {
font-size: 1rem;
}
}
.dropdown-toggle:focus {
// outline: 2px solid #43B5FC;
outline: transparent;
}
// container setting
.response-container {
position: relative;
@media (min-width: $screen-sm) {
width: 100%;
padding: 0;
}
@media (min-width: $screen-md) {
width: 90%;
}
@media (min-width: $screen-lg) {
width: 1200px;
}
}
.background {
width: 100vw;
position: fixed !important;
left: 0;
top: 30px;
z-index: -1;
}
.container>.navbar-collapse {
@media (max-width: 767px) {
margin-left: 0;
margin-right: 0;
}
}
.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;
}
}
}
//index 頁的 annc widget style
.table-title {
color: rgb(111, 92, 70);
font-size: 1.05rem;
font-weight: bold;
line-height: 40px;
font-family: $main-font;
padding: 0 0.5em;
margin: 0;
}
// all table th style
.table-th {
border-top: 2px solid #6f5c46 !important;
border-bottom: 1px solid #6f5c46;
color: #6f5c46;
padding: 5px;
text-align: left;
white-space: nowrap;
font-weight: bold;
}
.row { margin: 0; }
.page-unity-title {
margin: 0.5em 0 1em 0;
line-height: 1.5;
font-family: $main-font;
font-size: 1.3rem;
color: $theme-white;
background: url(/assets/bg-h2-page.png) no-repeat scroll 0 0 rgba(0, 0, 0, 0);
padding: 0.5em 1em;
background-size: 100%;
@media (max-width: 1024px) { font-size: 1rem; padding: 0.6em 1em; }
@media (max-width: 991px) { padding: 0.8em 1em; background: url(/assets/bg-h2.png) no-repeat scroll 0 0 rgba(0, 0, 0, 0);}
@media (max-width: 480px) { padding: 0.5em 1em; background-size: 100%; }
}
.noscroll { overflow: hidden; position: fixed; }