ydu_depts_rwd/assets/stylesheets/template/template.scss

1082 lines
23 KiB
SCSS
Executable File

@charset "utf-8";
// Base
@import url("http://fonts.googleapis.com/css?family=Droid+Sans:400,700");
@import "bootstrap/mixins";
@import "bootstrap/variables";
@import "base/mixins";
@import "base/variables";
@import "base/unity";
// Layout
@import "layout/header";
@import "layout/slide";
@import "layout/content";
@import "layout/footer";
// Modules
@import "modules/menu";
@import "modules/ad_banner";
@import "modules/announcement";
@import "modules/faq";
@import "modules/web_resource";
@import "modules/gallery";
@import "modules/archives";
@import "modules/member";
@import "modules/personal_plugin";
// Widget
@import "widget/breadcrumb";
@import "widget/sitemenu";
html {
font-size: 100%;
}
body {
font-family: 'Droid Sans';
margin-top: 40px;
font-size: inherit;
}
/*! normalize.css v3.0.0 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 8/9.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9.
* Hide the `template` element in IE, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background: transparent;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari 5, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
@media (max-width: 767px){
font-size: 1.8em;
}
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9.
*/
img {
border: 0;
}
/**
* Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari 5.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8+, and Opera
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
.header:after,
.menu-container ul:after, .internal-page:after, .main:after,
.menu-container ul:after,
.internal-page:after,
.main:after {
content: " ";
display: table;
clear: both;
}
.header-title a {
font-family: ;
}
body {
margin-top: 41px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
font-size: 90%;
color: #333;
background: #fff;
line-height: 1.7;
@media (max-width: 767px){
font-size: 85%;
}
}
h1, h2, h3, h4, h5, h6, label, legend {
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
a:link, a:visited {
text-decoration: none;
color: #61c2cd;
}
a:hover, a:active {
color: #88d1d9;
}
.btn.btn-primary {
color: #fff;
}
.orbit-root * {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.orbit-root {
background: #ededed url(/assets/body-bg.jpg) left top repeat-x;
}
.wrap {
margin: auto;
position: relative;
}
.header {
width: 1024px;
margin: auto;
height: 58px;
background: #fff;
@media (min-width: 1440px){
width: 93.75%;
}
}
.header-title {
}
.header-container .header-title {
border: none;
}
.navbar-brand {
padding: 10px 0;
margin: 0;
}
.header-title .site-logo {
display: inline-block;
width: 40px;
}
.header-title a {
color: #000;
}
.top-menu {
margin: 10px 0 0 0;
padding: 0;
font-family: ;
float: right;
}
.top-menu a {
margin-right: 4px;
padding-right: 4px;
border-right: 1px solid #a3a3a3;
color: #464646;
font-size: 12px;
@media (max-width: 767px){
font-size: 11px;
}
}
.top-menu a:hover {
color: #61c2cd;
}
.top-menu a:last-child {
border: none;
}
.banner {
text-align: center;
margin: auto;
border-top: 4px solid #5cb5c0;
clear: both;
position: relative;
z-index: 10;
}
.banner_nav {
position: absolute;
right: 0;
top: 0;
}
.banner_nav li {
float: left;
color: #fff;
width: 10px;
height: 10px;
font-size: 30px;
@media (max-width: 767px){
font-size: 28px;
}
margin: 0 5px 0 0;
cursor: pointer;
}
.banner_nav .activeSlide {
color: #60bfca;
}
.banner__container {
width: 1024px;
margin: auto;
position: relative;
@media (min-width: 1440px){
width: 93.75%;
}
}
.menu {
position: absolute;
left: 0;
bottom: 0;
width: 100%;
z-index: 200;
}
.menu ul {
list-style: none;
padding: 5px 0 0 0;
margin: 0 20px;
}
.menu__level-1 > li {
padding: 5px 18px;
float: left;
-webkit-border-radius: 5px 5px 0 0;
border-radius: 5px 5px 0 0;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
padding: 8px 12px;
position: relative;
margin: 0 5px;
}
.menu__level-1 > li:after {
border-left: 1px solid #fff;
content: "";
position: absolute;
left: -5px;
top: 10px;
width: 1px;
height: 20px;
}
.menu__level-1 >:first-child:after {
border: none;
}
.menu__level-1 > li > a {
color: #fff;
float: left;
font-size: 16px;
font-family: ;
@media (max-width: 767px){
font-size: 15px;
}
}
.menu__level-1 > li:hover {
background: #fff;
}
.menu__level-1 > li:hover > a {
color: #61c2cd;
}
.menu__level-1 > li {
position: relative;
}
.menu__level-1 > li:hover .menu__level-2{
display: block;
}
.menu .menu__level-2 {
min-width: 120px;
display: none;
margin: 0;
padding: 8px 15px 15px 15px;
position: absolute;
left: 0;
top: 42px;
background: #fff;
box-shadow: 0 5px 5px rgba(0, 0 , 0, 0.5);
}
.menu__level-2 li {
margin-bottom: 4px;
position: relative;
}
.menu__level-2 li:hover .menu__level-3{
display: block;
}
.menu__level-2 a {
font-family: ;
white-space: nowrap;
font-size: 15px;
@media (max-width: 767px){
font-size: 14px;
}
}
.menu__level-3 {
display: none;
min-width: 120px;
margin: 0 !important;
padding: 8px 15px 15px 15px !important;
position: absolute;
left: 100%;
top: 0;
background: #fff;
box-shadow: 0 5px 5px rgba(0, 0 , 0, 0.5);
}
.menu-container {
background: rgba(0, 0, 0, 0.5);
width: 1024px;
margin: auto;
@media (min-width: 1440px){
width: 93.75%;
}
}
.internal-page__main-col {
}
.internal-page__sidebar {
}
footer {
border-top: 4px solid #5cb5c0;
background: #a9a9a9;
}
.footer-container {
width: 1024px;
height: 190px;
margin: auto;
padding: 10px 0 0 200px;
color: #fff;
@media (min-width: 1440px){
width: 93.75%;
}
}
.footer__address {
display: inline-block;
font-size: 12px;
@media (max-width: 767px){
font-size: 11px;
}
}
.footer__ruling-logo {
float: right;
padding-right: 15px;
}
.invisible_title {
display: none;
}
.default_widget_tb,
.o-archives table {
width: 100%;
table-layout: fixed;
border: none;
font-family: ;
}
.default_widget_tb tr:first-child th:first-child,
.o-archives tr:first-child th:first-child {
border-top-left-radius: 15px;
padding-left: 15px;
}
.default_widget_tb tr:last-child th:last-child,
.o-archives tr:last-child th:last-child {
border-top-right-radius: 15px;
}
.default_widget_tb th,
.o-archives th,
.o-archives th a {
color: #fff;
background: #61c2cd;
padding: 6px;
border-bottom: 3px solid #cccecf;
border: none;
text-align: left;
}
.default_widget_tb td,
.o-archives td {
border-bottom: 1px solid #61c2cd;
padding: 5px;
}
.category_list {
border: 1px solid #bebebe;
width: 180px;
border-radius: 16px;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
}
.category_list ul {
margin: 0;
padding: 16px 20px;
list-style: none;
}
.category_list li {
margin-bottom: 5px;
text-align: center;
}
.category_list li:last-child {
padding-bottom: 5px;
margin-bottom: 5px;
border-bottom: 1px solid #d8d8d8;
}
.category_list a {
padding: 2px;
display: block;
font-size: 15px;
font-family: ;
color: #aaaaaa;
border-radius: 20px;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
@media (max-width: 767px){
font-size: 14px;
}
}
.category_list a:hover {
color: #fff;
background: #d37700;
}
.banner_nav {
margin: 0;
}
.home-page__left-col {
float: left;
width: 200px;
@media (min-width: 1440px){
width: 20%;
}
}
.quick-link__list,
.contact-info__list {
padding-left: 20px;
}
.quick-link__heading,
.contact-info__heading,
.about__heading,
.gallery h2 {
line-height: 38px;
font-size: 18px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
padding-left: 25px;
border-right: 15px solid #70b8c2;
color: #fff;
font-family: ;
font-weight: normal;
background-color: #68d2df;
background: #68d2df;
background: -moz-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #68d2df), color-stop(100%, #5cb5c0));
background: -webkit-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: -o-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: -ms-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: linear-gradient(to bottom, #68d2df 1%, #5cb5c0 100%);
-pie-background: linear-gradient(to bottom, #68d2df 1%, #5cb5c0 100%);
behavior: url("/assets/ie_support/PIE2/PIE.htc");
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#68d2df', endColorstr='#5cb5c0',GradientType=0 );
@media (max-width: 767px){
font-size: 16px;
}
}
.quick-link__item {
list-style: none;
margin-bottom: 10px;
padding-left: 24px;
background: url(/assets/quick-link__item.png) left 5px no-repeat;
}
.quick-link .quick-link__link {
font-size: 18px;
font-family: ;
color: #7a7a7a;
@media (max-width: 767px){
font-size: 16px;
}
}
.quick-link .quick-link__link:hover {
color: #61c2cd;
}
.contact-info__item {
list-style: none;
margin-bottom: 10px;
padding-left: 24px;
background: url(/assets/contact-info__item.gif) left 5px no-repeat;
font-family: ;
border-bottom: 1px solid #dedede;
padding-bottom: 8px;
margin-bottom: 8px;
color: #7a7a7a;
}
.contact-info__item span {
display: block;
}
.home-page__main-col {
float: left;
width: 520px;
margin: 0 20px;
@media (min-width: 1440px){
width: 57%;
}
}
.default_widget_tb {
table-layout: auto;
}
.default_widget_tb th {
background: -moz-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #68d2df), color-stop(100%, #5cb5c0));
background: -webkit-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: -o-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: -ms-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: linear-gradient(to bottom, #68d2df 1%, #5cb5c0 100%);
-pie-background: linear-gradient(to bottom, #68d2df 1%, #5cb5c0 100%);
behavior: url("/assets/ie_support/PIE2/PIE.htc");
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#68d2df', endColorstr='#5cb5c0',GradientType=0 );
white-space: nowrap;
min-width: 100px;
}
.default_widget_tb tr:first-child th:first-child,
.o-archives tr:first-child th:first-child {
border-top-left-radius: 5px;
padding-left: 5px;
}
.default_widget_tb tr:last-child th:last-child,
.o-archives tr:last-child th:last-child {
border-top-right-radius: 5px;
}
.default_widget_tb td {
border-bottom: 1px solid #d6d6d6;
}
.default_widget_tb td a {
color: #6b6b6b;
}
.default_widget_tb td a:hover {
color: #61c2cd;
}
.home-page__right-col {
float: right;
width: 200px;
@media (min-width: 1440px){
width: 20%;
}
}
.about__heading,
.gallery h2 {
border-radius: 0;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.about p {
font-family: ;
color: #6b6b6b;
font-size: 12px;
@media (max-width: 767px){
font-size: 11px;
}
}
.gallery ul {
margin: 0;
padding: 0;
list-style: none;
}
.widget_gallery {
text-align: center;
padding: 0 20px;
}
.widget_gallery img {
float: left;
border: 2px solid #d4d4d4;
padding: 2px;
background: #fff;
width: 70px;
height: 70px;
margin: 0 5px 5px 0;
}
.main {
width: 1024px;
min-height: 500px;
margin: auto;
padding: 45px 0;
background-color: #ffffff;
@media (min-width: 1440px){
width: 93.75%;
}
@media (min-width: 768px)and(max-width: 823px){
margin-top: 30px;
}
}
.main h2 {
margin-top: 0;
}
.main .more {
padding: 4px 10px;
font-size: 11px;
font-family: ;
border-radius: 30px;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
margin: 8px 0;
float: right;
background: -moz-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #68d2df), color-stop(100%, #5cb5c0));
background: -webkit-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: -o-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: -ms-linear-gradient(top, #68d2df 1%, #5cb5c0 100%);
background: linear-gradient(to bottom, #68d2df 1%, #5cb5c0 100%);
-pie-background: linear-gradient(to bottom, #68d2df 1%, #5cb5c0 100%);
behavior: url("/assets/ie_support/PIE2/PIE.htc");
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#68d2df', endColorstr='#5cb5c0',GradientType=0 );
@media (max-width: 767px){
font-size: 10px;
}
}
.main .more a {
color: #fff;
}
.internal-page {
.main {
padding: 45px 36px;
}
}
//RWD
.banner__container,.menu-container,.main,.header,.footer-container{
@media (max-width: 1023px){
width: 100%;
}
}
.home-page__left-col,.home-page__right-col{
@media (max-width: 1023px){
width: 25%;
}
@media (max-width: 767px){
width: 100%;
}
}
.home-page__main-col{
@media (max-width: 1023px){
width: 50%;
margin: 0;
padding: 0 10px;
}
@media (max-width: 767px){
width: 100%;
margin: 0;
padding: 0;
}
}
.menu{
@media (max-width: 767px){
position: unset;
height: unset;
display: table-cell;
}
}
.footer-container{
@media (max-width: 1023px){
padding-left: 150px ;
}
@media (max-width: 767px){
padding-left: 10px ;
}
}
.menu .menu__level-2 {
z-index: 1;
}
.page_menu.menu__level-1{
display: flex;
flex-wrap: wrap;
justify-content: space-around;
width: 100%;
@media (max-width: 767px){
justify-content: unset;
& > li {
width: 50%;
margin: 0;
}
}
}
.menu__level-1>:first-child:after {
@media (max-width: 767px){
border-left: 1px solid #fff;
}
}
.widget-breadcrumb.widget1{
@media (max-width: 767px){
text-align: left;
margin-top: 0;
}
}
.widget-breadcrumb{
text-align: left;
}
.navbar-header h1.default_site_h1, .navbar-header h2.default_site_h1{
color: black;
}
#accesskey_sitemenu{
display: none;
}
#orbit-bar .orbit-bar-title {
@media (max-width: 767px){
text-align: left!important;
}
}