summaryrefslogtreecommitdiff
path: root/res/client/css/partials/info-card.scss
blob: 3827cf4a4b38e00ae38294a4a604aa3a7e85415b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
@import '../modules/mixins'; // For box-shadow and box-sizing

.info-container {
    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;
    position: absolute;
    right: $graph-margin-right;
    top: 120px;
    width: 300px;
    bottom: 160px;

    @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;    }