X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/7e8dc7cba228431faf325909b2a2409dad46c056..0d62343db7cf98dda603d338e1948a9a09af5862:/css/unrealircd-admin.css diff --git a/css/unrealircd-admin.css b/css/unrealircd-admin.css index 1a42402..04e2c4d 100644 --- a/css/unrealircd-admin.css +++ b/css/unrealircd-admin.css @@ -15,32 +15,10 @@ margin: 2px; } -.form-control { - height: 10px; - margin: 5px; -} - .short-form-control { width: 70%; } -.nav-item { - margin-left: 2px; - margin-right: 2px; -} -.navbar-nav li> { - border-radius: 4px; -} -.navbar-nav li>a:hover,.navbar-nav li.active { - color: white; - background-color: #4B86EE; - border-radius: 4px; -} -.navbar-nav li>a:hover,.navbar-nav li>a:focus { - color: white; - background-color: #6ca0f8; - border-radius: 4px; -} .align_right { width: 10px; @@ -66,15 +44,6 @@ text-align: right; } - - - -*, -*:before, -*:after { - box-sizing: inherit; - /* enable the "border-box effect" everywhere */ -} body { padding-bottom: 120px; } @@ -84,6 +53,7 @@ footer { bottom: 0; width: 100%; height: 55px; + display: none !important; } .topnav { @@ -93,21 +63,12 @@ footer { } -/* Style the links inside the navigation bar */ -.topnav a { - float: left; - color: #f2f2f2; - text-align: center; - padding: 14px 16px; - text-decoration: none; - font-size: 17px; -} - body { padding-top: 45px; background-image: url("../img/background.jpg"); + background-attachment: fixed; display: flex; flex-direction: column; } @@ -203,4 +164,110 @@ body { .table-striped>tbody>tr:nth-child(odd)>th { background-color: #ffffff; } - \ No newline at end of file + + /* Small screens (max-width: 576px) */ +@media (max-width: 576px) { + /* Change the font size for all headings */ + h1, h2, h3, h4, h5, h6 { + font-size: 18px; + } + + /* Hide the sidebar */ + .sidebar { + display: none; + } + + /* Make the main content take up the full width of the screen */ + .main-content { + width: 100%; + } +} + +/* Medium screens (min-width: 577px) and (max-width: 768px) */ +@media (min-width: 577px) and (max-width: 768px) { + /* Change the font size for all headings */ + +} + +/* Large screens (min-width: 769px) */ +@media (min-width: 769px) { + /* CSS rules for large screens go here */ +} +/* Portrait screens (max-width: 576px) */ +@media (max-width: 576px) and (max-height: 812px) { + /* CSS rules for portrait screens go here */ +} + +/* Landscape screens (min-width: 577px) and (max-height: 812px) */ +@media (min-width: 577px) and (max-height: 812px) { + /* CSS rules for landscape screens go here */ +} + +.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl { + width: inherit; +} + +.card-header .badge { + top:-10px; + left:20px; +} + +.card-header i.fa { + line-height: 74px; +} + +#top-country ul { + list-style: none; +} + +#top-country li { + padding: 5px; + display: inline-block; + margin: 9px; + border: solid 1px #ccc; +} + +#top-country li .drag { + text-align: center; +} + +#top-country li .count { + text-align: center; + font-size: 2.2rem; +} + +#top-country li .count span { + display:block; + text-align: center; + font-size: 1rem; +} + +/* Show version and 4-icons "footer" at bottom-left, + * if screen height is sufficient. + */ +@media only screen and (min-height: 650px) and (min-width: 768px) { + footer { + float: left; + width: 160px; + height: 60px; + display: block !important; + } + + #sidebarlol { + height: calc(100% - 60px - 50px); + } +} + +/* Virtual link - hover effect (eg on Server Bans) */ +.virtuallink { + text-decoration: none; +} +.virtuallink:hover { + text-decoration: underline; + cursor: pointer; +} + +/* TD that may wrap - eg for Reason / Topic */ +.tdwrap { + white-space: normal !important; +}