Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draft branch for bin/deploy to testy. please ignore #16349

Draft
wants to merge 315 commits into
base: master
Choose a base branch
from
Draft
Changes from 3 commits
Commits
Show all changes
315 commits
Select commit Hold shift + click to select a range
72f5925
.
schlawg Sep 1, 2023
8bb6b5b
.
schlawg Sep 2, 2023
4aadde9
.
schlawg Sep 2, 2023
0232cbb
merge
schlawg Sep 2, 2023
e65ab09
gah
schlawg Sep 2, 2023
e9e99fa
.
schlawg Sep 2, 2023
05c7a49
Merge remote-tracking branch 'origin/local-play' into local-play
schlawg Sep 2, 2023
7bec94b
.
schlawg Sep 4, 2023
0909d4b
.
schlawg Sep 5, 2023
52ae825
.
schlawg Sep 6, 2023
58040b0
.
schlawg Sep 6, 2023
c95481b
.
schlawg Sep 6, 2023
0d0cbb6
merge
schlawg Sep 7, 2023
861a961
merge
schlawg Sep 7, 2023
df9fae5
merge
schlawg Sep 7, 2023
c60addb
merge
schlawg Sep 7, 2023
c4fe143
Merge remote-tracking branch 'origin/ui-licon-scss' into local-play
schlawg Sep 7, 2023
8ac757a
.
schlawg Sep 7, 2023
ff1e6fa
.
schlawg Sep 7, 2023
c449414
.
schlawg Sep 7, 2023
e5edcab
gah
schlawg Sep 8, 2023
30529d5
gah
schlawg Sep 8, 2023
631e578
Merge branch 'ui-html-dialog-element' into local-play
schlawg Sep 9, 2023
c96cbd1
gah
schlawg Nov 1, 2023
5ac91f9
gah
schlawg Nov 1, 2023
d19dde9
fishes
schlawg Nov 2, 2023
1e0ba9c
gah
schlawg Nov 3, 2023
44397f7
gah
schlawg Nov 3, 2023
c88edb5
stockfish web testing
schlawg Nov 6, 2023
030dc64
merge
schlawg Nov 10, 2023
cbe0d49
gah
schlawg Nov 11, 2023
560df8b
gah
schlawg Nov 11, 2023
628e799
refacterz
schlawg Nov 12, 2023
a734243
gfx
schlawg Nov 13, 2023
195f180
.
schlawg Nov 13, 2023
36e03de
merge
schlawg Nov 14, 2023
062adac
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Nov 15, 2023
2d917e0
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Nov 15, 2023
506f694
.
schlawg Nov 16, 2023
e435990
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Nov 16, 2023
2a20f27
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Nov 17, 2023
298aba7
gah
schlawg Nov 18, 2023
198435c
merge
schlawg Nov 20, 2023
51a135a
gah
schlawg Nov 22, 2023
53c7947
gah
schlawg Nov 23, 2023
8b6869a
gah
schlawg Nov 24, 2023
5c11843
merge
schlawg Nov 25, 2023
48f311b
Merge remote-tracking branch 'origin/ui-persistent-logging' into loca…
schlawg Nov 27, 2023
e903f77
merge
schlawg Nov 27, 2023
56f7611
merge
schlawg Nov 28, 2023
0c76831
merge
schlawg Nov 28, 2023
83a3421
merge
schlawg Nov 29, 2023
5251374
gah
schlawg Nov 29, 2023
ef5d876
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Nov 30, 2023
f1e8b9b
Merge branch 'improved-persistent-logging' into local-play
schlawg Nov 30, 2023
a2222ec
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Nov 30, 2023
a32ff21
gah
schlawg Dec 1, 2023
cda72b8
gah
schlawg Dec 3, 2023
a8f2cc4
murge
schlawg Dec 29, 2023
358ea04
murge
schlawg Dec 29, 2023
29465d5
gah
schlawg Dec 30, 2023
92a28b1
gah
schlawg Jan 1, 2024
a6f899b
fix logging
schlawg Jan 2, 2024
8a8e8e8
gah
schlawg Jan 2, 2024
8828051
gah
schlawg Jan 2, 2024
f90be35
Merge remote-tracking branch 'origin/local-play' into local-play
schlawg Jan 2, 2024
b2a64d8
need to find out why ui/build takes 4x as long on this branch...
schlawg Mar 16, 2024
076344c
wtf, builds are 3x slower this branch
schlawg Mar 16, 2024
5779776
running out of ideas i never had
schlawg Mar 16, 2024
14ee685
is it the lockfile?
schlawg Mar 16, 2024
d426f08
at long last snabbdom 3.6 is slain and the kingdom is saved
schlawg Mar 16, 2024
ee29ce9
wip
schlawg Apr 17, 2024
f63a89d
wip
schlawg Apr 17, 2024
9c2eee4
merge from ui-improve-dasher
schlawg Apr 17, 2024
eab8e25
wip
schlawg Apr 22, 2024
a65c26e
move around the things
schlawg Apr 22, 2024
926f698
gah
schlawg Apr 23, 2024
bf55188
gah
schlawg Apr 24, 2024
36dcf13
less broken than local-canary
schlawg May 4, 2024
4183d2c
latest from master
schlawg May 13, 2024
4bcf888
wip
schlawg May 14, 2024
6deea38
haw haw
schlawg May 15, 2024
bfd2700
gah
schlawg May 17, 2024
bd72933
Merge remote-tracking branch 'upstream/master' into local-play
schlawg May 17, 2024
35ce607
gah
schlawg May 18, 2024
45d1fef
gah
schlawg May 18, 2024
0e8b530
gah
schlawg May 20, 2024
2c89b0a
Merge remote-tracking branch 'upstream/master' into local-play
schlawg May 20, 2024
c73315e
Merge branch 'mismatched-asset-urls' into local-play
schlawg May 21, 2024
57444bc
Merge branch 'sortablejs' into local-play
schlawg May 21, 2024
366e98d
gah
schlawg May 21, 2024
16cffe6
prior to adding bot ranking
schlawg May 26, 2024
d21f414
Merge remote-tracking branch 'upstream/master' into local-play
schlawg May 26, 2024
a688b3d
backup
schlawg May 29, 2024
14b824d
goness
schlawg May 29, 2024
3ea3338
Merge remote-tracking branch 'upstream/master' into local-play
schlawg May 30, 2024
4dbc4f1
gah
schlawg May 30, 2024
078b837
wip
schlawg Jun 1, 2024
db69506
merge
schlawg Jun 2, 2024
472de34
wip
schlawg Jun 11, 2024
d1e6cf7
wip
schlawg Jun 11, 2024
96c7756
wip
schlawg Jun 12, 2024
4363631
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Jun 12, 2024
3277ecd
gah
schlawg Jun 15, 2024
2d20c0e
gah
schlawg Jun 15, 2024
a1afd51
gah
schlawg Jun 18, 2024
c6a2f84
merge
schlawg Jun 21, 2024
eff6c89
wip
schlawg Jun 21, 2024
2b74e32
.gitignore
schlawg Jun 21, 2024
506f0ad
gah
schlawg Jun 22, 2024
ca63538
gah
schlawg Jun 22, 2024
5256796
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Jun 22, 2024
9061953
this f*cking dialog will kill me one day
schlawg Jun 23, 2024
20711ed
gah
schlawg Jun 27, 2024
7f6aec2
gah
schlawg Jun 27, 2024
ef3e6c3
code splitting obviates site.dialog
schlawg Jun 27, 2024
076d1ee
gah
schlawg Jun 27, 2024
4560d2b
wip
schlawg Jul 3, 2024
b29fe43
wip
schlawg Jul 4, 2024
1e02047
gah
schlawg Jul 4, 2024
dba0028
gah
schlawg Jul 4, 2024
f175720
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Jul 5, 2024
7d1c937
gah
schlawg Jul 5, 2024
3b1fe12
gah
schlawg Jul 5, 2024
61e9090
refacterz
schlawg Jul 6, 2024
8376463
wip
schlawg Jul 11, 2024
1b30799
merge prior to typescript 5.5
schlawg Jul 11, 2024
a0fe79c
wip
schlawg Jul 11, 2024
130b4ba
dunno whats in this
schlawg Jul 12, 2024
54fdb57
gah
schlawg Jul 12, 2024
b9bb035
add hash linked assets
schlawg Jul 14, 2024
e2b8301
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Jul 14, 2024
a489916
we jammin
schlawg Jul 14, 2024
dc0f473
merge
schlawg Jul 15, 2024
f0c5704
testing add-hooks
schlawg Jul 16, 2024
4fc0b4f
try pre-push again
schlawg Jul 16, 2024
106a830
pre-merge
schlawg Jul 17, 2024
069c14c
apply allan joseph ci build fix
schlawg Jul 17, 2024
b964fa5
wip
schlawg Jul 21, 2024
81051be
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Jul 21, 2024
830cb6c
bot editor fixup
schlawg Jul 22, 2024
29bd788
add export study to libot
schlawg Jul 22, 2024
0ab17e2
gah
schlawg Jul 26, 2024
dc8dfa9
wip
schlawg Jul 26, 2024
4bc72d1
mobile
schlawg Jul 28, 2024
2844a5b
bot & asset crud for bot dev
schlawg Jul 29, 2024
f42bb9c
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Jul 29, 2024
c0caed9
wip
schlawg Aug 1, 2024
4a8de4f
gah
schlawg Aug 2, 2024
d274168
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Aug 2, 2024
b5da6bb
ui fuckery
schlawg Aug 2, 2024
e2925c1
gah
schlawg Aug 5, 2024
d66d35c
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Aug 5, 2024
6a25e87
gah
schlawg Aug 7, 2024
e58fe6e
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Aug 7, 2024
a115ba5
wip
schlawg Aug 13, 2024
3af006e
merge
schlawg Aug 13, 2024
244676c
move isolatedDeclarations to tsconfig.base.json, and clean up all the…
schlawg Aug 13, 2024
73e9e52
remove accidental files
schlawg Aug 13, 2024
4d46b16
wip
schlawg Aug 16, 2024
029fd25
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Aug 16, 2024
14cc315
just need history dialog and we ready
schlawg Aug 17, 2024
69a2151
gah
schlawg Aug 19, 2024
7758ebe
gah
schlawg Aug 19, 2024
5e6e972
private play branch for testy
schlawg Aug 19, 2024
db8e8ca
remove cruft
schlawg Aug 19, 2024
d6c1e51
gah
schlawg Aug 19, 2024
953c92c
fix bin/deploy
schlawg Aug 19, 2024
0ab238e
gah
schlawg Aug 19, 2024
fcb8b41
moar bin/deploy
schlawg Aug 19, 2024
c6dd3fc
moar bin/deploy
schlawg Aug 19, 2024
ba76393
remove http request to self
schlawg Aug 19, 2024
f03409f
sanity check
schlawg Aug 19, 2024
b8b85c8
fix bin/deploy again
schlawg Aug 19, 2024
139cc1f
round/ctrl.ts better handles clock changes
schlawg Aug 20, 2024
63840c1
isolatedDeclarations related tweaks. also preload opening books and s…
schlawg Aug 21, 2024
39a4ada
murge
schlawg Aug 21, 2024
b6fe651
refacterz and add stuff i realized we need while making video
schlawg Aug 24, 2024
9894b3c
get rid of outdated build cruft
schlawg Aug 24, 2024
fcfbcf5
for video
schlawg Aug 24, 2024
85d6614
fix zerofish link
schlawg Aug 24, 2024
b08b93b
murge new purtier
schlawg Aug 24, 2024
d44a727
comment out button in gui
schlawg Aug 24, 2024
e236388
fix bugs found making video
schlawg Aug 25, 2024
1c8bdd0
fix style issue
schlawg Aug 25, 2024
b73cf67
push labels out to right on lhs card spreads
schlawg Aug 28, 2024
6d10c6d
handOfCards ugly right now, will fix after video
schlawg Aug 28, 2024
2edfe01
murge
schlawg Aug 28, 2024
f17de0d
minor fixes to cards & new bot dialog
schlawg Aug 29, 2024
2f17bda
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Aug 29, 2024
0a00071
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Aug 30, 2024
7190b3c
take eslint update from ui-assorted-improvements
schlawg Aug 30, 2024
d0fbc61
murge
schlawg Sep 2, 2024
38bb375
murge
schlawg Sep 5, 2024
bc8c1da
fix lint
schlawg Sep 5, 2024
2a82881
gah
schlawg Sep 5, 2024
11c4d99
murge
schlawg Sep 12, 2024
2ccbb62
add boteditor permission
schlawg Sep 12, 2024
cbb1929
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Sep 12, 2024
029ebf5
eslint
schlawg Sep 12, 2024
5d6d430
fix iterator error due to CI typings mismatch
schlawg Sep 12, 2024
cce0d12
murge
schlawg Sep 13, 2024
e3f4f6c
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Sep 13, 2024
cc300eb
merge from master
schlawg Sep 16, 2024
bdbba68
murge
schlawg Sep 18, 2024
a4de350
merge socket-test updates
schlawg Sep 18, 2024
9bd632e
Merge branch 'scala-esm-interop-cleanup' into local-play
schlawg Sep 18, 2024
67df2c7
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Sep 18, 2024
c22bd17
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Sep 19, 2024
39505c7
separate ask out from unrelated stuff in canary
schlawg Sep 25, 2024
42d9247
murge and also let everyone play with bot dev, only require BotEditor…
schlawg Sep 28, 2024
4c161c4
updates from master
schlawg Oct 5, 2024
498c84d
prettier
schlawg Oct 5, 2024
23d44c3
fix time controls on prototype setup dialog
schlawg Oct 7, 2024
c062914
no move confirm on private play
schlawg Oct 7, 2024
ac4979c
preload images on slow connections
schlawg Oct 8, 2024
6ea18eb
properly wait on preloaded images
schlawg Oct 8, 2024
170197f
rename selector -> switch
schlawg Oct 8, 2024
da3429d
fix animation glitch on first draw
schlawg Oct 8, 2024
da567c5
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Oct 9, 2024
3ce47b2
murge from master
schlawg Oct 16, 2024
7af16a3
murge
schlawg Oct 22, 2024
8e3e82c
murge
schlawg Oct 23, 2024
0529bce
prepare for multideck
schlawg Oct 24, 2024
113d9b3
buh
schlawg Oct 26, 2024
44ad966
gah
schlawg Oct 26, 2024
f049732
murge
schlawg Oct 26, 2024
c3f4143
murge
schlawg Oct 27, 2024
96f36fd
Merge remote-tracking branch 'upstream/master' into ask
schlawg Oct 27, 2024
2a09193
Merge remote-tracking branch 'upstream/master' into local-play
schlawg Oct 27, 2024
f72060e
murge
schlawg Nov 6, 2024
e2dc93c
Merge remote-tracking branch 'upstream/master' into ask
schlawg Nov 6, 2024
f2a2d8c
Merge branch 'local-play' into testy-bot-studio
schlawg Nov 6, 2024
7983b26
prettier
schlawg Nov 6, 2024
9f13de3
make tsc promise rejection fatal
schlawg Nov 6, 2024
e647454
add french language to voice rec
schlawg Dec 7, 2024
da0f9ac
fix package.json
schlawg Dec 7, 2024
0dea52c
swap static image for paused video player
schlawg Dec 14, 2024
16f0d54
close button style tweaks
schlawg Dec 14, 2024
369a67e
remove Seq
schlawg Dec 15, 2024
72eaae1
merge pinned streamer change for preview on testy
schlawg Dec 16, 2024
8872b50
comment out "ongoing" requirement to facilitate testing
schlawg Dec 16, 2024
916b6e9
resolve branch conflict
schlawg Dec 16, 2024
767d723
aaarmstark ideas
schlawg Dec 18, 2024
53ac34e
neutral look
schlawg Dec 18, 2024
a05b380
slightly less hilite on hover
schlawg Dec 18, 2024
af6e51d
remove youtube play button
schlawg Dec 19, 2024
ecbc689
aaarmstarks play button masterpiece continues to evolve
schlawg Dec 20, 2024
ae0b359
aaarmstark's masterpiece continues to evolve
schlawg Dec 20, 2024
fca5ce9
murge
schlawg Dec 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 18 additions & 14 deletions bin/gen/licon.py
Original file line number Diff line number Diff line change
@@ -32,8 +32,6 @@
object Icon extends OpaqueString[Icon]
"""

typescript_preamble = comment_preamble + '\n'

def main():
parser = argparse.ArgumentParser(description='lichess.sfd helper')
parser.add_argument('--check', action='store_true', help='report any embedded licon literals in your sources')
@@ -95,14 +93,16 @@ def gen_sources(codes):
with_type = lambda name: f'{name}: Icon'
longest = len(max(codes.keys(), key=len)) + 6

with open('../../modules/common/src/main/Licon.scala', 'w') as scala:
with open('../../modules/common/src/main/Licon.scala', 'w') as scala, \
open('../../ui/common/src/licon.ts', 'w') as ts, \
open('../../ui/common/css/abstract/_licon.scss', 'w') as scss:
scala.write(scala_preamble)
with open('../../ui/common/src/licon.ts', 'w') as ts:
ts.write(typescript_preamble)
for name in codes:
scala.write(f' val {with_type(name).ljust(longest)} = "{chr(codes[name])}" // {codes[name]:x}\n')
ts.write(f"export const {name} = '{chr(codes[name])}'; // {codes[name]:x}\n")

ts.write(comment_preamble + '\n')
scss.write(comment_preamble + '\n')
for name in codes:
scala.write(f' val {with_type(name).ljust(longest)} = "{chr(codes[name])}" // {codes[name]:x}\n')
ts.write(f"export const {name} = '{chr(codes[name])}'; // {codes[name]:x}\n")
scss.write(f"$licon-{name}: '{chr(codes[name])}'; // {codes[name]:x}\n")

def gen_fonts():
[f, name] = tempfile.mkstemp(suffix='.pe', dir='.')
@@ -122,11 +122,11 @@ def gen_fonts():
os.remove(name)


def find_replace_chars(names, do_replace):
def find_replace_chars(names, replace):
search_re = re.compile(u'([\'"]([\ue000-\uefff])[\'"])')
search_cp_re = re.compile(r'([\'"]\\u(e[0-9a-f]{3})[\'"])', re.IGNORECASE)

print('Replacing...' if do_replace else 'Checking...')
print('Replacing...' if replace else 'Checking...')

sources = []

@@ -136,12 +136,11 @@ def find_replace_chars(names, do_replace):
sources.extend([join(dir, f) for f in filter(
lambda f: \
any(map(lambda e: f.endswith(e), ['.ts', '.scala', '.scss'])) \
and not f in ['Licon.scala', 'licon.ts'],
and not f in ['Licon.scala', 'licon.ts', '_licon.scss'],
files
)])

for source in sources:
replace = do_replace and not source.endswith('.scss')
text = ''
with open(source, 'r') as f:
text = f.read()
@@ -152,7 +151,12 @@ def find_replace_chars(names, do_replace):
report = f' {source}:{line} '
ch = m.group(2) if m.group(2)[:1].lower() != 'e' else chr(int(m.group(2),16))
if replace and ch in names:
sub = f'licon.{names[ch]}'
if source.endswith('.scss'):
sub = f'$licon-{names[ch]}'
if text[m.end():m.end()+1] == ']':
sub = f"'#{{{sub}}}'"
else:
sub = f'licon.{names[ch]}'
text = text[:m.start()] + sub + text[m.end():]
report += f'{m.group(1)} -> {sub}'
else:
4 changes: 2 additions & 2 deletions ui/analyse/css/study/_buttons.scss
Original file line number Diff line number Diff line change
@@ -35,13 +35,13 @@ $c-study-button: $c-accent;

i::before {
font-size: 1.4em;
content: '';
content: $licon-X;
color: $c-bad;
margin-#{$end-direction}: 0.2rem;
}

&.on i::before {
content: '';
content: $licon-Checkmark;
color: $c-good;
}

1 change: 1 addition & 0 deletions ui/common/css/abstract/_all.scss
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
@import 'z-index';
@import 'media-queries';
@import 'variables';
@import 'licon';
@import 'uniboard';
@import 'mixins';
@import 'extends';
134 changes: 134 additions & 0 deletions ui/common/css/abstract/_licon.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
/*
* This source is generated by bin/gen/licon.py. Run licon.py after changing public/font/lichess.sfd
*
* Constant names and values are pulled from private use characters defined in the sfd file.
*
* Character names can be edited in fontforge's "glyph info" dialog, or by editing the StartChar: line that
* begins each character chunk in lichess.sfd
*
* To make these characters visible in your editor, install the lichess.ttf font (which is also generated by
* licon.py) and then add it to your editor's font list.
*
* You could google 'how to install fonts', but it is generally considered best practice to ping @1vader on
* discord about these matters.
*/

$licon-Tools: ''; // e000
$licon-Bullseye: ''; // e001
$licon-Agent: ''; // e002
$licon-Mic: ''; // e003
$licon-BarChart: ''; // e004
$licon-InfoCircle: ''; // e005
$licon-ScreenDesktop: ''; // e006
$licon-PhoneMobile: ''; // e007
$licon-Multiboard: ''; // e008
$licon-HeartOutline: ''; // e009
$licon-FlagRacingKings: ''; // e00a
$licon-Crazyhouse: ''; // e00b
$licon-Tshirt: ''; // e00c
$licon-Heart: ''; // e00d
$licon-RadioTower: ''; // e00e
$licon-BellOutline: ''; // e00f
$licon-Disc: ''; // e010
$licon-Wings: ''; // e011
$licon-DiscOutline: ''; // e012
$licon-Handset: ''; // e013
$licon-ArrowThruApple: ''; // e014
$licon-CautionTriangle: ''; // e015
$licon-Link: ''; // e016
$licon-Rabbit: ''; // e017
$licon-NodeBranching: ''; // e018
$licon-Gear: ''; // e019
$licon-DieSix: ''; // e01b
$licon-FlagKingHill: ''; // e01c
$licon-FlameBlitz: ''; // e01d
$licon-Feather: ''; // e01e
$licon-Turtle: ''; // e01f
$licon-FlagChessboard: ''; // e020
$licon-ArcheryTarget: ''; // e021
$licon-ThreeCheckStack: ''; // e022
$licon-UploadCloud: ''; // e023
$licon-ExternalArrow: ''; // e024
$licon-AnalogTv: ''; // e025
$licon-RssFeed: ''; // e026
$licon-StudyBoard: ''; // e027
$licon-Shield: ''; // e028
$licon-InkQuill: ''; // e029
$licon-Target: ''; // e02a
$licon-Crown: ''; // e02b
$licon-LineGraph: ''; // e02c
$licon-GraduateCap: ''; // e02d
$licon-PaperAirplane: ''; // e02e
$licon-ZoomIn: ''; // e02f
$licon-Expand: ''; // e030
$licon-Atom: ''; // e031
$licon-List: ''; // e032
$licon-Antichess: ''; // e033
$licon-Microscope: ''; // e034
$licon-ChasingArrows: ''; // e035
$licon-CrownElite: ''; // e036
$licon-Funnel: ''; // e037
$licon-Checkmark: ''; // e038
$licon-InternalArrow: ''; // e039
$licon-PlayTriangle: ''; // e03a
$licon-GreaterThan: ''; // e03b
$licon-LessThan: ''; // e03c
$licon-DiscBig: ''; // e03d
$licon-DiscBigOutline: ''; // e03e
$licon-X: ''; // e03f
$licon-ArrowDownRight: ''; // e040
$licon-ArrowUpRight: ''; // e041
$licon-PlusButton: ''; // e042
$licon-Reload: ''; // e043
$licon-Fire: ''; // e044
$licon-DownTriangle: ''; // e045
$licon-UpTriangle: ''; // e046
$licon-Bullet: ''; // e047
$licon-Swords: ''; // e048
$licon-JumpLast: ''; // e049
$licon-JumpFirst: ''; // e04a
$licon-JumpNext: ''; // e04b
$licon-JumpPrev: ''; // e04c
$licon-Pause: ''; // e04d
$licon-Hamburger: ''; // e04e
$licon-Globe: ''; // e04f
$licon-Book: ''; // e050
$licon-BarGraph: ''; // e051
$licon-Keypad: ''; // e052
$licon-Berserk: ''; // e053
$licon-Padlock: ''; // e054
$licon-FlagOutline: ''; // e055
$licon-BubbleSpeech: ''; // e056
$licon-BubbleConvo: ''; // e057
$licon-Envelope: ''; // e058
$licon-Group: ''; // e059
$licon-Trophy: ''; // e05a
$licon-ThumbsUp: ''; // e05b
$licon-Back: ''; // e05c
$licon-CautionCircle: ''; // e05d
$licon-NotAllowed: ''; // e05e
$licon-RandomColor: ''; // e05f
$licon-Pencil: ''; // e060
$licon-Cogs: ''; // e061
$licon-Tag: ''; // e062
$licon-Clock: ''; // e063
$licon-Trash: ''; // e064
$licon-User: ''; // e065
$licon-StarOutline: ''; // e066
$licon-Star: ''; // e067
$licon-MoreTriangle: ''; // e068
$licon-Eye: ''; // e069
$licon-Power: ''; // e06a
$licon-Download: ''; // e06b
$licon-Search: ''; // e06c
$licon-Forward: ''; // e06d
$licon-UltraBullet: ''; // e06e
$licon-Storm: ''; // e06f
$licon-Clipboard: ''; // e070
$licon-Cancel: ''; // e071
$licon-Ibeam: ''; // e072
$licon-Voice: ''; // e073
$licon-Mask: ''; // e074
$licon-Move: ''; // e075
$licon-OneHalf: ''; // e076
$licon-Mute: ''; // e077
16 changes: 8 additions & 8 deletions ui/common/css/base/_data-icon.scss
Original file line number Diff line number Diff line change
@@ -24,14 +24,14 @@
// mirror arrow icons in RTL

@if $direction == 'rtl' {
[data-icon=''],
[data-icon=''],
[data-icon=''],
[data-icon=''],
[data-icon=''],
[data-icon=''],
[data-icon=''],
[data-icon=''] {
[data-icon='#{$licon-Wings}'],
[data-icon='#{$licon-PlayTriangle}'],
[data-icon='#{$licon-GreaterThan}'],
[data-icon='#{$licon-LessThan}'],
[data-icon='#{$licon-JumpFirst}'],
[data-icon='#{$licon-JumpPrev}'],
[data-icon='#{$licon-JumpNext}'],
[data-icon='#{$licon-JumpLast}'] {
&:not(.no-mirror)::before {
display: inline-block;
transform: scaleX(-1);
4 changes: 2 additions & 2 deletions ui/common/css/base/_util.scss
Original file line number Diff line number Diff line change
@@ -16,12 +16,12 @@
@extend %data-icon;

margin-right: 0.2em;
content: '';
content: $licon-ArrowUpRight;
}

bad.rp {
&::before {
content: '';
content: $licon-ArrowDownRight;
}
}

10 changes: 5 additions & 5 deletions ui/common/css/component/_color-icon.scss
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
.color-icon {
@if $theme-light {
&.white::before {
content: '';
content: $licon-DiscBigOutline;
}

&.black::before {
content: '';
content: $licon-DiscBig;
}
} @else {
&.white::before {
content: '';
content: $licon-DiscBig;
}

&.black::before {
content: '';
content: $licon-DiscBigOutline;
}
}

&.random::before {
content: '';
content: $licon-RandomColor;
}
}
6 changes: 3 additions & 3 deletions ui/common/css/component/_flash.scss
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
&::before {
@extend %data-icon;

content: '';
content: $licon-Checkmark;
@include margin-inline-end(1em);
font-size: 1.5em;
}
@@ -25,7 +25,7 @@
color: $c-warn-over;

&::before {
content: '';
content: $licon-InfoCircle;
}
}

@@ -34,7 +34,7 @@
color: $c-bad-over;

&::before {
content: '';
content: $licon-CautionCircle;
}
}
}
2 changes: 1 addition & 1 deletion ui/common/css/component/_friend-box.scss
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@

.line::before {
color: $c-good;
content: '';
content: $licon-Disc;
}
}

4 changes: 2 additions & 2 deletions ui/common/css/component/_mselect.scss
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ $c-mselect: $c-primary;
&::after {
@extend %data-icon;

content: '';
content: $licon-MoreTriangle;
font-size: 70%;
color: $c-mselect;
@include margin-inline-start(0.4em);
@@ -60,7 +60,7 @@ $c-mselect: $c-primary;
&::after {
@extend %data-icon;

content: '';
content: $licon-Checkmark;
flex: 1 1 100%;
text-align: right;
}
2 changes: 1 addition & 1 deletion ui/common/css/component/_reconnecting.scss
Original file line number Diff line number Diff line change
@@ -45,6 +45,6 @@ $recon-height: 2.5rem;
}

.online &::before {
content: '';
content: $licon-DiscBig;
}
}
8 changes: 4 additions & 4 deletions ui/common/css/component/_user-link.scss
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@

&.online .line {
&::before {
content: '';
content: $licon-Disc;
}

color: $c-good;
@@ -34,15 +34,15 @@
}

&::before {
content: '';
content: $licon-DiscOutline;
}

&.patron::before {
content: '' !important;
content: $licon-Wings !important;
}

&.moderator::before {
content: '';
content: $licon-Agent;
}
}
}
Loading