-
Notifications
You must be signed in to change notification settings - Fork 103
Expand file tree
/
Copy pathsidebar.scss
More file actions
119 lines (100 loc) · 1.88 KB
/
sidebar.scss
File metadata and controls
119 lines (100 loc) · 1.88 KB
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
@use '@carbon/colors';
@use '@carbon/layout';
@use '@carbon/type';
.pageLink {
border-left: 0.5rem solid colors.$teal-20;
display: flex;
align-items: center;
height: layout.$spacing-07;
padding: 0.25rem 0.5rem;
background-color: colors.$white;
margin: 0 0 0.063rem;
}
.pageLinkTablet {
height: layout.$spacing-09;
}
.pageLink button {
@include type.type-style('body-01');
font-family: inherit;
display: block;
background-color: inherit;
width: 100%;
border: none;
outline: none;
text-align: left;
min-height: 2rem;
white-space: normal;
word-wrap: break-word;
margin: 0 0 0.063rem;
color: colors.$gray-100;
:hover {
cursor: pointer;
}
}
.activePage {
border-left: 0.5rem solid colors.$teal-50;
background-color: #ededed;
button {
font-weight: 600;
}
}
.errorPage {
border-left: 0.5rem solid colors.$red-40;
background-color: colors.$red-10;
button {
color: colors.$red-60 !important;
}
}
.activeErrorPage {
@extend .errorPage;
background-color: colors.$red-30;
border-left: 0.5rem solid colors.$red-60;
button {
font-weight: 600;
}
}
.sidebar {
width: 12rem;
min-height: 8rem;
overscroll-behavior: contain;
margin-right: 1rem;
@media print {
display: none !important;
}
}
.sideNavActions {
margin-left: 0.6rem;
}
@media all and (device-width: 600px) and (device-height: 1024px) and (orientation: portrait) {
.sidebar {
width: 11rem;
max-height: 500px;
margin-right: 20px;
position: fixed;
}
}
.divider {
border: 0;
border-top: 1px solid colors.$gray-40;
margin: 1rem 0.5rem;
}
.button {
width: 11rem;
}
.topMargin {
margin-top: 1.5rem;
}
.saveButton {
@extend .button;
margin-bottom: 0.625rem;
&:global(.cds--inline-loading) {
min-height: layout.$spacing-05;
}
}
.closeButton {
@extend .button;
}
.printButton{
@extend .button;
margin-top: 0.625rem;
}