mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 17:44:32 -06:00
This fixes the binary view being broken most of the time. Line numbers should now be visible all the time. Once Microsoft allows us to controll the clamping, we should switch to that, as this relies on internal API. This commit fixes #484 & fixes #560 & fixes #885
336 lines
4.5 KiB
CSS
336 lines
4.5 KiB
CSS
/* TEMP HACK: https://github.com/Microsoft/monaco-editor/issues/349 */
|
|
.quick-open-tree .row {
|
|
margin-left: 0;
|
|
}
|
|
|
|
/*
|
|
* https://github.com/Microsoft/monaco-editor/issues/417
|
|
* Safari 10.1, fails inherit correct visibility from parent when we change the visibility of parent element from hidden to inherit, in this particular case.
|
|
*/
|
|
.monaco-editor-hover .monaco-scrollable-element {
|
|
visibility: visible;
|
|
}
|
|
|
|
body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.container-fluid {
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.navbar-default {
|
|
border: none;
|
|
border-radius: 0;
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
.navbar-brand {
|
|
padding: 0;
|
|
position: relative;
|
|
width: 185px;
|
|
}
|
|
|
|
.navbar-brand img {
|
|
position: absolute;
|
|
}
|
|
|
|
.navbar-brand img.inverse {
|
|
display: none;
|
|
}
|
|
|
|
.navbar-brand img.beta-overlay {
|
|
display: none;
|
|
}
|
|
|
|
.beta .navbar-brand img.beta-overlay {
|
|
display: block;
|
|
}
|
|
|
|
.nav.nav-tabs {
|
|
margin-bottom: 3px !important;
|
|
}
|
|
|
|
.float-link {
|
|
z-index: 100;
|
|
position: absolute;
|
|
bottom: 0.5em;
|
|
right: 2.5em;
|
|
display: inline-block;
|
|
padding: 0.25em;
|
|
font-size: x-small;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.template {
|
|
display: none;
|
|
}
|
|
|
|
.compiler-picker {
|
|
min-width: 14em;
|
|
}
|
|
|
|
.function-picker {
|
|
min-width: 14em;
|
|
width: 99%;
|
|
}
|
|
|
|
.gccdump-pass-picker {
|
|
min-width: 14em;
|
|
width: 99%;
|
|
}
|
|
|
|
li.tweet {
|
|
padding: 3px 20px;
|
|
}
|
|
|
|
.diff-picker {
|
|
max-width: 20em;
|
|
width: 20em;
|
|
}
|
|
|
|
.diff-picker .compiler {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.diff-picker .options {
|
|
padding-left: 0.5em;
|
|
font-size: small;
|
|
}
|
|
|
|
.diff-picker .meta {
|
|
text-align: right;
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-size: x-small;
|
|
}
|
|
|
|
.diff-picker .meta li {
|
|
padding: 0;
|
|
display: inline;
|
|
margin: 0 10px 0 0;
|
|
}
|
|
|
|
input.options {
|
|
width: 98%;
|
|
margin-left: 0.25em;
|
|
margin-right: 0.25em;
|
|
}
|
|
|
|
#root {
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.address {
|
|
display: inline;
|
|
}
|
|
|
|
.opcodes {
|
|
display: inline;
|
|
}
|
|
|
|
.opcode {
|
|
margin-right: 0.2em;
|
|
}
|
|
|
|
.binary-side {
|
|
text-align: left;
|
|
float: left;
|
|
clear: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.highlighted {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.lm_splitter.lm_vertical .lm_drag_handle {
|
|
height: 10px;
|
|
top: -2.5px;
|
|
}
|
|
|
|
.lm_splitter.lm_horizontal .lm_drag_handle {
|
|
width: 10px;
|
|
left: -2.5px;
|
|
}
|
|
|
|
pre.content {
|
|
width: 100%;
|
|
padding-top: 3px;
|
|
padding-bottom: 0;
|
|
margin-bottom: 0;
|
|
overflow: auto;
|
|
}
|
|
|
|
pre.content p {
|
|
margin: 0;
|
|
}
|
|
|
|
pre.content.wrap {
|
|
word-break: keep-all;
|
|
overflow-x: hidden;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.compile-time {
|
|
font-size: x-small;
|
|
font-style: italic;
|
|
}
|
|
|
|
.url-parse-info {
|
|
font-size: small;
|
|
margin-top: 1em;
|
|
font-style: italic;
|
|
}
|
|
|
|
.libs-container ul {
|
|
float: left;
|
|
clear: none;
|
|
}
|
|
|
|
.lib-list {
|
|
margin: 3px;
|
|
padding: 3px;
|
|
text-align: left;
|
|
}
|
|
|
|
.lib-header {
|
|
padding-left: 1px;
|
|
}
|
|
|
|
.lib-item {
|
|
list-style: none;
|
|
}
|
|
|
|
.lib-checkbox {
|
|
display: inline;
|
|
}
|
|
|
|
.lib-label {
|
|
display: inline;
|
|
padding: 5px 0 5px 5px;
|
|
}
|
|
|
|
.lib-separator {
|
|
margin: 3px 0 3px 0;
|
|
padding: 0 2px 0 2px;
|
|
}
|
|
|
|
.small-v-scrollable {
|
|
max-height: 8em;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.linked-code-decoration-margin {
|
|
width: 5px !important;
|
|
left: 3px;
|
|
}
|
|
|
|
.linked-code-decoration-inline {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.modal-content .well {
|
|
border: 1px solid;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
#notifications {
|
|
max-width: 33%;
|
|
position: fixed;
|
|
bottom: 3px;
|
|
right: 5px;
|
|
}
|
|
|
|
.notification {
|
|
padding: 5px;
|
|
border-radius: 5px;
|
|
color: black;
|
|
}
|
|
|
|
.font-size-list {
|
|
min-width: 43px !important;
|
|
width: auto;
|
|
}
|
|
|
|
.font-option {
|
|
text-align: center;
|
|
}
|
|
|
|
.opt-decoration {
|
|
width: 8px !important;
|
|
left: 3px;
|
|
}
|
|
|
|
.compiler-list {
|
|
display: block;
|
|
overflow: auto;
|
|
}
|
|
|
|
.cfg-toolbar table {
|
|
width: 100%;
|
|
}
|
|
|
|
.graph-placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.clear-cache {
|
|
position: absolute;
|
|
right: 0;
|
|
}
|
|
|
|
.change-language {
|
|
line-height: 14px;
|
|
min-width: 100px !important;
|
|
}
|
|
|
|
.pane-dropdown button {
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
|
|
.full-compiler-name {
|
|
padding-left: 3px;
|
|
}
|
|
|
|
.header-fontscale {
|
|
padding-right: 1em;
|
|
}
|
|
|
|
.local-file {
|
|
display: none;
|
|
}
|
|
|
|
.save-file {
|
|
display: none;
|
|
}
|
|
|
|
.save-btn {
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.opens-new-window {
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.lib-described {
|
|
text-decoration: underline;
|
|
text-decoration-style: dashed;
|
|
cursor: help;
|
|
}
|
|
|
|
.modal-footer {
|
|
border-top: none;
|
|
}
|