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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
.table
$row-min-height: 48px
tr td
height: $row-min-height
///////////////////////
.page-paint-raw
&--selected
td:first-child
position: relative
&::before
@include fit-positions
content: ""
width: 3px
background-color: $info
position: absolute
///////////////////////
.page-paint-row
&--active
// font-weight: bold
&--trash
text-decoration: line-through
///////////////////////
.doc-chooser
$offset-top: 3px // flex alignment won't work, hence empirical value
padding-top: $offset-top
text-align: center
///////////////////////
.rating-group
$offset-top: 3px // flex alignment won't work, hence empirical value
display: flex
padding-top: $offset-top
&__action
// @XXX Glyphicon icons lack of homogeneous width
width: 14px
margin-right: space-x(1)
///////////////////////////////////////////////////:
.ngrams-table-search-button
.input-group-text
// @XXX Glyphicon icons lack of homogeneous width
width: 41px
// @XXX Bootstrap adding unwanted `z-index` on "_input-group.scss"
z-index: initial
///////////////////////////////////////////////////:
.ngrams-table-container
&__header
display: flex
align-items: flex-start
&__item
padding: $card-spacer-y $card-spacer-x
&:not(:first-child)
margin-left: space-x(1)
&:not(:last-child)
margin-right: space-x(1)
&__add-term
// struggling to create harmonious vertical gutters due to Bootstrap adding
// helper classes surrounding the element
$offset-top: -8px
$offset-bottom: 12px
margin-top: $offset-top
margin-bottom: $offset-bottom
&__footer
padding: $card-spacer-y $card-spacer-x
&__item
text-align: center
///////////////////////////////////////////////////:
.ngrams-tree-edit-real
// empirical value fitting the best size of the render tree
$min-with: 416px
min-width: $min-with
width: fit-content // growing purpose
border-color: $primary
margin-top: space-x(2)
margin-bottom: space-x(2)
&__actions
display: flex
margin-top: space-x(2)
.b-button
margin-right: space-x(1)
.ngrams-tree-loaded-node a:hover
text-decoration: line-through
//////////////////////////////////////////////////
.loaded-ngrams-table-header
text-align: center
margin-top: space-x(1.5)
margin-bottom: space-x(1.5)
&__icon
font-size: 16px
&__text
font-size: 22px
font-weight: bold
font-family: $headings-font-family
//////////////////////////////////////////////////
.ngrams-tree-loaded-node
&--first-child::before,
&--grand-child::before
color: $gray-400
font-size: 11px
margin-right: space-x(0.5)
@include right-handed
content: "└"
@include left-handed
content: "┘"
&--first-child
// empirical value where the child separator aligns with its parent text
$child-offset: -2px
margin-left: -2px
&--grand-child
// empirical value where the child separator aligns with its parent text
$child-offset: 13px
margin-left: 13px
////////////////////////////////////////////////////////
.table-header-rename
margin-bottom: space-x(1)
&__title
display: flex
align-items: center
&__text
font-size: $h3-font-size
font-family: $headings-font-family
&__line
// (?) This is a peculiar line directly coming from the legacy style
// It originaly was a solid 2px black one, that added to much
// emphasize comparing to the surrounding gray border and lighter
// element (font, icon, etc)
//
// As far as it goes, we kept it for inheritance, but without more
// previous decision on it, we can only make assumption here. Maybe
// the line was intended to bring the page title out, as we can see
// on the likes on some academing print paper
border-bottom: 1px solid $gray-200
border-top: none
// (?) strange behavior where browser engine add it by itself
height: 0
flex-grow: 1
margin-left: space-x(4)
margin-right: space-x(4)
&__cache-toolbar
width: $topbar-fixed-button-width
margin-left: $topbar-item-margin
margin-right: $topbar-item-margin
.table-header-rename-edition
margin-top: space-x(1)
padding: $card-spacer-y $card-spacer-y
.form-group
display: flex
align-items: baseline
margin-bottom: space-x(0.75)
// remove "bootstrap" not-needed-here rule
flex-wrap: initial
.form-group__label .b-icon
// @XXX Glyphicon icons lack of homogeneous width
$icon-width: 16px
margin-right: space-x(1)
width: $icon-width
font-size: 14px
text-align: center