nfu-biotech2/assets/stylesheets/template/modules/member.scss

674 lines
12 KiB
SCSS

@charset "utf-8";
@import "../initial";
//
// Index
//
// Member Index
// ## Gerneral styles for Index
.member-data-title-name,.member-data-title-0,.member-data-title-1{
display: none;
}
.member-data-value-name{
font-size: 1.5em;
font-weight: bold;
}
.i-member-profile-item{
list-style: none;
word-break: break-all;
}
.i-member-pic-wrap{
overflow: hidden;
}
// .i-member-item{
// &:hover{
// img{
// transform: scale(1.1) !important;
// -webkit-transition: .3s ease-out;
// -moz-transition: .3s ease-out;
// -ms-transition: .3s ease-out;
// -o-transition: .3s ease-out;
// transition: .3s ease-out;
// }
// }
// }
// Index 1
.index-member-1 {
.i-member__status-title {
@extend .unity-title;
}
.member-data-value-name, .member-data-value-2 {
white-space: nowrap;
}
.i-member-tr-head {
&:nth-child(1n+2) {
display: none;
}
th {
background: $theme-color-main;
color: #fff;
}
}
@media(max-width:580px) {
thead { display: none; }
td {
display: flex;
&:before {
content: attr(data-title);
display: inline-block;
width: auto;
min-width: 40%;
}
}
}
}
// Index 2
.index-member-2 {
.i-member-section {
max-width: 31.25em;
margin: auto;
}
.i-member-status-title {
@extend .unity-title;
}
.i-member-item-inner {
background: none;
border-radius: 0.25rem;
padding: 1.5em 1rem;
margin-bottom: 1em;
}
.i-member-pic-wrap {
height: auto;
margin-bottom: 1em;
}
.i-member-pic {
width: 100%;
padding: 0;
}
.i-member-profile-list {
@include list-reset;
}
.i-member-profile-item {
margin-bottom: 0.5em;
font-size: $font-13;
}
// RWD
@media screen and (min-width: $screen-sm) {
.i-member-section {
max-width: 100%;
}
.i-member-item-inner {
background: $theme-gray-lighter;
}
}
}
// Index 3
.index-member-3 {
.member-data-value-1 {
font-size: 1.2em;
font-weight: bold;
padding-left: 0.5em;
}
.i-member-section {
margin: auto;
}
.i-member-list {
display: flex;
flex-flow: row wrap;
margin: 0;
}
.i-member-item {
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
border-radius: 15px;
background: #ffffffb5;
float: none;
margin: 0 1% 1.875em;
padding: 1.25em;
width: 48%;
}
.i-member-item-inner {
height: auto !important;
}
.i-member-status-title {
@extend .unity-title;
}
.i-member-item-inner {
background: none;
}
.i-member-pic-wrap {
height: auto;
margin-bottom: 1em;
}
.i-member-pic {
width: 100%;
}
.i-member-profile-list {
@include list-reset;
}
.member-data-value-0{
font-size: 1.2em;
font-weight: bold;
width: 100%;
display: block;
}
.i-member-profile-item {
margin-bottom: 1em;
font-size: $font-13;
&:first-child{
margin-bottom: 0.5em;
border-bottom:2px solid #333;
padding-bottom: 0.5em;
}
}
.i-member-item:nth-child(odd) {
clear: both;
}
.i-member-item-inner {}
.i-member-pic-wrap {
padding: 0;
}
// RWD
@media screen and (min-width: $screen-sm) {
.i-member-section {
max-width: 100%;
}
.i-member-item-inner {
}
}
@media screen and (min-width: $screen-md) {
.i-member-pic-wrap {
position: relative;
overflow: hidden;
}
}
@media screen and (max-width: $screen-xs) {
.i-member-item {
width: 100%;
}
.i-member-pic-wrap { width: 100%; }
.i-member-profile-data-wrap { width: 100%; }
}
}
// Index 4
.index-member-4 {
.i-member-section {
max-width: 31.25em;
margin: auto;
}
.i-member-status-title {
@extend .unity-title;
}
.i-member-item-inner {
background: none;
border-radius: 0.25rem;
padding: 0.75em 1rem;
margin-bottom: 1em;
}
.i-member-profile-list {
@include list-reset;
}
.i-member-profile-item {
margin-bottom: 0.5em;
font-size: $font-13;
word-break: break-word;
}
.i-member-item:nth-child(4n+1) {
clear: both;
}
// RWD
@media screen and (min-width: $screen-sm) {
.i-member-section {
max-width: 100%;
}
.i-member-item-inner {
background: $theme-gray-lighter;
}
.i-member-item:nth-child(even) {
background: #f8f8f8;
}
}
}
//index 5
.index-member-5 {
.i-member-section {
margin: auto;
}
.i-member-list {
display: flex;
flex-flow: row wrap;
margin: 0;
}
.i-member-item {
float: none;
padding: 15px;
@media (max-width:1280px) {
width: calc( 100% / 3 );
}
@media (max-width:767px) {
width: calc( 100% / 2 );
}
@media (max-width:580px) {
width: 100%;
}
}
.i-member-item-inner {
height: auto !important;
}
.i-member-status-title {
@extend .unity-title;
}
.i-member-item-inner {
background: none;
}
.i-member-pic-wrap {
height: auto;
margin-bottom: 16px;
@media(max-width:580px) {
overflow: hidden;
border-radius: 50%;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
height: 14em;
width: 14em;
margin: 1.5em auto 1em auto;
}
}
.i-member-pic {
width: 100%;
}
.i-member-profile-list {
@include list-reset;
word-break: break-all;
text-align: center;
}
.i-member-profile-item {
font-size: 1em;
line-height: 1.3;
padding-top: 0.5em;
letter-spacing: 1px;
}
.i-member-title { display: none; }
.i-member-item:nth-child(4n+1) {
clear: both;
}
.i-member-pic-wrap {
padding: 0;
}
}
//index 7
.index-member-7 {
.i-member-section {
margin: auto;
}
.i-member-list {
display: flex;
flex-flow: row wrap;
margin: 0;
}
.i-member-item {
float: none;
padding: 15px;
@media (max-width:1280px) {
width: calc( 100% / 3 );
}
@media (max-width:767px) {
width: calc( 100% / 2 );
}
@media (max-width:580px) {
width: 100%;
}
}
.i-member-item-inner {
height: auto !important;
}
.i-member-status-title {
@extend .unity-title;
}
.i-member-item-inner {
background: none;
}
.i-member-pic-wrap {
height: auto;
margin-bottom: 16px;
@media(max-width:580px) {
overflow: hidden;
border-radius: 50%;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
height: 14em;
width: 14em;
margin: 1.5em auto 1em auto;
}
}
.i-member-pic {
width: 100%;
}
.i-member-profile-list {
@include list-reset;
word-break: break-all;
text-align: center;
}
.i-member-profile-item {
font-size: 1em;
letter-spacing: 1px;
}
.i-member-title { display: none; }
.i-member-item:nth-child(4n+1) {
clear: both;
}
.i-member-pic-wrap {
padding: 0;
}
}
//index 8
.index-member-8 {
.member-data-value-name,.member-data-value-2{
white-space: unset!important;
}
.i-member-item{
background-color: transparent!important;
}
.i-member-section {
margin: auto;
}
.i-member-list {
display: flex;
flex-flow: row wrap;
margin: 0;
}
.i-member-item {
float: none;
padding: 15px;
@media (max-width:1280px) {
width: calc( 100% / 3 );
}
@media (max-width:767px) {
width: calc( 100% / 2 );
}
@media (max-width:580px) {
width: 100%;
}
}
.i-member-item-inner {
height: auto !important;
display: block;
}
.i-member-status-title {
@extend .unity-title;
}
.i-member-item-inner {
background: #fff;
border-radius: 0.8em;
overflow: hidden;
padding: 0 0 1em;
}
.i-member-profile-data-wrap {
height: 3em;
padding: 0 2em;
}
.i-member-pic-wrap {
height:12em;
margin-bottom: 16px;
}
.i-member-pic {
width: 100%;
}
.i-member-profile-list {
@include list-reset;
word-break: break-all;
text-align: center;
}
.i-member-profile-item {
font-size: 0.8em;
line-height: 1.3;
letter-spacing: 1px;
}
.i-member-title { display: none; }
.i-member-item:nth-child(4n+1) {
clear: both;
}
.i-member-pic-wrap {
padding: 0;
}
}
// Show page
.member-homebanner .member-data-value-1{
padding: 0!important;
width: 100%;
display: block;
}
.show-member {
.tab-content{
table {
border-collapse: separate !important;
border-spacing: 15px 15px;
width: 100%;
padding: 0;
}
table td {
/* 你指定的樣式 */
background-color: #ffffff;
box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.05);
border: 1px solid #f6f6f6;
padding: 20px;
border-radius: 8px;
vertical-align: top;
@media(max-width:768px){
width: 100%!important;
}
}
}
.member-data-value-name{
font-size: 1.5em;
font-weight: bold;
padding-left: 0.2em !important;
}
.row{
position: relative;
}
.member-inner{
padding: 50px 20px 40px 20px;
box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
border-radius: 10px;
margin-bottom: 2em;
a{
color: #fff;
}
}
.member-title{
position:relative!important;
&:after{
content: ".";
line-height: 0;
display: block;
overflow: hidden;
position: absolute;
bottom: -1px;
width: 30%;
border-bottom: 1px solid #159a9c;
}
}
font-family: $sub-font;
.member-pic{
img{
border-radius: 15px;
}
}
.member-data-title-name,.member-data-title-0,.member-data-title-1{
display: none;
}
.memberul{
padding: 0;
li{
margin-bottom: 0.5em;
list-style: none;
}
}
.member-data-value-1{
.value-span{
background: linear-gradient(transparent 60%, rgba(252, 185, 0, 0.7) 0);
}
}
table td[class*=col-], table th[class*=col-]{
float: left;
}
#autobiography{
h5{
font-size: 1.5rem;
font-weight: bold;
}
}
blockquote{
padding: 40px;
border-style: solid;
border-color: rgba(255, 255, 255, 0);
border-radius: 20px;
background-image: url(/assets/appointment_BG.jpg);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
.table-striped>tbody>tr:nth-of-type(odd) {
background-color: transparent;
}
th, td {
}
.member-plugins {
margin: 0;
a {
}
}
.row {
padding-bottom: 1em;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
background-color: $theme-color-second;
}
.nav-pills>li>a {
border-radius: unset;
background-color: #eee;
transition: all 0.5s;
}
.nav>li>a:focus, .nav>li>a:hover {
background-color: darken($color: #eee, $amount: 10%);
}
table.dataTable.no-footer{
border-bottom: 0;
}
.custom-scroll-arrow {
border: unset;
border-top: none;
color: #428bca;
font-size: 1.25em;
margin-bottom: 0;
padding-left: 6px;
padding-right: 5px;
padding-top: 6px;
width: 20px;
&:hover {
background-color: unset;
color: darken($color: #428bca, $amount: 10);
}
}
@media screen and (max-width: 580px) {
.row {
display: flex;
flex-direction: column;
}
.member-pic { width: 80%; margin: 0 auto 10px; }
.member-data { width: 100%; }
}
}
.show-member{
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th{
border: 0;
}
}
.member-plugins{
margin-bottom: 1em;
}
.nav-pills>li.active>a{
background-color: #00509e!important;
color: #fff!important;
}
.nav-pills>li>a{
border-radius: 2em!important;
border:1px solid #000;
background-color: transparent!important;
color: #000!important;
&:hover{
// background-color: #d5d5d5!important;
}
}
.scrtabs-tabs-fixed-container{
height: auto!important;
}