nfu-nfupme/assets/stylesheets/template/layout/addcss.scss

641 lines
10 KiB
SCSS

@charset "utf-8";
@import "../initial";
.p-0 {
padding: 0 !important;
}
.svg-inline--fa.fa-w-16 {
width: 1em;
}
.svg-inline--fa.fa-w-14 {
width: .875em;
}
.aboubtn_title_curr {
background: darkblue;
color: white!important;
border: 1px solid darkblue;
border-radius: .25rem;
padding: 2px 6px;
font-size: 20px;
}
.aboubtn_title {
background: lightblue;
color: black;
border: 1px solid lightblue;
border-radius: .25rem;
padding: 2px 6px;
font-size: 20px;
}
/* 麵包屑*/
.shortcut {
margin-bottom: 10px;
font-size: 1em;
display: flex;
align-items: center;
flex-wrap: wrap;
}
/* 側選單 */
.LeftMenu {
margin-bottom: 20px;
background-color: #f7f1e3;
padding-bottom: 10px;
border-radius: 4px;
}
.LeftMenu-title{
font-size:1.2em;
font-weight: 700;
color:white;
background-color: #1b3a61;
text-align: center;
margin: 0px;
padding: 15px 0px 15px 0px;
border-radius: 4px 4px 0px 0px;
}
.LeftMenu .navbar-nav > .nav-item {
text-align: center;
border-bottom: 1px solid #eae4d4;
}
.LeftMenu .navbar-nav>.nav-item >.nav-link{
color: black;
}
.LeftMenu .navbar-nav>.nav-item >.nav-link:hover{
color: white;
background-color: #6c757d;
}
/* Card */
.card-eduqr {
padding: 0.6rem;
background: #25882E;
color: white;
}
.card-body {
padding: 0.7rem;
color: black;
}
.card_tit1{
font-size: 1rem;
overflow: hidden;
/* text-overflow: ellipsis; */
/* display: -webkit-box; */
-webkit-line-clamp: initial;
-webkit-box-orient: vertical;
/* height: 25px; */
}
.card_tit2{
font-size: 1rem;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
height: auto;
}
@media (min-width: 576px) {
.card_tit2 {
height: 50px;
}
}
/* 醫師介紹 */
.doctor-name {
font-size: 1.4rem;
font-weight: 700;
background: rgba(13, 102, 132, 1);
color: #fff;
padding: 5px 20px;
font-family: Jost;
}
.article {
font-size: 1.4rem;
font-weight: 700;
color: #d42562;
border-bottom: 2px solid #d42562;
}
.doctor_tt {
font-size: 1.25rem;
font-weight: 700;
padding: 5px 0px 10px 0px;
color: #d42562;
}
.doctor_dd {
border-bottom: 1px dotted #c7c7c7;
padding-bottom: 25px;
font-size: 1.1em;
}
.bg-doctor{
background-color:#f5f5f5;
padding: 15px 0px;
}
.doctor-img-top {
width: 100%;
object-fit: cover;
}
@media (max-width: 575px) {
.doctor-img-top {
height: 55vw;
}
}
@media (min-width: 576px) {
.doctor-img-top {
height: 55vw;
}
}
@media (min-width: 768px) {
.doctor-img-top {
height: 35vw;
}
}
@media (min-width: 992px) {
.doctor-img-top {
height: 15vw;
}
}
/* 活動花絮 */
.photo-img-top {
width: 100%;
object-fit: cover;
}
@media (min-width: 576px) {
.photo-img-top {
height: 19vw;
}
}
@media (min-width: 768px) {
.photo-img-top {
height: 16vw;
}
}
@media (min-width: 992px) {
.photo-img-top {
height: 11vw;
}
}
/* 各單位介紹 */
.titleImg {
padding: 8px;
font-weight: 600;
font-size: 1.5em;
border-radius: 10px 10px 0px 0px;
color: white;
}
.dep_name{
margin: 5px;
padding: 15px;
text-align: center;
border-radius: 10px;
background-repeat:no-repeat;
width: 13.5%;
}
.dept_name {
background-color: #f3dac9;
padding: 5px;
text-align: center;
border-radius: 10px;
}
.dept-border{
background-color: white;
padding: 20px;
margin-bottom: 20px;
border-radius: 0px 0px 10px 10px;
border-width: 1px;
border-style: solid;
border-color: #cdcdd0;
display: flex;
align-items: center;
flex-wrap: wrap;
flex-direction: row;
@media(max-width:$screen-xs){
justify-content: center;
}
}
.dept-border a{
display: block;
}
/*相關連結*/
.tourl_list {
margin-top: 5px;
margin-bottom: 10px;
/* border-bottom: 1px dotted #666; */
}
/*commont*/
.borderstyle{
border-color: #fff;
border-style: solid;
border-width: 3px;
border-radius: 10px;
font-size: 1.2em;
word-break: break-all;
}
.borderstyle-bg{
background-color: #F2FBFF;
}
.deptMainTitle{
padding: 15px 8px;
font-weight: 600;
font-size: 1.5em;
border-radius: 10px;
color: black;
border-bottom: 3px solid #ddafda;
margin-bottom: 10px;
margin-top: 10px;
}
.fillet_right{
background-color: #2f66d4;
color: white;
border-radius: 5px;
}
/*border*/
.red_border{
background-color: red ;
color: white;
border-radius: 5px;
}
.green_border{
background-color: #2f66d4;
color: white;
border-radius: 5px;
}
.bed_border{
background-color: rgb(153, 51, 101);
color: white;
border-radius: 5px;
}
.light_blue_border{
background-color: #cbe7fd;
color: white;
border-radius: 5px;
}
.form_border{
background-color: #0067a0;
color: white;
border-radius: 5px;
}
.order_border{
background-color: #0067a0;
color: white;
text-align: center;
}
.blue_border{
background-color: #2f66d4;
color: white;
margin-top: 5px;
border-radius: 5px;
font-weight: 700;
font-size: 1em;
}
/*table系列*/
.table .thead-dark th {
color: #132728;
background-color: #a4d2e5;
border-color: #76bdc1;
}
.table .thead-edu th {
color: #ffffff;
background-color: #d42562;
border-color: #d42562;
}
.table .thead-history th {
color: #000000;
background-color: #ffffff;
border: 1px dashed #b9b9b9;
padding: .5rem;
}
.table .tbead-history td {
border: 1px dashed #b9b9b9;
}
/*最新消息列表*/
.news_table>tbody>tr:hover{
background-color:#ffefd4;
}
.news_table>tbody>tr:hover a{
color: black;
}
.news_table>tbody>tr:hover svg{
color: white;
}
.news_table tbody tr svg {
color:#03A9F4;
}
/*政府公開資訊列表*/
.gov_table>tbody>tr:hover{
background-color:#673ab7;
}
.gov_table>tbody>tr:hover,
.gov_table>tbody>tr:hover a,
.gov_table>tbody>tr:hover svg{
color: white;
}
.gov_table tbody tr svg {
color:#673ab7;
}
/*相關法令列表*/
.law_table>tbody>tr:hover{
background-color:#42C5BA ;
}
.law_table>tbody>tr:hover a{
color: black;
}
/*線上申辦*/
.border_left {
border-left: 7px solid gray;
margin-right: 5px;
}
fieldset {
display: block;
margin-inline-start: 2px;
margin-inline-end: 2px;
padding-block-start: 0.35em;
padding-inline-start: 0.75em;
padding-inline-end: 0.75em;
padding-block-end: 0.625em;
min-inline-size: min-content;
border-width: 2px;
border-style: groove;
border-color: threedface;
border-image: initial;
}
legend {
display: block;
width: auto;
max-width: 100%;
padding: 0;
margin-bottom: 0px;
font-size: 1em;
line-height: inherit;
color: inherit;
white-space: normal;
}
/*線上徵才*/
[role=form] {
background-color: #f8f9fa;
border-color: #dcdcdc;
border-style: solid;
border-width: 3px;
word-break: break-all;
}
[role=form-title-group] {
border-bottom: 1px #CCC solid;
background-color: black;
color: white;
}
[role=form-title] {
font-weight: 700;
text-align: left;
font-size: 28px;
padding-top: 10px;
padding-bottom: 10px;
}
/*
*dept
*/
#topbanner{
display: none;
}
.banner-text {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-repeat: no-repeat;
background-position: center center;
background-size:100%;
@media(min-width:768px){
height: 370px;
max-height: 370px;
}
}
.deptTopContent{
margin-top:20px;
}
.deptTitle{
font-size: 3em;
font-weight: 700;
background-color: rgba(255,255,255,0.6);
padding: 0 20px;
border-radius: 0.1em;
border: 1px solid #ffffff;
letter-spacing: 0.5rem;
color: #333;
}
.deptTitleSub{
display: inline-block;
font-size: 1.5em;
font-weight: 700;
border-radius: 5px;
padding: 0 20px 0 25px;
background-color: #2f66d4;
color: white;
margin-top: 5px;
}
.deptImgArea{
height: 300px;
}
.depImg{
max-height: 250px;
overflow: hidden;
}
.depImgText{
height: 50px;
}
.depLeftMenu-title{
font-size:1.2em;
font-weight: 700;
color:white;
background-color: #1b3a61;
text-align: center;
margin: 0px;
padding: 10px 0px 10px 0px;
border-radius: 4px 4px 0px 0px;
}
/*
* media
*/
@media (max-width: 1590px){
.dep_name {
width: 15.5%;
}
}
@media (max-width: 1197px){
.dep_name {
width: 23.5%;
}
}
@media (max-width: 768px){
.deptTitle{
font-size: 1.825em;
}
.deptTitleSub{
font-size: 1.325em;
}
.dep_name {
width: 30%;
}
}
@media (max-width: 552px){
.dep_name {
width:47%;
}
}
@media (max-width: 375px){
.dep_name {
width:100%;
}
}
/* 社群分享 */
#share-buttons img {
width: 35px;
display: inline;
}
.file-width {
width: 35px;
display: inherit;
}
/* 衛教資訊按鈕 */
.edu_title {
background: #6c757d;
color: #fff;
padding: 2px 6px;
font-size: 1.25rem;
font-weight: 500;
border-radius: .25rem;
display: inline-block;
text-align: center;
vertical-align: middle;
margin: 3px;
}
.edu_title:hover{
text-decoration: none;
background: #bf0f74;
font-weight: 600;
color: #fff;
}
.edua_title {
background: #bf0f74;
color: #fff;
padding: 2px 6px;
font-size: 1.25rem;
font-weight: 600;
border-radius: .25rem;
display: inline-block;
text-align: center;
vertical-align: middle;
margin: 3px;
}
.service-nav .btn-info {
color: #fff;
border-color: #9d59a6;
background: linear-gradient(90deg, #9f58a8, #90419a, #ab70b2, #a667ad);
}
.service-nav a.btn:not(.btn-form) {
border-radius: 36px;
}
.service-nav .btn.btn-info, .service-nav .btn.btn-info:active {
position: relative;
overflow: hidden;
z-index: 0;
}
.service-nav .btn.btn-info:before {
content: "";
position: absolute;
z-index: -1;
top: 0;
left: -10%;
width: 120%;
height: 200%;
background-color: #e62b56;
transform: rotate(-25deg) scaleX(0);
transform-origin: 0 50%;
transition: transform ease-out 0.5s;
}
.service-nav .btn.btn-info:hover, .service-nav .btn.btn-info:focus, .service-nav .btn.btn-info.focus, .service-nav .btn.btn-info.active {
color: #ffffff;
border-color: #e62b56 !important;
}
.service-nav .btn-info:hover:before, .service-nav .btn-info:focus:before, .service-nav .btn-info.focus:before, .service-nav .btn-info.active:before {
transform: rotate(0) scaleX(1);
transition-timing-function: ease-in;
}
/* 人員介紹社群連結 */
.facebook_color{
color: #4266ad;
font-size: 3em;
}
.line_color{
color: #01b901;
font-size: 3em;
}
.ig_color{
color: #bf009f;
font-size: 3em;
}
.blog_color{
color: #ff5722;
font-size: 3em;
}
.py-3 {
padding-bottom: 1rem !important;
padding-top: 1rem!important;
}