mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 07:28:01 -06:00
Fix dark theme
This commit is contained in:
+5
-6
@@ -19,13 +19,8 @@ body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.container-fluid {
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.navbar-godbolt {
|
||||
padding-left: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
@@ -52,6 +47,10 @@ body {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.btn-light:focus {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.float-link {
|
||||
z-index: 100;
|
||||
position: absolute;
|
||||
|
||||
@@ -4,20 +4,20 @@ body {
|
||||
background-color: #333 !important;
|
||||
}
|
||||
|
||||
.navbar-default {
|
||||
.navbar-light {
|
||||
background-color: #333 !important;
|
||||
}
|
||||
|
||||
.navbar-default .navbar-nav li a {
|
||||
.navbar-light .navbar-nav li a {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.navbar-default .navbar-nav li a:hover {
|
||||
.navbar-light .navbar-nav li a:hover {
|
||||
color: #fff !important;
|
||||
background-color: #23272b !important;
|
||||
}
|
||||
|
||||
.navbar-default ul.nav li:hover {
|
||||
.navbar-light ul.nav li:hover {
|
||||
color: #fff !important;
|
||||
background-color: #23272b !important;
|
||||
}
|
||||
@@ -92,27 +92,27 @@ a.navbar-brand img.logo.normal {
|
||||
}
|
||||
|
||||
.selectize-control.single .selectize-input {
|
||||
color: #eee !important;
|
||||
color: #f2f2f2 !important;
|
||||
background: #666 linear-gradient(to bottom, #555, #222) !important;
|
||||
}
|
||||
|
||||
.selectize-dropdown {
|
||||
color: #aaa !important;
|
||||
color: #f2f2f2 !important;
|
||||
background-color: #666 !important;
|
||||
}
|
||||
|
||||
.selectize-control.single .selectize-input.disabled {
|
||||
color: #eee !important;
|
||||
color: #f2f2f2 !important;
|
||||
background: #000 !important;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
color: #eee !important;
|
||||
color: #f2f2f2 !important;
|
||||
background-color: #303030 !important;
|
||||
}
|
||||
|
||||
.dropdown-menu li a {
|
||||
color: #eee !important;
|
||||
color: #f2f2f2 !important;
|
||||
}
|
||||
|
||||
.dropdown-menu li a:hover {
|
||||
@@ -186,6 +186,20 @@ input {
|
||||
}
|
||||
|
||||
.btn-light {
|
||||
color: #e2e2e2 !important;
|
||||
background-color: #474747 !important;
|
||||
border-color: #272727 !important;
|
||||
}
|
||||
|
||||
.btn-light.active {
|
||||
color: #f2f2f2 !important;
|
||||
}
|
||||
|
||||
.btn-light.disabled {
|
||||
color: #aaa !important;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: #474747 !important;
|
||||
}
|
||||
|
||||
@@ -285,3 +299,12 @@ input {
|
||||
color: #006400;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.input-group-text {
|
||||
background-color: #a1a1a1 !important;
|
||||
border-color: #818181 !important;
|
||||
}
|
||||
|
||||
.custom-select {
|
||||
background-color: #818181 !important;
|
||||
}
|
||||
|
||||
@@ -175,3 +175,12 @@ a.navbar-brand img.logo.normal {
|
||||
background: #f0f0f0;
|
||||
border-color: #67c52a;
|
||||
}
|
||||
|
||||
.navbar-nav a.nav-link {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.navbar-nav a.nav-link:hover {
|
||||
background-color: #d8d9da;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
+2
-2
@@ -34,7 +34,7 @@ html(lang="en")
|
||||
button.close(type="button" aria-hidden="true") ×
|
||||
ul.navbar-nav.navbar-right
|
||||
li.nav-item
|
||||
a.nav-link#share(href="javascript:;") Share
|
||||
a.nav-link#share(href="javascript:;") Share#[b.caret]
|
||||
li.nav-item.dropdown
|
||||
a.nav-link.dropdown-toggle#otherDropdown(href="javascript:;" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false") Other#[b.caret]
|
||||
div.dropdown-menu.dropdown-menu-right(aria-labelledby="otherDropdown")
|
||||
@@ -61,7 +61,7 @@ html(lang="en")
|
||||
if policies.cookies.enabled || policies.privacy.enabled
|
||||
li.nav-item.dropdown
|
||||
a.nav-link.dropdown-toggle#policiesDropdown(href="javascript:;" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false") Policies#[b.caret]
|
||||
div.dropdown-menu(aria-labelledby="policiesDropdown")
|
||||
div.dropdown-menu.dropdown-menu-right(aria-labelledby="policiesDropdown")
|
||||
a.dropdown-item#cookiesa(href="javascript:;") Cookie policy
|
||||
a.dropdown-item#privacy(href="javascript:;") Privacy policy
|
||||
#root
|
||||
|
||||
+1
-1
@@ -179,9 +179,9 @@
|
||||
|
||||
#gccdump
|
||||
.top-bar.btn-toolbar.bg-light(role="toolbar")
|
||||
include font-size
|
||||
.btn-group.btn-group-sm(role="group")
|
||||
select.gccdump-pass-picker(placeholder="Select a pass...")
|
||||
include font-size
|
||||
.btn-group.btn-group-sm.dump-filters
|
||||
.button-checkbox
|
||||
button.btn.btn-light.btn-sm.active(type="button" title="Show Tree pass" data-bind="treeDump" aria-pressed="true")
|
||||
|
||||
Reference in New Issue
Block a user