X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fdevtools%2Ffont-inspector.css;fp=LCARStrek%2Fdevtools%2Ffont-inspector.css;h=c64b981f8a286fea1fa112902b0dd947e82a9878;hb=dc9d5d64a3f915cb832f43050545b432f33504f7;hp=0000000000000000000000000000000000000000;hpb=ecfc58b0361c617fa298d4b1bb69ea2484d37de2;p=themes.git diff --git a/LCARStrek/devtools/font-inspector.css b/LCARStrek/devtools/font-inspector.css new file mode 100644 index 00000000..c64b981f --- /dev/null +++ b/LCARStrek/devtools/font-inspector.css @@ -0,0 +1,87 @@ +* { + box-sizing: border-box; +} + +body { + display: flex; + flex-direction: column; + height: 100%; + margin: 0; + padding-bottom: 20px; +} + +#all-fonts { + padding: 0; + margin: 0; +} + +#showall { + border-radius: 300px; + border: none; + background-color: #C09070; + color: #000000; + margin: 3px; + cursor: pointer; + position: fixed; + bottom: 0; + right: 0; +} + +#showall:hover, +#showall:hover:active { + background-color: #FFCF00; + color: #000000; +} + +.font { + padding: 10px 10px; +} + +.theme-dark .font { + border-bottom: 1px solid #9C9CFF; +} + +.theme-light .font { + border-bottom: 1px solid #9C9CFF; +} + +.font:last-of-type { + border-bottom: 0; +} + +.theme-light .font:nth-child(even) { + background-color: rgba(255,159,0,.2); +} + +.font-preview { + margin-left: -4px; + height: 60px; + display: block; +} + +.font-info { + display: block; +} + +.font-name { + display: inline; +} + +.font-css-code { + max-width: 100%; + overflow: hidden; + text-overflow: ellipsis; + padding: 5px; +} + +.theme-light .font-css-code, +.theme-light .font-url { + border: 1px solid #A09090; + color: #9C9CFF; +} + +.theme-dark .font-css-code, +.theme-dark .font-url { + border: 1px solid #A09090; + color: #9C9CFF; +}