/* This file is part of rhizi, a collaborative knowledge graph editor. Copyright (C) 2014-2015 Dor Garbash, Amir Sagie and Alon Levy This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ @import '../modules/mixins'; // For box-shadow and box-sizing .info-container { margin-top: 85px; margin-bottom: 20px; position: absolute; max-height: 300px; background-color: white; border-top: 6px solid $dark-grey; box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.55); overflow-y: auto; padding: 12px 10px; right: $graph-margin-right; width: 300px; @include rz-box-sizing-border; } .info-container textarea { font-size: $h4-size; font-family: sans-serif; max-width: 280px; } // card elements styles .info-card-attr { font-size: $h4-size; font-family: $bold-font-family; text-transform: capitalize; margin-bottom: 5px; } .info-card-attr-val { font-size: $h4-size; width: 100%; } .info-container__row { margin-top: 10px; margin-bottom: 10px; } .info-card-url input { font-size: $h4-size; margin-left: 24px; } .info-card-url:before { //url icon before the url line background: url(../img/url-icon.png); background-position: center; background-repeat: no-repeat; content: ""; min-width: 14px; min-height: 14px; position: absolute; } .select-dropdown { border: none; font-family: $base-font-family; background-color: white; font-size: $h3-size; color: $dark-grey; width: 100%; padding: 0; } .select-dropdown:focus { outline: none; } .select-dropdown option { font-size: $h3-size; color: $dark-grey; border: 1px solid $dark-grey; } .subtitle { font-style:italic; color: #bbb; font-size: 12px; float:right; } // ---------------------------------------------------------------------------- // Domain Specific // - change card top border color by node type // // FIXME: refactor to domain specific file / automate // .info-container.type-person { border-top-color: $blue; } .info-container.type-club { border-top-color: $magenta; } .info-container.type-skill { border-top-color: $yellow; } .info-container.type-internship { border-top-color: $orange; } .info-container.type-interest { border-top-color: $purple; } .info-container.type-empty { border-top-color: $mid-grey; } .info-container.type-third-internship-proposal { border-top-color: $cyan; } .info-container.type-project { border-top-color: $green; }