summaryrefslogtreecommitdiff
path: root/res/css/partials/info-card.scss
blob: d3907679f5143d9ff75ef6f60b981f28d2d32484 (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
@import '../modules/mixins'; // For box-shadow and box-sizing

.info-container {
  position: absolute;
  right: $doc-margin;
  top: $two-baselines;
}

.subtitle{
  font-style:italic;
  color: #bbb;
  font-size: 12px;
  float:right;
}

.edge_info, .info {
  color: $dark-grey;
  background-color: white;
  @include rz-box-shadow(0px, 1px, 6px, 0px, rgba(0,0,0,0.3) );
  position: relative;
  width:250px;
  padding: 24px;
  @include rz-box-sizing-border;
  border-top: 6px solid $dark-grey;
}

// change card top border color by node type
.info.type-person {
  border-top: 6px solid $blue;
}

.info.type-club {
  border-top: 6px solid $magenta;
}

.info.type-skill {
  border-top: 6px solid $yellow;
}

.info.type-third-internship-proposal {
  border-top: 6px solid $cyan;
}

.info.type-internship {
  border-top: 6px solid $orange;
}

.info.type-interest {
  border-top: 6px solid $purple;
}

.info.type-empty {
  border-top: 6px solid $mid-grey;
}

.info.type-chainlink {
  border-top: 6px solid $dark-grey;
}

.info.type-project {
  border-top: 6px solid $green;
}

// card elements styles

.info .info-card-attr {
  display: block;
  text-transform: capitalize;
  font-size: $h4-size;
  font-family: $bold-font-family;
}

.info .info-card-attr-val {
  display: block;
  text-transform: capitalize;
  font-size: $h2-size;
  margin: 12px 0px 24px 0px;
}

.info hr {
  width: 250px;
  position: relative;
  left: -24px;
  border: none;
  background-color: $mid-light-grey;
  height: 2px;
  margin: $two-baselines 0px $two-baselines 0px;
}