X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcommon.css;h=07c7e20d89a3792d0bd867ca3da7ddf0218d32e8;hp=e1c389e961b5f279b93bb91edb54916db02ef0c5;hb=64d04cff9b53a4df8094b4278243df7ae2c9b251;hpb=cac2a998599d19515fc59e7a93b9f8db9ca3a903 diff --git a/LCARStrek/browser/devtools/common.css b/LCARStrek/browser/devtools/common.css index e1c389e9..07c7e20d 100644 --- a/LCARStrek/browser/devtools/common.css +++ b/LCARStrek/browser/devtools/common.css @@ -14,10 +14,16 @@ notification { /* End LCARStrek toolbox rules */ +:root { + font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; + --monospace-font-family: "Liberation Mono", Consolas, "Courier New", monospace; + --monospace-font-size: 12px; +} /* Font for code */ .devtools-monospace { - font: 12px "Liberation Mono", Consolas, "Courier New", monospace; + font-family: var(--monospace-font-family); + font-size: var(--monospace-font-size); } /* Splitters */ @@ -275,6 +281,47 @@ notification { height: 120px; background-color: transparent; border: none; + padding: 0; +} + +#color-value { + color: #FF9F00; +} + +#color-value.highlight { + color: #FFCF00; +} + +/* Links to source code, like displaying `myfile.js:45` */ + +.devtools-source-link { + font-family: var(--monospace-font-family); + color: var(--theme-text-blue); + cursor: pointer; + white-space: nowrap; + display: flex; + align-self: flex-start; + text-decoration: none; + font-size: 11px; + width: 12em; /* probably should be changed for each tool */ +} + +.devtools-source-link:hover { + text-decoration: underline; +} + +.devtools-source-link > .filename { + text-overflow: ellipsis; + text-align: end; + overflow: hidden; + margin: 2px 0px; + cursor: pointer; +} + +.devtools-source-link > .line-number { + flex: none; + margin: 2px 0px; + cursor: pointer; } /* === END common.inc.css === */