-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Expand file tree
/
Copy pathQuickAccess.less
More file actions
101 lines (93 loc) · 2.01 KB
/
QuickAccess.less
File metadata and controls
101 lines (93 loc) · 2.01 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
.quick-access {
position: relative;
box-shadow: none;
border: 0;
border-radius: 8px;
width: 200px;
&:hover,
&.expanded,
&.active {
border-color: transparent;
.quickAccessInside .quickAccessInput {
background-color: @theme-color-background-contrast;
border: 1px solid @theme-color-focus-ring;
outline: 0;
box-shadow: none;
}
}
.quickAccessInside {
flex: auto;
}
li {
font-size: 14px;
}
li a {
padding: 10px 19px;
display: inline-block;
text-decoration: none;
word-break: break-all;
color: @theme-color-text-lighter;
}
.icon-search {
position: absolute;
font-size: 14px;
top: 13px;
left: 12px;
color: @theme-color-border;
}
.quickAccessInside .quickAccessInput {
height: 38px;
font-size: 14px;
padding: 10px 12px 10px 38px;
border: 1px solid @theme-color-border;
border-radius: 8px;
width: 100%;
&:focus-visible {
border: 1px solid @theme-color-focus-ring;
outline: 1px solid @theme-color-focus-ring;
}
}
.quickAccessInside .quickAccessDropdown.dropdown {
padding: 8px;
border-radius: 8px;
margin-top: 5px;
width: 200px;
max-height: 75vh;
overflow: auto;
box-shadow: 0 10px 40px 0 rgba(165, 177, 202, 0.30), 0 0 3px 0 rgba(165, 177, 202, 0.30);
@media all and (max-width: 992px) {
width: 100%;
}
}
.quickAccessInput::placeholder {
color: @theme-color-text-invert;
}
.selected {
background-color: @theme-color-background-tinyContrast !important;
border-radius: 8px;
}
.quick-access-category {
text-align: left !important;
font-size: 14px;
font-weight: 600;
padding: 8px;
cursor: pointer;
}
.result {
cursor: pointer;
font-weight: normal;
}
.quick-access-category:hover {
background: none !important;
}
.no-result {
padding: 10px 19px;
cursor: default;
}
.websiteCategory {
cursor: default;
}
li.quick-access-help a {
word-break: break-word;
}
}