mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-13 18:57:29 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
46
toolkit/themes/shared/narrate.css
Normal file
46
toolkit/themes/shared/narrate.css
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
.narrating {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
body.light .narrating {
|
||||
background-color: #ffc;
|
||||
}
|
||||
|
||||
body.sepia .narrating {
|
||||
background-color: #e0d7c5;
|
||||
}
|
||||
|
||||
body.dark .narrating {
|
||||
background-color: #242424;
|
||||
}
|
||||
|
||||
.narrate-word-highlight {
|
||||
position: absolute;
|
||||
display: none;
|
||||
transform: translate(-50%, calc(-50% - 2px));
|
||||
z-index: -1;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 7px;
|
||||
transition: left 0.1s ease;
|
||||
}
|
||||
|
||||
.narrating > .narrate-word-highlight {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.narrate-word-highlight.newline {
|
||||
transition: none;
|
||||
}
|
||||
|
||||
body.light .narrate-word-highlight {
|
||||
border-bottom-color: #ffe087;
|
||||
}
|
||||
|
||||
body.sepia .narrate-word-highlight {
|
||||
border-bottom-color: #bdb5a5;
|
||||
}
|
||||
|
||||
body.dark .narrate-word-highlight {
|
||||
border-bottom-color: #6f6f6f;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue