qpp-style 9.6.13 → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Dropdown/Dropdown.stories.js +94 -0
- package/components/Dropdown/index.js +85 -0
- package/components/index.js +2 -0
- package/dist/browser.js +1 -1
- package/dist/browser.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/components/_footer.scss +593 -0
- package/styles/components/_header.scss +890 -0
- package/styles/components/_sidebar.scss +8 -0
- package/styles/components/sidebar/_animations.scss +38 -0
- package/styles/components/sidebar/_cms.scss +61 -0
- package/styles/components/sidebar/_details.scss +58 -0
- package/styles/components/sidebar/_links.scss +415 -0
- package/styles/components/sidebar/_sidebar-animation.scss +121 -0
- package/styles/components/sidebar/_sidebar-tooltip.scss +33 -0
- package/styles/components/sidebar/_sidebar.scss +141 -0
- package/styles/components/sidebar/project-specific/_wi.scss +42 -0
- package/styles/qppds/components/_dropdown.scss +4 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/*
|
|
2
|
+
General sidebar styles
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
.sidebar {
|
|
6
|
+
background: $color-slate;
|
|
7
|
+
box-shadow: 4px 0 10px 0 transparentize($color-black, 0.7);
|
|
8
|
+
color: $color-white;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
height: 100%;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
position: relative;
|
|
14
|
+
transition: width 0.6s ease-in-out;
|
|
15
|
+
width: $side-nav-expanded-width;
|
|
16
|
+
|
|
17
|
+
a {
|
|
18
|
+
text-decoration: none;
|
|
19
|
+
|
|
20
|
+
&:hover {
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.unstyled {
|
|
25
|
+
color: inherit;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
hr {
|
|
30
|
+
border-top: 1px solid transparentize($color-white, 0.8);
|
|
31
|
+
height: 1px;
|
|
32
|
+
margin: 25px $side-nav-horizontal-padding;
|
|
33
|
+
width: auto;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
ul {
|
|
37
|
+
line-height: 1.7;
|
|
38
|
+
list-style-type: none;
|
|
39
|
+
margin: 0;
|
|
40
|
+
padding: 2px 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
svg {
|
|
44
|
+
position: relative;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.SVGInline {
|
|
48
|
+
display: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.closed {
|
|
52
|
+
width: $side-nav-closed-width;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.alt-style {
|
|
56
|
+
background: $color-slate-dark;
|
|
57
|
+
|
|
58
|
+
.alt-style-header {
|
|
59
|
+
background: $color-slate;
|
|
60
|
+
padding-bottom: 25px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.alt-style-nav {
|
|
64
|
+
padding-bottom: 25px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Sidebar content */
|
|
69
|
+
|
|
70
|
+
.sidebar-content {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
flex-grow: 1;
|
|
74
|
+
overflow-x: hidden;
|
|
75
|
+
transition: overflow-x 0.6s;
|
|
76
|
+
|
|
77
|
+
.label {
|
|
78
|
+
@include typography('Rubik', 20px, 26px, $color-white);
|
|
79
|
+
display: block;
|
|
80
|
+
font-weight: normal;
|
|
81
|
+
padding: 30px 25px 20px;
|
|
82
|
+
text-align: left;
|
|
83
|
+
white-space: inherit;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.level-one-nav {
|
|
87
|
+
background-color: $color-slate;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* Sidebar chart */
|
|
92
|
+
|
|
93
|
+
.chart-title {
|
|
94
|
+
align-items: center;
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
|
|
99
|
+
p {
|
|
100
|
+
margin: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.title {
|
|
104
|
+
@include typography('Rubik', 16px, 22px, $color-white);
|
|
105
|
+
text-transform: uppercase;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.disclaimer {
|
|
109
|
+
@include typography(
|
|
110
|
+
'Rubik',
|
|
111
|
+
14px,
|
|
112
|
+
20px,
|
|
113
|
+
transparentize($color-white, 0.2)
|
|
114
|
+
);
|
|
115
|
+
align-items: center;
|
|
116
|
+
display: flex;
|
|
117
|
+
padding: 5px 0 10px;
|
|
118
|
+
|
|
119
|
+
svg {
|
|
120
|
+
height: 20px;
|
|
121
|
+
width: 20px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.left-icon {
|
|
125
|
+
fill: transparentize($color-white, 0.2);
|
|
126
|
+
margin-right: 10px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.right-icon {
|
|
130
|
+
fill: $color-teal-light;
|
|
131
|
+
margin-left: 10px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.timestamp {
|
|
136
|
+
@include typography('Rubik', 13px, 20px, $color-white);
|
|
137
|
+
padding: 5px 0 20px;
|
|
138
|
+
text-transform: uppercase;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
WI specific styles
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
.sidebar {
|
|
6
|
+
&.sidebar-wi-nav .sidebar-content {
|
|
7
|
+
> .animation-group > a.link-back {
|
|
8
|
+
background: $color-slate;
|
|
9
|
+
padding-bottom: 25px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
> .animation-group:nth-child(2) {
|
|
13
|
+
background: $color-slate;
|
|
14
|
+
|
|
15
|
+
> hr {
|
|
16
|
+
margin-bottom: 0;
|
|
17
|
+
margin-top: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
> .animation-group:nth-child(3) {
|
|
22
|
+
background: $color-slate;
|
|
23
|
+
padding-bottom: 25px;
|
|
24
|
+
padding-top: 25px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
> .animation-group:nth-child(4) {
|
|
28
|
+
padding: 25px $side-nav-horizontal-padding 0;
|
|
29
|
+
|
|
30
|
+
.quality-title {
|
|
31
|
+
@include typography('Rubik', 14px, 16px, $color-white);
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
text-transform: uppercase;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.quality-subtitle {
|
|
37
|
+
@include typography('Rubik', 14px, 16px, $color-white);
|
|
38
|
+
padding: 10px 0 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|