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

172 lines
3.6 KiB
SCSS

@charset "utf-8";
@import "../initial";
@import "variables";
#orbit-bar .orbit-bar-title a{
color: #333!important;
}
#orbit-bar .orbit-bar-inner > label:focus, #orbit-bar .orbit-bar-inner > label.focus{
.orbit-bar-search-sign-language{
display: block
}
}
.orbit-bar-search-sign-language{
@media(max-width:767px){
position: absolute !important;
width: 100%;
margin: 0 !important;
right: 0 !important;
top: 2.5em !important;
}
}
body #orbit-bar .orbit-bar-search-sign-language #search input[type="search"]{
&:hover{
outline: 3px solid $theme-color-second;
background-color: #e6f0ff;
border-radius: 4px;
}
&:focus{
outline: 3px solid $theme-color-second;
background-color: #e6f0ff;
border-radius: 4px;
}
}
#orbit-bar .orbit-bar-inner > ul > li > ul li{
list-style: none!important;
}
li{
list-style: disc;
}
html {
font-size: 100%;
}
body {
font-family: $sub-font;
font-size: inherit;
margin-top: 2.5em;
overflow: hidden scroll;
letter-spacing: 0.5px;
background-color:#e4e4e4;
}
a:link,
a:visited {
color: $theme-color-main;
}
a:hover,
a:focus {
color:$theme-color-second;
text-decoration: none;
}
img {
/* max-width: 100%;
height: auto;*/
width: 100%;
height: 100%;
object-fit: cover;
}
.admin-edit {
clear: both;
}
// override bootsrap settings
th,
td {
padding: 0.5em .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;
}
// .widget-link__more{
// background-color: none;
// margin-bottom: 1em;
// font-size: 0.8125rem;
// -webkit-transition: all 200ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
// -moz-transition: all 200ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
// -ms-transition: all 200ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
// -o-transition: all 200ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
// transition: all 200ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
// background: none;
// border: none;
// color: $theme-color-main!important;
// box-shadow: $theme-color-main 0 0px 0px 2px inset;
//
// &:hover {
// color: #fff!important;
// box-shadow:$theme-color-main 0 0px 0px 40px inset;
// }
// }
a.btn-primary {
border-radius: 2em;
padding: 1em 1.8em;
margin-bottom: 1em;
font-size: 0.8125rem;
-webkit-transition: all 200ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
-moz-transition: all 200ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
-ms-transition: all 200ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
-o-transition: all 200ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
transition: all 200ms cubic-bezier(0.39, 0.5, 0.15, 1.36);
background: none;
border: none;
color: $theme-color-second;
box-shadow: $theme-color-second 0 0px 0px 2px inset;
&:hover {
color: #fff;
box-shadow:$theme-color-second 0 0px 0px 40px inset;
}
}
.theadsearch2{
.btn-primary{
background-color:$theme-color-second;
border-color:$theme-color-second;
}
}
// Page heading
.page-module-title {
@extend .unity-title;
margin-bottom: 1.125em;
}
.view-count {
font-size: 0.75rem;
}
.view_count {
> i {
font-size: 0.75rem;
&:before {
margin-right: 0.5em;
}
}
}
img{
width: 100%;
height: 100%;
object-fit: cover;
}
// Take care of exceeding content
// body[data-module="page_content"],
// body[data-module="announcement"] {
// .layout-content {
// overflow-x: auto;
// }
// }
*[data-pp]>.editmode-ps>a, .admin-subpart-area .content>.editmode-ps>a{
position: !important;
}