X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcommon.css;h=07c7e20d89a3792d0bd867ca3da7ddf0218d32e8;hp=6c9eafc9a3089fc54b687b6a8b314013bdd1d71f;hb=64d04cff9b53a4df8094b4278243df7ae2c9b251;hpb=3d64e0cebebe213f541634b9a0b2c6e7ba84fcfb diff --git a/LCARStrek/browser/devtools/common.css b/LCARStrek/browser/devtools/common.css index 6c9eafc9..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 */ @@ -91,7 +97,7 @@ notification { } .devtools-autocomplete-listbox > richlistitem > .autocomplete-count { - text-align: right; + text-align: end; } /* Rest of the dark and light theme */ @@ -175,9 +181,24 @@ notification { min-width: 100px; max-width: 400px; } -.devtools-tooltip[clamped-dimensions] .panel-arrowcontent { +.devtools-tooltip[clamped-dimensions-no-min-height] { + min-height: 0; + max-height: 400px; + min-width: 100px; + max-width: 400px; +} +.devtools-tooltip[clamped-dimensions-no-max-or-min-height] { + min-width: 400px; + max-width: 400px; +} +.devtools-tooltip[clamped-dimensions] .panel-arrowcontent, +.devtools-tooltip[clamped-dimensions-no-min-height] .panel-arrowcontent, +.devtools-tooltip[clamped-dimensions-no-max-or-min-height] .panel-arrowcontent { overflow: hidden; } +.devtools-tooltip[wide] { + max-width: 600px; +} /* Tooltip: Simple Text */ @@ -260,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 === */