asiaH6/assets/stylesheets/template/base/_global.scss

116 lines
1.7 KiB
SCSS

@charset "utf-8";
@import "../initial";
@import "variables";
html {
font-size: 100%;
}
body {
font-family: $sub-font;
font-size: inherit;
margin-top: 40px;
&.fixedMenu{
.navbar-brand{
display: none;
}
header{
position: fixed;
width: 100%;
margin-top: 0;
min-height: auto;
.header{
display: none;
}
}
.slide{
padding: 67px 0 20px 0;
}
}
}
a:link,
a:visited {
color: $brand-primary;
}
a:hover,
a:focus {
color: lighten($brand-primary, 10%);
text-decoration: none;
}
img {
max-width: 100%;
height: auto;
}
.admin-edit {
clear: both;
}
// override bootsrap settings
th,
td {
padding: 8px .5rem;
}
.borderless > tbody > tr > td,
.borderless > tbody > tr > th,
.borderless > tfoot > tr > td,
.borderless > tfoot > tr > th,
.borderless > thead > tr > td,
.borderless > thead > tr > th {
border: none !important;
}
a.btn-primary {
padding: 0 10px;
color: $theme-color-main;
font-size: 0.8125rem;
background-color: transparent;
border: none;
&:hover{
color: darken($theme-color-main, 10%);
text-decoration: underline;
background-color: transparent;
border: none;
}
&:active,&:visited{
color: darken($theme-color-main, 10%)!important;
background-color: transparent!important;
box-shadow: none;
}
}
// Page heading
.page-module-title {
@extend .unity-title;
margin-bottom: 18px;
}
.view-count {
font-size: 0.75rem;
}
.view_count {
> i {
font-size: 0.75rem;
&:before {
margin-right: 8px;
}
}
}
// Take care of exceeding content
body[data-module="page_content"],
body[data-module="announcement"] {
.layout-content {
overflow-x: auto;
}
}