// Variables @import "ipcmd/data/colors"; @import "ipcmd/data/variables-b4"; @import "ipcmd/data/variables"; $font-size: 22px; $line-height:1.2; $lines-to-show: 2; $d-font-size: 14px; $d-line-height:1.5; $d-lines-to-show: 2; $st-font-size: 14px; $st-line-height:1; $st-lines-to-show: 1; @-webkit-keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .fadeIn-animated { -webkit-animation: fadeIn 2s; -moz-animation: fadeIn 2s; -ms-animation: fadeIn 2s; -o-animation: fadeIn 2s; animation: fadeIn 2s; } .ellipsis-1{ display: -webkit-box; display: block; /* Fallback for non-webkit */ height: $st-font-size*$st-line-height*$st-lines-to-show; /* Fallback for non-webkit */ font-size: $d-font-size; line-height: $st-line-height; -webkit-line-clamp: $st-lines-to-show; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .search-result{ margin: 0; .middle-section { margin: 15px 0 0; background:color('shades','white'); } .tab-content { min-height: 500px; position: relative; overflow: hidden; box-shadow: 0 11px 11px 0 rgba(0, 0, 0, 0.10), 0 12px 15px 0 rgba(0, 0, 0, 0.09); .toolbar-wrapper{ background: $filterbar-color; .result-info{ color: $text-color; float: left; margin: 0.5rem; font-size: 1.3rem; .backtoSearch { font-size: 0.8rem; margin-left: 10px; } } .actions { float: right; a{ margin: 5px 2px 0 0; padding: 5px 10px 5px 10px; display: inline-block; color: $text-color; &:hover, &.active{ border-radius: 2px; color:#e65019; } &.search-in-content1{ &.active{ border-radius: 2px; background: #e65019; color:color('shades', 'white'); position: relative; &::after{ content: ""; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid #e65019; left: 50%; width: 0; height: 0; bottom: -7px; position: absolute; } } } } .search-sort-wrap { padding: 0 10px 0 0; display: inline-block; position: relative; margin-right: 10px; border-right: 1px solid #e65019; .sort-dropdown{ display: inline-block; vertical-align: middle; border-radius: 2px; a{ padding: 7px 7px 0 7px; border-radius: 2px; color: #252525; margin: 2px 2px 0 0; .material-icons{ color: #252525; } &:hover{ color: #f1602b; } &:active{ background: rgba(220, 242, 252, 0.3); } } .dropdown-menu{ border: 1px solid #c7c7c7; top: 35px; padding: 12px 0; min-width: 220px; border-radius: 2px; box-shadow: none; box-sizing: border-box; @media(max-width:576px){ right: -10px; } h3{ &.title{ font-size: 14px; font-weight: normal; padding-bottom: 12px; border-bottom: 1px solid #d9d9d9; padding: 0px 24px 14px; } } label{ display: block; padding: 8px 30px; margin: 0; line-height: 18px; font-size: 14px; .c-indicator{ left: 7px; top: 7px; width: 1.2rem; height: 1.2rem; background-color: #FFFFFF; border: 1px solid #e65019;; box-shadow: none; border-radius: 50%; } input{ &:checked{ ~ .c-indicator{ background-color: #e65019; border: 1px solid #e65019;; } ~ .text{ font-weight: 300; } } } &:hover{ background: #e9e9e9; } } .c-inputs-stacked{ label{ &.c-input{ input{ display: none; } } } } } } } } } .narrow-search-results-wrapper { float: left; width: 25%; border: 0; padding: 2em 2em 2em; background: lighten($filterbar-color,3.5%); display: block !important; @media (max-width:768px){ position: absolute; z-index: 999; background: color('shades','white'); box-shadow: 3px 3px 30px rgba(color('shades','black'),0.2); width:250px; padding: 0; top: 41px; } @media (max-width:480px){ position: absolute; width: 100%; top:75px; } h2.title { font-size: 13px; font-weight: 300; letter-spacing: 1px; padding: 10px; margin: 0; background: darken($filterbar-color,45%); color:color('shades','white'); @media (max-width:768px){ &::before{ content: '\276F'; position:absolute; right: 15px; top: 10px; transform: rotate(90deg); color: color('shades','white'); } } } .search-list{ @media (max-width:768px){ display:none; &.showCategory{ display:block; } } .list-scroll{ max-height: 300px; overflow-y: auto; &::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1); } &::-webkit-scrollbar { width: 5px; } &::-webkit-scrollbar-thumb { background-color:lighten($secondary-color,25%); border-radius: 5px; } } li{ display: block; clear: both; &.title { padding: 7px 15px; display: block; font-size: 13px; color:$text-color; background: darken($filterbar-color,10%); margin: 7px 0 0 0; } a{ padding: 7px 15px; display: block; border-bottom: 1px solid rgba($text-color,0.1); font-size: 13px; color: $text-color; &:hover{ color:$link-hover-color; } .label{ background: darken($filterbar-color,2%); border-radius:2px; position: relative; font-size: 12px; font-weight: normal; margin-left: 3px; vertical-align: middle; color: $text-color; &::before { right: 100%; top: 45%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-color: rgba(136, 183, 213, 0); border-right-color:darken($filterbar-color,2%); border-width: 5px; margin-top: -5px; } } } &.active a{ background:rgba($secondary-color,0.7); color:color('shades','white'); box-shadow:0px 1px 5px rgba(color('shades','black'),0.4); } &.dropdown{ position: relative; &::before{ content: '\276F'; position:absolute; right: 7px; top: 5px; transform: rotate(90deg); color: $secondary-color; } .dropdown-menu{ position: relative; width: 100%; clear: both; padding: 0; margin: 0; box-shadow: none; li{ display: block; clear: both; a{ padding: 5px 20px; display: block; border-bottom: 1px solid rgba($secondary-color,0.1); font-size: 12px; color: $secondary-color; background: rgba($secondary-color,0.07); &:hover{ background:rgba($secondary-color,0.7); color:color('shades','white'); box-shadow:0px 1px 5px rgba(color('shades','black'),0.4); } } &.active a{ background: $secondary-color; color:color('shades','white'); box-shadow:0px 1px 5px rgba(color('shades','black'),0.4); } } } &.open { &::before{ content: '\276F'; position:absolute; right: 7px; top: 5px; transform: rotate(270deg); color: $secondary-color; } } &.active { &::before{ color:color('shades','white'); } .dropdown-menu li{ a{ background: rgba($secondary-color,0.07); color: $secondary-color; box-shadow:none; &:hover{ background:rgba($secondary-color,0.7); color:color('shades','white'); box-shadow:0px 1px 5px rgba(color('shades','black'),0.4); } } &.active a{ background:rgba($secondary-color,0.7); color:color('shades','white'); box-shadow:0px 1px 5px rgba(color('shades','black'),0.4); } } } } } } .active-filter { padding: 10px; text-transform: uppercase; font-size: 0.8rem; a { .material-icons{ vertical-align: middle; font-size: 1rem; } } span.sub{ font-size: 0.9rem; color: lighten($text-color,25%); text-transform: none; } } } .card-group { @extend .fadeIn-animated; position: relative; width: 75%; // width:75%; @media(max-width:768px){ padding-top: 3rem; width:100%; } .card{ box-shadow: none; width: 100%; border: 0; border-right: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; padding: 1.5em 2em 3.5em; margin: 0; float: left; position: relative; .cover-img{ // position: relative; // float: left; // margin:0 1.5em 1rem 0; // height: 100px; // width: 70px; position: relative; float: left; margin: 0 1.5em 1rem 0; height: 177px; width: 140px; border: 1px solid #d9d9d9; text-align: center; img { display: inline-block; max-width: 100%; height: auto; // max-height: 100px; padding: .25rem; line-height: 1.5; border: 1px solid rgba($text-color,0.1); border-radius: .25rem; -webkit-transition: all .2s ease-in-out; -o-transition: all .2s ease-in-out; transition: all .2s ease-in-out; } a{ &.read-sample{ color: #efefef; bottom: 0px; display: block; padding: 7px 0px; background: #4cAe4c; text-align: center; &:hover{ background: #038238; transition: .45s; } } } @media(min-width:320px) and (max-width: 560px) { height: 260px; margin-bottom: 45px; border: none; } @media(min-width:768px) and (max-width: 1024px) { height: 203px; margin-bottom: 45px; } } .card-block{ padding: 0; .content-type{ display: none; } .card-title{ font-weight: 300; display: -webkit-box; display: block; /* Fallback for non-webkit */ font-size: $font-size; margin-bottom: 5px; color: #E65019; a{ color: $text-color; &:hover{ color:$link-hover-color; } } @media(max-width:320px){ font-size: 18px; line-height: 24px; } } .sub-title{ margin-bottom: 5px; } .description{ display: -webkit-box; display: table; /* Fallback for non-webkit */ font-size: $d-font-size; } .abstract{ p{ font-size: 0.9rem !important; // font-family: 'Droid Serif','Helvetica Neue',Helvetica,Arial,sans-serif !important; font-family: 'Open Sans', Calibri, Tahoma, sans-serif; font-family: Monaco, 'Lucida Console', monospace; color: rgba(53, 60, 63, 0.9); display: -webkit-box; // display: block; height: 45px; line-height: 1.2; -webkit-line-clamp:3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; margin:7px 0px; } } .action-items { margin: 20px 0 0; // position: absolute; // bottom: 5px; width: 100%; @media(max-width:768px){ position: relative; } @media(min-width: 320px) and (max-width: 560px) { display: inline-block; text-align: center; } a{ &.btn{ background: #e65019; // height: 36px; font-weight: 300; line-height: 18px; font-size: 14px; border-radius: 2px; &:hover{ background: #f1602b !important; } } border-right: 0px solid !important; &.btn-secondary{ // margin-left: 15px; } &.btn-secondary{ // margin-left: 15px !important; } } .action-icons{ display: inline; } .clearfix { display: none; } button.btn, a.btn { margin:0 5px 15px 0; color:color('shades','white'); padding: .375rem 1rem; height: 36px; padding: 8px; &:last-child{ clear: right; } &:hover{ color:color('shades','white'); } } button{ &.btn-primary{ background: $primary-color; height:36px; font-weight: 300; line-height: 18px; font-size: 14px; border-radius: 2px; &:hover{ background: $primary-color-hover; } } } a{ color:rgba($text-color,0.5); padding: 0px; border-right:1px solid lighten($primary-color, 55%); text-align:center; &:hover, &.active{ color: $link-hover-color; } &.icon-link { padding:0; margin:0 ; display: inline-block; border-right: 0; width: 40px; vertical-align: middle; &:hover, &.active{ color: $link-hover-color; } } } .btn-group{ display: inline-block; margin:0 5px 15px 0; &:last-child{ margin-right: 0; } .btn{ margin: 0; padding: 5px; // margin-left: 20px; } .dropdown-menu{ margin: 0; .dropdown-item { display: block; padding: 5px; width: 100%; text-align: center; font-size: 14px; color: #ffffff; background: #e65019; border: 1px solid #c7c7c7; &:hover { color: #fff; } } } button{ &.btn{ &.btn-primary{ // display: none; } } } } a{ color: #ab0e37; } } p{ span{ &.text-muted{ a{ color: #2c6fb6 !important; font-weight: 300; font-size: 12px; &:hover{ color:#e65019; } } } } } } } } &.search-in-content{ .card-group { .card{ box-shadow: none; width: 100%; border: 0; border-left: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; padding: 2.5em 2em 2em 1.5em; margin: 0; float: left; max-height: 100%; min-height: 100%; @media (max-width:768px){ width: 100%; padding: 1rem; } .cover-img{ // position: relative; // float: left; // margin-right: 1.5em; position: relative; float: left; margin: 0 1.5em 1rem 0; height: 177px; width: 140px; border: 1px solid #d9d9d9; text-align: center; @media (max-width:560px){ width: 100%; margin:0 auto; text-align: center; clear:both; float: none; } img { // max-width: 100%; // width: 180px; // height: 240px; // margin: auto; @media (max-width:767px){ width: 150px; height: auto; margin:0 auto; text-align: center } @media (max-width:768px){ height: 175px; width: auto; } @media(min-width:320px) and (max-width: 480px){ height: 175px; width: auto; } } } .card-block{ padding: 0; display: table; .content-type{ font-size: 0.9rem; color:rgba($text-color,0.4); } .card-title{ font-weight: 300; display: block; /* Fallback for non-webkit */ display: -webkit-box; font-size: $font-size; height: auto; overflow: hidden; text-overflow: ellipsis; margin: 0; color: #E65019; a{ color: $text-color; &:hover{ color:$link-hover-color; } } @media(max-width:320px){ font-size: 18px; line-height: 24px; } } .sub-title { display: block; /* Fallback for non-webkit */ display: -webkit-box; height: $st-font-size*$st-line-height*$st-lines-to-show; /* Fallback for non-webkit */ font-size: $d-font-size; line-height: $st-line-height; -webkit-line-clamp: $st-lines-to-show; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .author { font-size: 0.8rem; a{ color: $text-color; &:hover{ color: $link-hover-color; } } } .action-items { margin: 20px 0 0; position: relative; width: 100%; a{ &.btn{ background: #e65019; // height: 36px; font-weight: 300; line-height: 18px; font-size: 14px; border-radius: 2px; height: 36px; padding: 8px; margin-left: 15px; &:hover{ background: #f1602b !important; } } } } .show-more { float: right; position: relative; padding-right: 25px; color: color('shades','white'); width: 110px; background: #f1602b; border-radius: 2px; &:before { content: '\276F'; position: absolute; right: 10px; top: 4px; transform: rotate(90deg); color:color('shades','white'); } &:hover{ background: #f1602b !important; &:before { content: '\276F'; position: absolute; right: 9px; top: 2px; transform: rotate(270deg); color:color('shades','white'); transition: .5s ease-out; } } } hr{ margin: 0.5rem 0; } .more{ display: none; } } } } } } .empty-section-msg.width-125 { width: 75%; position: relative; @media(max-width:980px){ width: 100%; position: relative; } } .highlight-text, .search-highlight { font-weight: 300; padding: 0; color:$text-color; background:yellow; } }