genomics_new/assets/stylesheets/template/modules/member.scss

779 lines
13 KiB
SCSS

@charset "utf-8";
@import "../initial";
//
// Index
//
// Member Index
// ## Gerneral styles for Index
.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;
}
}
.i-member-profile-data-wrap{
.i-member-value{
word-break: normal;
}
}
.i-member-profile-item{
list-style: none;
}
.member-data{
td.member-data-value-name{
font-size: 2.5em!important;
padding: 0!important;
}
}
.i-member-status-title2{
border-left: 4px solid #2a2f8d;
padding-left: 0.5em;
}
.i-member-status-title{
border-left: 4px solid #2a2f8d;
padding-left: 0.5em;
}
// Index 1
.index-member-1 {
.index-member-list{
overflow: hidden;
}
tr{
@media(max-width: $screen-xs){
overflow-x: auto;
}
}
tbody>tr:nth-of-type(even){
background-color: #f5f5f5!important;
}
tbody>tr:nth-of-type(odd){
background-color: #fff!important;
}
.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:#e0e0e0;
color: $theme-color-main;
}
}
@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%;
}
.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 {
.i-member-section {
margin: auto;
}
.i-member-list {
display: flex;
flex-flow: row wrap;
margin: 0;
}
.i-member-item {
background: #f1f1f1 none repeat scroll 0 0;
border-radius: 0.3125em;
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;
}
.i-member-profile-item {
margin-bottom: 0.5em;
font-size: $font-13;
}
.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-item-inner { display: flex; }
.i-member-pic-wrap { width: 40%; }
.i-member-profile-data-wrap { width: 60%; }
}
}
// 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 {
.member-data-value-name{
font-size: 1.5em;
color: #3d6cb8;
font-weight: bold;
a{
font-size: 1.5em;
color: #3d6cb8;
font-weight: bold;
}
}
.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;
}
.i-member-profile-item {
text-align: center;
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 {
.member-data-value-name{
font-size:1.25em;
color: #3d6cb8;
font-weight: bold;
a{
color: #3d6cb8;
}
}
.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% / 4 );
}
@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;
}
.i-member-profile-item {
text-align: center;
font-size: 1em;
line-height: 1.3;
padding-top: 0.5em;
letter-spacing: 1px;
a{
color: #3d6cb8;
font-weight: bold;
}
}
.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-personal-website{
a{
position: absolute;
top: 0;
color:transparent!important;
width: 100%;
left: 0;
height: -webkit-fill-available;
}
}
.member-data-value-name{
font-size: 1.25em;
color: #3d6cb8;
font-weight: bold;
a{
color: #3d6cb8;
}
}
.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% / 4 );
}
@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;
}
.i-member-profile-item {
text-align: center;
font-size: 1em;
line-height: 1.3;
padding-top: 0.5em;
letter-spacing: 1px;
a{
color: #3d6cb8;
font-weight: bold;
}
}
.i-member-title { display: none!important; }
.i-member-item:nth-child(4n+1) {
clear: both;
}
.i-member-pic-wrap {
padding: 0;
}
}
// Show page
.show-member {
font-family: $sub-font;
.tab-content{
padding: 0 0.5em;
ul{
padding: 0;
}
}
th, td {
font-size: 0.938em;
}
.member-plugins {
margin: 0;
a {
font-size: 0.938em;
}
}
.row {
padding-bottom: 1em;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
background-color: #91bfea;
}
.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%);
}
// .tab-content {
// border: 1px solid #eee;
// }
.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 page
.show-member {
font-family: $sub-font;
th, td {
font-size:1.1em;
}
.memberul{
padding: 0;
li{
margin-bottom: 0.5em;
list-style: none;
}
}
.member-plugins {
margin: 0;
a {
font-size: 1em;
padding: 0.9em 1em;
border-radius: 5px;
behavior: url("/assets/ie_support/PIE2/PIE.htc");
background: #f9f8f7;
margin-right: 0.5em;
}
}
.scrtabs-tab-container{
margin-bottom: 2em;
padding: 0 0.5em;
}
.row {
padding-bottom: 1em;
@media(max-width:768px){
padding-bottom: 4em;
}
@media(min-width: 769px){
padding: 0 10%;
}
}
.scrtabs-tabs-fixed-container{
height:auto;
}
.table-striped>tbody>tr:nth-of-type(odd){
background: none;
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus-within, .nav-pills>li.active>a.hover-class{
color: #fff;
background: $theme-color-second;
}
.nav-pills>li {
padding: 0;
border: none;
}
.nav-pills>li:hover {
color: #fff;
}
// .nav-pills>li:before,
// .nav-pills>li:after{
// content:'';
// position:absolute;
// top:0;
// right:0;
// height:2px;
// width:0;
// background: #3570c1;
// box-shadow:
// -1px -1px 5px 0px #fff,
// 7px 7px 20px 0px #0003,
// 4px 4px 5px 0px #0002;
// transition: all 0.3s;
// }
// .nav-pills>li:after{
// right:inherit;
// top:inherit;
// left:0;
// bottom:0;
// }
// .nav-pills>li:hover:before,
// .nav-pills>li:hover:after{
// width:100%;
// transition: all 0.3s;
// }
.nav-pills>li {
&.active {
color: #fff;
// &:before,
// &:after{
// width:100%;
// transition: all 0.3s;
// }
}
}
.nav>li>a:focus, .nav>li>a:hover, .nav>li>a:focus-within, .nav>li>a.hover-class{
color: #fff;
background-color:#2a2f8d ;
}
.custom-scroll-arrow {
border: unset;
border-top: none;
color: #428bca;
font-size: 1.25em;
margin-bottom: 0;
padding-left: 6px;
padding-right: 5px;
width: 20px;
&:hover {
background-color: unset;
color: darken($color: #428bca, $amount: 10);
}
}
@media screen and (max-width: 580px) {
.member-wrapper2{
padding-right: 0.9375em;
padding-left: 0.9375em;
}
.row {
display: flex;
flex-direction: column;
}
.member-pic { width: 80%; margin: 0 auto 10px; }
.member-data { width: 100%; }
}
}
.member-pic{
padding: 0;
img{
// box-shadow:0px 45px 50px -40px #212121e0;
}
}
table.dataTable.no-footer{
border-bottom: none!important;
}
.member-wrapper1{
background-color:#2a2f8d ;
color: #fff;
a{
color: #fff;
}
}
.member-wrapper2{
padding-top: 2em!important;
}
.member-data{
padding-top: 8em;
@media(max-width: 1024px){
padding-top: 3em!important;
}
td{
width: 100%;
}
}
@media(min-width: 769px){
.member-data2{
padding-top: 6em!important;
}
.member-wrapper{
padding-top: 6em!important;
}
}
.member-wrapper{
.tab-content{
li{
list-style: none;
padding: 0.5em;
&:nth-of-type(odd){
background-color: #e4e4e4;
}
}
}
}