-
Notifications
You must be signed in to change notification settings - Fork 86
/
styles.scss
131 lines (109 loc) · 2.78 KB
/
styles.scss
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
120
121
122
123
124
125
126
127
128
129
130
131
@import '~variables.scss';
@import '~mixins.scss';
$panel-width: 550px;
sd-suggest {
box-sizing: border-box;
max-width: $panel-width;
width: 100%;
border: 1px solid var(--sd-colour-line--medium);
z-index: 100;
background: var(--sd-item__main-Bg);
position: absolute;
inset-block-start: 0px;
inset-inline-start: -$panel-width;
height: 100%;
padding: 48px 0 0;
overflow-x: scroll;
//box-shadow: -2px -7px 5px 0 rgba(0,0,0,0.25);
h6.no-suggestions {
padding: 15px 18px;
}
label {
display: inline-block;
}
.live-suggest {
&__header {
inset-block-start:0;
background: var(--sd-item__main-Bg);
h3 {color: $sd-text-label;}
.close i:before {
cursor: pointer;
font-weight: bold;
color: $sd-text;
position: relative;
inset-block-start: 13px;
inset-inline-end: 18px;
}
}
&__body {
.list-view {
height: 65%;
padding: 0;
overflow-x: scroll;
box-shadow: none;
.list-item-view.active .media-box {
&:hover {
background-color: var(--sd-item__main-Bg--hover) !important;
}
background-color: transparent !important;
border-inline-end: none !important;
}
.media-box {
padding: 0 18px 10px;
.item-info {
padding: 10px 0 5px;
}
}
}
}
}
.item-info {
padding: 10px 0 5px;
label {
color: $sd-text-label;
}
&__right {
float: inline-end;
}
&:hover {
padding: 10px 0 5px;
}
}
i[sd-filetype-icon] {
color: $grayLight;
width: 17px;
position: relative;
inset-block-start: 3px;
}
.keyword {
color: $sd-keyword;
text-transform: uppercase;
font-weight: bold;
font-size: 12px;
margin-inline-end: 10px;
}
.word-count span {
color: $sd-gray-text;
font-size: 12px;
font-weight: bold;
}
.item-details {
i.backlink {
cursor: pointer;
line-height: 28px;
font-size: 0.7em;
font-style: normal;
padding-inline-start: 35px;
margin-block-start: 0px;
}
.headline {
margin: 13px 0 0;
}
.abstract {
margin: 10px 0;
}
&__body {
padding: 0 18px;
}
}
}