/*----------- General Variables ---------*/
$heading_color: #555;
$body_background: #ebebeb;
$primary_color: #555;
$anchor_color: #03998d;
$body-txt-color: #777;
$wanted-card-color: #b6060a;
$closed-content-a-color: #729;
$infographic-heading: #949494;
$div-border-color: #f1f1f1;
//button colors
$button-color: #03998d;
$button-color-hover: #009185;
$button-border: #00756c;
$cancel-button-color: #bebebe;
$cancel-button-border: #9b9b9b;
$cancel-button-hover: #b4b4b4;
//note colors
$note-tag-companybg: #d3741c;
$note-tag-companybg-hover: #bb5b00;
$note-tag-topicbg: #2b7ea0;
$note-tag-topicbg-hover: #01648d;
$note-tag-notexist: #f0f0f0;
$note-tag-notexist-hover: #ececec;
$card-header-color: #dbdbdb;
$note-color: #03998d;
$source-color: #ffc201;
$overview-color: #666;
$heading-color: #999;
@mixin box-shadow($x: 2px, $y: 2px, $blur: 5px, $color: rgba(0, 0, 0, .4), $inset: "") {
@if ($inset != "") {
-webkit-box-shadow: $inset $x $y $blur $color;
-moz-box-shadow: $inset $x $y $blur $color;
box-shadow: $inset $x $y $blur $color;
}
@else {
-webkit-box-shadow: $x $y $blur $color;
-moz-box-shadow: $x $y $blur $color;
box-shadow: $x $y $blur $color;
}
}
/*----------- Top banner ---------*/
.fa-4 {
font-size: 7em;
}
.container-topbar{
max-width: 1250px;
margin: 0 auto;
padding: 8px 5px;
.navbar-right {
margin-right: 15px;
}
}
div#openelectronics_slider_image {
padding: 12px 25px;
font-size: 14px;
}
#top-banner-wrapper {
.initiative-content {
font-size: 0.8em;
}
>div {
overflow: inherit;
}
.column-1,
.column-2,
.column-3 {
background: #fafafa;
height: 38px;
float: left;
margin-left: 0.3%;
margin-bottom: 20px;
border: 0 solid #eaeaea;
padding-bottom: 14%;
}
.column-1,
.column-3 {
width: 24%;
}
.column-1 {
overflow: hidden;
position: relative;
}
.slick-dots {
bottom: -5%;
}
iframe {
width: 100%;
height: 175px;
}
.video-container {
display: none;
}
.SELF-video_image {
cursor: pointer;
&:hover {
@include box-shadow(0,0px,6px,rgba(0,0,0,.35));
z-index: 9;
}
}
.column-2 {
position: relative;
width: 50%;
.wikirate-message {
display: block;
text-align: center;
line-height: normal;
padding: 30px;
.homepage-heading-h1 {
font-size: 1.5em;
}
}
}
.column-3 {
.SELF-banner_column3 {
overflow: hidden;
}
.banner-column-button a {
text-align: center;
display: block;
font-size: 0.9em;
}
.banner-column-button {
margin: 10%;
}
}
}
.SELF-wikirate_globe.card-content {
width: 25%;
padding: 30px 3px 18px 30px;
max-width: 30%;
float: left;
overflow: hidden;
img {
max-height: 100%;
}
}
/*----------- Content Wrapper --------------*/
#main .video-container {
visibility: hidden;
height: 0;
width: 0;
opacity:0;
}
#page-wrapper {
background: #fff;
padding: 20px 12px;
}
#main-content-wrapper {
margin: 0 5px;
}
.browse-button {
text-align: center;
margin-top: 5px;
margin-left: 16px;
}
/*----------- Grid ---------*/
.grid-row {
display: inline-block;
width: 100%;
.grid-column {
width: 49%;
// background: green;
}
}
/*----------- Companies and Topics ---------*/
#company-n-topic .grid-column {
position: relative;
//for slick-js icon position
}
#company-n-topic .card-header {
display: none;
// workaround for carousel
}
#company-n-topic {
.company-list,
.topic-list {
.search-result-list {
// workaround for carousel
height: 220px;
overflow: hidden;
margin-left: 3.8%;
width: 94%;
max-width: 555px;
}
.search-result-item {
display: inline-block;
min-width: 130px;
width: 175px;
padding: 10px 0;
margin-left: 11px;
}
}
.company-list {
float: left;
}
.topic-list {
float: right;
}
.browse-button {
margin-top: 35px;
}
}
/*----------- Overviews ---------*/
#overviews {
.search-result-item {
display: inline-block;
margin: 1.4%;
width: 30%;
float:left;
}
}
/*----------- Notes and Sources ---------*/
#notes-sources {
.card-content.SELF-homepage_note_list,
.card-content.SELF-homepage_source_list {
padding: 5px 0;
margin: 15px 3.5%;
border: 1px solid #ddd;
@include box-shadow(0,1px,6px,rgba(0,0,0,.13));
height: 750px; // Temporary fix for same height , it should be dynamic at somepoint...
overflow: auto;
}
.card-content.SELF-homepage_note_list {
border-top: 8px solid $note-color;
}
.card-content.SELF-homepage_source_list {
border-top: 8px solid $source-color;
}
.note-list,
.source-list {
width: 48%;
.search-result-list {
// padding: 0 0 1000px;
//same height workaround.
// margin-bottom: -1000px;
}
}
.note-list {
float: left;
}
.source-list {
float: right;
}
.browse-button {
margin-top: 25px;
}
}
/*----------- Headings ---------*/
.homepage-heading-h1 {
text-align: center;
font-size: 1.6em;
color: $heading-color;
.count-color {
color: $overview-color;
/* font-weight: 900;*/
}
.company-color {
color: $note-tag-companybg;
}
.topic-color {
color: $note-tag-topicbg;
}
.overview-color {
color: $overview-color;
}
.note-color {
color: $note-color;
}
.source-color {
color: $source-color;
}
}
.homepage-heading-h2 {
font-size: 2em;
font-weight: normal;
padding: 0px 0 0;
}
.homepage-heading-h3{
font-weight: normal;
}
/*----------- Media queries ---------*/
@media screen and (max-width: 1150px) {
.homepage-heading-h1 {
font-size: 1.2em;
}
.homepage-heading-h2 {
font-size: 1.6em;
}
.homepage-heading-h3 {
font-size: 1.1em;
}
#top-banner-wrapper .column-2 .wikirate-message .homepage-heading-h1 {
font-size: 1.2em;
}
}
@media screen and (max-width: 1205px) {
.homepage-heading-h1 {
font-size: 1.1em;
}
.homepage-heading-h2 {
font-size: 1.4em;
}
#top-banner-wrapper .column-2 .wikirate-message .homepage-heading-h1 {
font-size: 1.1em;
}
}
@media screen and (max-width: 990px) {
.homepage-heading-h1 {
font-size: 0.89em;
}
.homepage-heading-h2 {
font-size: 1em;
}
.homepage-heading-h3 {
font-size: 0.9em;
}
#top-banner-wrapper .column-2 .wikirate-message .homepage-heading-h1 {
font-size: 0.9em;
}
}
@media screen and (max-width: 48em) {
#notes-sources {
.note-list,
.source-list {
width: 100%;
clear: both;
margin-bottom: 30px;
}
.card-content.SELF-homepage_source_list,
.card-content.SELF-homepage_note_list {
height: auto;
}
}
}
@media screen and (max-width:47em ) {
.homepage-heading-h1 {
// font-size:0.9em;
}
.homepage-heading-h2 {
font-size: 1.8em;
}
#top-banner-wrapper .column-2 {
.wikirate-message {
padding: 1%;
.homepage-heading-h1 {
font-size: 1.5em;
}
}
.SELF-wikirate_globe.card-content {
padding: 1%;
max-width: 16%;
}
}
#top-banner-wrapper {
.column-1,
.column-3 {
display: none;
}
.column-2 {
width: 100%;
}
}
}
/*----------- Media queries- For mobile devices ---------*/
@media screen and (max-width:40em ) {
.grid-row,.grid-column{
margin-bottom:24px;
}
.homepage-heading-h1 {
font-size:1em;
}
.homepage-heading-h2 {
font-size: 1em;
}
#top-banner-wrapper {
.column-2 {
.wikirate-message {
padding: 1%;
.homepage-heading-h1 {
font-size: 0.9em;
}
}
.SELF-wikirate_globe.card-content {
padding: 1%;
max-width: 16%;
}
}
}
#overviews .search-result-item {
display: inline-block;
margin: 1.4%;
width: 97%;
}
#company-n-topic {
.company-list,
.topic-list {
width: 100%;
}
}
body#wagn {
min-width: 325px;
}
#notes-sources {
.card-content.SELF-homepage_note_list,
.card-content.SELF-homepage_source_list {
margin: 15px 0;
}
}
#top-bar {
.logo-bar img {
margin-top: 0;
height: 25px;
border: none;
}
.account-info-bar {
display: none;
float: right;
position: absolute;
top: 6%;
right: 35px;
font-size: 0.6em;
}
#logging a{
margin-left:4px;
}
.search-bar-mobile {
display: block;
float: right;
}
.search-bar {
width: 92%;
display: none;
}
}
a.slicknav_btn {
float: left;
margin: 6px 0px 0 -6px;
}
#page-wrapper {
padding: 6px 4px;
}
#main{
padding: 48px 1%;
}
#top-bar-wrapper .slicknav_menu .slicknav_nav .account-info-bar .logged-out {
display: none;
}
#top-banner-wrapper .column-2 .SELF-wikirate_globe.card-content {
display:none;
}
.TYPE-note .source-side,
.TYPE-page .source-side,
.TYPE-note .meta-side,
.TYPE-page .meta-side,
.TYPE-analysis .meta-side,
.TYPE-company .meta-side,
.TYPE-topic .meta-side,
.TYPE-analysis .source-side,
.TYPE-company .source-side,
.TYPE-topic .source-side {
width: 100%!important;
margin-left: 0;
}
.TYPE-topic .TYPE_PLUS_RIGHT-topic-analysis_with_overview .analysis-blurb-content,
.TYPE-topic .TYPE_PLUS_RIGHT-company-analysis_with_overview .analysis-blurb-content,
.TYPE-company .TYPE_PLUS_RIGHT-topic-analysis_with_overview .analysis-blurb-content,
.TYPE-company .TYPE_PLUS_RIGHT-company-analysis_with_overview .analysis-blurb-content {
width: 100%;
}
.ui-tabs .ui-tabs-panel {
padding: 0;
}
.TYPE_PLUS_RIGHT-user-Xfollowing {
display: none;
}
.TYPE-user .user-profile-left,
.TYPE-user .user-profile-right,
.TYPE-user .user-profile-right-bottom-contribution,
.TYPE-user .TYPE_PLUS_RIGHT-user-discussion.titled-view {
width: 100%;
}
.card-slot>.card-header .card-menu-link {
margin: -40px -3px;
}
.header-vote {
float: left;
border-right: 0;
margin-right: 0;
padding: 0;
}
.header-citation {
float: right;
margin-top: -2%;
padding: 0;
border-left: 0;
margin-left: 0;
}
.header-title {
padding: 0 10px;
text-align: center;
width: 100%;
float: left;
}
}
.homepage-lead{
font-weight:300;
margin-bottom: 20px;
line-height: 1.4;
font-size: 30px;
color: #868686;
}