GeneExternalReferences.scss 1.47 KB
Newer Older
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
@import 'src/styles/common';

.xrefsContainer {
  font-size: 13px;
}
.sectionHead {
  color: $dark-grey;
  font-size: 12px;
  border-bottom: 1px solid $grey;
  margin-bottom: 15px;
  position: relative;
  margin-top: 20px;
}

.geneDetails {
  display: grid;
  grid-template-columns: [gene-symbol] min-content 10px [stable-id] auto;

  .geneSymbol {
    grid-column: gene-symbol;
    font-weight: $bold;
  }

  .stableId {
    grid-column: stable-id;
  }
}

.accordionContainer {
  width: 100%;
}

.xrefAccordion {
  border: none;
  margin-top: 0px;
  margin-bottom: 10px;
}

.xrefAccordionHeader {
  background-color: transparent;
  border-radius: 0px;
}

.xrefAccordionButton {
  color: $black;
  padding: 0px;
  width: auto;
  padding-right: 60px;
  display: inline-block;

  &:before,
  &:after {
53
    margin-top: -5px;
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
  }
}

.xrefAccordionButton:before {
  right: -2px;
  top: 12px;
  transform: rotate(45deg);
}

.xrefAccordionButton:after {
  right: 5px;
  top: 12px;
  transform: rotate(-45deg);
}

.xrefAccordionItem:not(:first-child) {
  border-color: transparent;
}

.xrefAccordionItemContent {
  background-color: transparent;
  border: none;
  padding: 5px 0px 5px 20px;
}

.transcriptWrapper {
  margin-bottom: 10px;
}
82
83
84
85
86

.transcriptId {
  color: $blue;
  cursor: pointer;
}
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
.transcriptXrefs {
  margin: 10px 0 20px 20px;
}

.xrefGroupSourceName {
  margin-right: 5px;
  display: inline-block;
}

.xrefGroupWithSameLabel {
  display: inline-block;
}

.xrefGroupLinks {
  display: inline-grid;
}