custom-colored.scss 2.42 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
$ancho-nodo: 150px;
table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset, img {
  border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
  font-style: normal;
  font-weight: normal;
}

caption, th {
  text-align: left;
}

//h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
q:before, q:after {
  content: '';
}

abbr, acronym {
  border: 0;
}

/* optional Container STYLES */
.chart {
31
  height: 980px;
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
  margin: 5px;
  width: 100%;
  margin: 5px auto;
  border: 3px solid $brand-primary;
  border-radius: 3px;
}

.Treant > .node {
}

//.Treant > p { font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-weight: bold; font-size: 12px; }

.Treant .node.collapsed {
  background-color: $gray;
}

.Treant .node.collapsed .collapse-switch {
  background: none;
}

.Treant {
  svg {
    path {
      stroke: $brand-primary;
    }
  }
  .primary {
    background-color: $brand-primary;
    border: $brand-primary;
  }
  .success {
    background-color: $brand-success;
    border: $brand-success;
  }
  .info {
    background-color: $brand-info;
    border: $brand-info;
  }
  p {
    margin: 0;
    padding: 0;
  }
  .collapse-switch {
    width: 20px;
    height: 20px;
    border: none;
    i {
      color: white;
    }
  }
  .node {
    padding: 2px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #FFFFFF;
    width: $ancho-nodo;
    font-size: 12px;
    p {
      box-sizing: border-box;
    }
    .external {
      display: none;
    }
    &:hover {
      .external {
        width: 20px;
        height: 20px;
        border: none;
        margin-right: -20px;
        display: block;
        top: 0px;
        i {
          color: $text-color;
        }
      }
    }
    .node-title {
      font-weight: bold;
      color: white;
      text-align: center;
      padding-right: 20px;
    }
    &.no-padding {
      .node-title {
        padding: 0;
      }
    }
    .node-name-container {
      background: white;
      color: $text-color;
      text-align: center;
      margin-bottom: 0;
      border-radius: 4px;
      &:hover {
        span {
          color: $gray-light
        }
      }
      span {
        padding: 0;
        background: none;
        color: transparent;
        border: none;
      }
      span:hover {
        background: $gray-light;
        color: white;
      }

    }
  }
}