summaryrefslogtreecommitdiff
path: root/web-ui/app/scss/style-guide.scss
blob: 7d18109e2d28dd74d32dc06fa1790f1fea0d1354 (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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
@import "compass/css3";
@import "styles.scss";

body {
  display: block;
  overflow: scroll !important; 
}

nav {
  position: fixed;    
  z-index: 10;
  height: 50px;
  width: 100%;
  background-color: #3e3a37;
  color: white;
  opacity: 0.95;
}

a.logo-anchor {
  color: white;

  &:hover {
    color: darken(white, 30);
  }
}

ul li {
  display: inline;
}

ul.typography li {
  display: inline-block;
  text-align: center;
  margin: 20px 10px 0 0;
  padding: 30px;
  min-height: 125px;
  min-width: 130px;
  border: 1px solid #EEE;
  background-color: white;  
  border-radius: 5px;
}

ul.left, ul.right {
  padding: 12px;
  margin: 0px 25px;
  font-weight: bold;
}

ul.right {
  li {
    margin: 8px;
  }
}

section.guide-section {
  display: block;
  height: 100%;
  min-height: 666px;
  overflow-y: auto;
  padding: 66px 32px;

  &:nth-child(even) {
    background-color: $top_pane;  
  }
}

.color-card {
  width: 160px;
  height: 230px;
  border-radius: 5px;
  display: inline-block;
  margin-right: 15px;
}

.color-label {
  position: relative;
  top: 173px;
}

.color-label, .typeface-sample {
  background-color: white;
  border: 1px solid #eee;
  text-align: center;
  color: #344a5f;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 10px 0;
}

.color-name {
  font-size: small;
}

/* Color Cards definition */

.color-grid {
  #primary-color-card { background-color: $primary_color; }
  #secondary-color-card { background-color: $secondary; }
  #top-pane-card { background-color: $top_pane; }
  #contrast-card { background-color: $contrast; }
  #action-buttons-card { background-color: $action_buttons; }
  #success-card { background-color: $success; }
  #attention-card { background-color: $attention; }
  #warning-card { background-color: $warning; }
  #error-card { background-color: $error; }
  #search-highlight-card { background-color: $search_highlight; }
  #count-background-card { background-color: $total_count_bg; }
}
/* Typeface cards definition*/
ul.typography li h2 {
  &.bold-header { font-weight: bold; }
  &.extra-bold-header { font-weight: 800; }
  &.lighter-header { font-weight: lighter; }
}

ul.headers-and-sizes {
  margin: 20px 100px 0 0;
  display: inline-block;
}