X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcommon.css;h=7c9a2f4929876802cc29d1096eac15073d369c3b;hb=1437a48cc96cb2df0e583660e83049b5bffa7b8f;hp=cd3e746f3fad05111952d16a28e194d4c22b71d7;hpb=832af407786439f1a70793cdb2ab59af47ac9486;p=themes.git diff --git a/LCARStrek/browser/devtools/common.css b/LCARStrek/browser/devtools/common.css index cd3e746f..7c9a2f49 100644 --- a/LCARStrek/browser/devtools/common.css +++ b/LCARStrek/browser/devtools/common.css @@ -14,10 +14,21 @@ 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); +} + +/* Bottom-docked toolbox minimize transition */ +.devtools-toolbox-bottom-iframe { + transition: margin-bottom .1s; } /* Splitters */ @@ -37,6 +48,11 @@ notification { cursor: e-resize; } +.devtools-horizontal-splitter.disabled, +.devtools-side-splitter.disabled { + pointer-events: none; +} + /* In-tools sidebar */ .devtools-toolbox-side-iframe { @@ -286,5 +302,36 @@ notification { 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 === */