git ssb

16+

Dominic / patchbay



Commit 3f492d0842220c7734124da1dbd5752a49994324

hack hypertabs to use fontAwesome close symbol

mixmix committed on 11/6/2018, 9:03:49 PM
Parent: fec69b0777e88c6df42090793aa3e1e9fdc142fd

Files changed

app/styles/mcss/hypertabs.mcsschanged
app/styles/mcss/hypertabs.mcssView
@@ -61,21 +61,20 @@
6161 }
6262
6363 a.close {
6464 visibility: hidden
65- font-family: monospace
66- font-weight: 600
65 + font-family: FontAwesome
6766 line-height: 1rem
67 + font-weight: 300
6868
69- width: .9rem
70- height: .9rem
71- /* border-radius: 1rem */
72-
73- margin-right: .3rem
74-
7569 display: flex
7670 justify-content: center
7771
72 + ::before {
73 + content: '\f00d'
74 + /* visibility: visible */
75 + }
76 +
7877 :hover {
7978 background: var(--page-background)
8079 color: var(--page-color)
8180 }
@@ -83,9 +82,11 @@
8382
8483 :hover {
8584 background: var(--app-border-background-mid)
8685 a.link { color: var(--app-border-color) }
87- a.close { visibility: visible }
86 + a.close {
87 + ::before { visibility: visible }
88 + }
8889 transition: all .2s ease-in
8990 }
9091
9192 -selected {
@@ -99,13 +100,12 @@
99100 max-width: calc(100% - 2rem)
100101 cursor: default
101102 }
102103 a.close {
103- visibility: visible
104104 color: var(--page-color)
105105
106- :hover {
107- }
106 + ::before { visibility: visible }
107 + :hover { }
108108 }
109109
110110 :hover {
111111 background: var(--page-background)

Built with git-ssb-web