-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstyles.scss
145 lines (125 loc) · 2.61 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
.novel-word-count--active .nav-header {
.nav-buttons-container {
flex-wrap: wrap !important;
}
.nav-buttons-container::after {
content: attr(data-novel-word-count-plugin);
display: block;
font-size: 0.8em;
max-width: calc(100% - 20px);
min-width: 0;
opacity: 0.75;
overflow: hidden;
padding: 0 4px;
position: relative;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
}
.nav-files-container {
.nav-file-title {
.novel-word-count--active & {
align-items: baseline;
}
.novel-word-count--active &::after {
content: attr(data-novel-word-count-plugin);
flex: 1 0 auto;
font-size: 0.8em;
max-width: calc(100% - 20px);
min-width: 0;
opacity: 0.75;
order: 1;
overflow: hidden;
padding: 0 4px;
position: relative;
text-overflow: ellipsis;
white-space: nowrap;
}
.novel-word-count--active &-content {
min-width: 20px;
}
.novel-word-count--note-right &-content {
flex: 1 1 0;
}
.novel-word-count--note-right &::after {
flex: none;
order: 6;
overflow: hidden;
}
.novel-word-count--note-below & {
flex-wrap: wrap;
}
.novel-word-count--note-below &-content {
flex: 100%;
}
.novel-word-count--note-below &::after {
display: inline-block;
margin-top: -2px;
max-width: 100%;
overflow: hidden;
padding: 0;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.nav-folder-title {
.novel-word-count--active & {
align-items: baseline;
}
.novel-word-count--active &::after {
content: attr(data-novel-word-count-plugin);
flex: 1 0 auto;
font-size: 0.8em;
max-width: calc(100% - 20px);
min-width: 0;
opacity: 0.75;
order: 1;
overflow: hidden;
padding: 0 4px;
position: relative;
text-overflow: ellipsis;
white-space: nowrap;
}
.novel-word-count--active &-content {
min-width: 20px;
}
.novel-word-count--folder-right &-content {
flex: 1 1 0;
}
.novel-word-count--folder-right &::after {
flex: none;
order: 6;
overflow: hidden;
}
.novel-word-count--folder-below & {
flex-wrap: wrap;
}
.novel-word-count--folder-below &-content {
flex: 100%;
}
.novel-word-count--folder-below &::after {
display: inline-block;
margin-top: -2px;
max-width: 100%;
overflow: hidden;
padding: 0;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
.novel-word-count-settings-header {
align-items: baseline;
}
.novel-word-count-donation-line {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.novel-word-count-hr {
border-color: #ccc;
margin: 1rem 0;
}