X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/76200e36b9dce259a825f751f5e33abab4be9a06..180b8ec1d4d2b3d4e930f57b9850348159510b27:/css/unrealircd-admin.css diff --git a/css/unrealircd-admin.css b/css/unrealircd-admin.css index 957a211..cc4e550 100644 --- a/css/unrealircd-admin.css +++ b/css/unrealircd-admin.css @@ -1,243 +1,220 @@ .unrealircd_overview { - font-family: arial, sans-serif; - border-collapse: collapse; - border-radius: 15px; - width: 25%; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); + font-family: arial, sans-serif; + border-collapse: collapse; + border-radius: 7px; + width: 25%; + box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); } -.users_overview { - font-family: arial, sans-serif; - border-collapse: collapse; - border-radius: 15px; - width: 100%; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); -} - -table { - border-collapse: collapse; - margin: 25px 0; - font-size: 0.9em; - font-family: sans-serif; - min-width: 400px; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); -} - -td { - text-align: left; - padding: 8px; -} - -th { - text-align: left; - padding: 8px; - background-color: #4B86EE; - color: white; -} - -th:first-of-type { - border-top-left-radius: 10px; - color: white; +.badge-pill { + box-shadow: 0 0 20px rgba(0, 0, 0, 0.15); } -th:last-of-type { - border-top-right-radius: 10px; - color: white; +.curvy { + border-radius: 7px; + margin: 2px; } -tr:last-of-type td:first-of-type { - border-bottom-left-radius: 10px; - + +.short-form-control { + width: 70%; } -tr:last-of-type td:last-of-type { - border-bottom-right-radius: 10px; -} -tr:nth-child(even) { - background-color: #bec8d3; +.align_right { + width: 10px; + text-align: right; } -tr:nth-child(odd) { - background-color: whitesmoke; +.input_text { + border-radius: 7px; } -.footer { - font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; - position: fixed; - left: 0; - bottom: 0; - width: 100%; - background-color: #333; - color: white; - text-align: center; +.filter-fields { + height: 30px; + width: 400px; + padding: 5px 5px; + margin: 8px 0; + border-radius: 7px; } -.footer a { - color: #4B86EE; -} -.row { - display: flex; +.align_label { + width: 80px; + display: inline-block; + text-align: right; } -.column { - flex: 50%; - padding: 5px; +body { + padding-bottom: 120px; } +footer { + font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; + position: absolute; + bottom: 0; + width: 100%; + height: 55px; + } .topnav { - background-color: #333; - overflow: hidden; - font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; + background-color: #333; + overflow: hidden; + font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; } /* 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; -} - -/* Change the color of links on hover */ -.topnav a:hover { - background-color: #ddd; - color: black; -} - -/* Add a color to the active/current link */ -.topnav a.active { - background-color: #4B86EE; - color: white; + float: left; + color: #f2f2f2; + text-align: center; + padding: 14px 16px; + text-decoration: none; + font-size: 17px; } -[data-tab-content] { +body { + padding-top: 45px; + background-image: url("../img/background.jpg"); + display: flex; + flex-direction: column; +} + + +.alert-short { + width: 40%; +} + +/* The close button */ +.closebtn { + color: black; + font-weight: bold; + float: right; + font-size: 22px; + line-height: 20px; + cursor: pointer; + transition: 0.3s; +} + + +.checkbox-dropdown { + width: 200px; + border: 1px solid #aaa; + padding: 10px; + position: relative; + margin: 0 auto; + + user-select: first; +} + +/* Display CSS arrow to the right of the dropdown text */ +.checkbox-dropdown:after { + content:''; + height: 0; + position: absolute; + width: 0; + border: 6px solid transparent; + border-top-color: #000; + top: 50%; + right: 10px; + margin-top: -3px; +} + +/* Reverse the CSS arrow when the dropdown is active */ +.checkbox-dropdown.is-active:after { + border-bottom-color: #000; + border-top-color: #fff; + margin-top: -9px; +} + +.checkbox-dropdown-list { + list-style: none; + margin: 0; + padding: 0; + position: absolute; + top: 100%; /* align the dropdown right below the dropdown text */ + border: inherit; + border-top: none; + left: -1px; /* align the dropdown to the left */ + right: -1px; /* align the dropdown to the right */ + opacity: 0; /* hide the dropdown */ + + transition: opacity 0.4s ease-in-out; + height: 100px; + overflow: scroll; + overflow-x: hidden; + pointer-events: none; /* avoid mouse click events inside the dropdown */ +} +.is-active .checkbox-dropdown-list { + opacity: 1; /* display the dropdown */ + pointer-events: auto; /* make sure that the user still can select checkboxes */ +} + +.checkbox-dropdown-list li label { + display: block; + border-bottom: 1px solid silver; + padding: 10px; + + transition: all 0.2s ease-out; +} + +.checkbox-dropdown-list li label:hover { + background-color: #555; + color: white; +} + +.table-striped>tbody>tr:nth-child(even)>td, +.table-striped>tbody>tr:nth-child(even)>th { + background-color: #a5a5a549; + } + .table-striped>tbody>tr:nth-child(odd)>td, + .table-striped>tbody>tr:nth-child(odd)>th { + background-color: #ffffff; + } + + /* 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; -} + } -.active[data-tab-content] { - display: block; -} - -.tab.active { - background-color: #AAA; -} - -.tab:hover { - background-color: #AAA; -} - -#headerContainer, -#headerTitle { - background-color: #4B86EE; - font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; - height: 62px; - margin-top: -10px; - padding: 10px 25px; - position: relative; -} - -#headerContainer { - margin-left: -15px; - z-index: 10; - - -webkit-box-shadow: 0 3px 3px .01px rgba(0, 0, 0, 0.2); - box-shadow: 0 3px 3px .01px rgba(0, 0, 0, 0.2); -} - -#headerContainer:before { - border-color: #034FD5 transparent; - border-style: solid; - border-width: 1em 0 0 1em; - bottom: -1em; - content: ''; - display: block; - left: 0; - position: absolute; + /* Make the main content take up the full width of the screen */ + .main-content { + width: 100%; + } } -#headerContainer h2, -#headerContainer h2 small { - color: white !important; - margin-bottom: 0px; +/* Medium screens (min-width: 577px) and (max-width: 768px) */ +@media (min-width: 577px) and (max-width: 768px) { + /* Change the font size for all headings */ + } -#headerContainer h2 small { - font-weight: lighter; +/* Large screens (min-width: 769px) */ +@media (min-width: 769px) { + /* CSS rules for large screens go here */ } - -#headerTitle { - background-color: white; - margin-right: 15px; - z-index: 9; +/* Portrait screens (max-width: 576px) */ +@media (max-width: 576px) and (max-height: 812px) { + /* CSS rules for portrait screens go here */ } -#headerTitle h2 { - line-height: 1.5; - margin-bottom: 0px; +/* Landscape screens (min-width: 577px) and (max-height: 812px) */ +@media (min-width: 577px) and (max-height: 812px) { + /* CSS rules for landscape screens go here */ } -#headerTitle h2 i { - color: #f2f2f2; - font-size: 80px; - position: absolute; - right: 0; - top: -30px; - z-index: -1; +.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl { + width: inherit; } -#headerTitle h2 small { - color: #bbb; +.card-header i.fa { + line-height: 74px; } - -body { - background-image: url("/img/linen.png"); -} - -/* CSS */ -.cute_button { - align-items: center; - appearance: none; - background-color: #4B86EE; - background-size: calc(100% + 20px) calc(100% + 20px); - border-radius: 100px; - border-width: 0; - box-shadow: none; - box-sizing: border-box; - color: #FFFFFF; - cursor: pointer; - display: inline-flex; - font-family: CircularStd, sans-serif; - font-size: 1rem; - height: auto; - justify-content: center; - line-height: 1.5; - padding: 6px 20px; - position: relative; - text-align: center; - text-decoration: none; - transition: background-color .2s, background-position .2s; - user-select: none; - -webkit-user-select: none; - touch-action: manipulation; - vertical-align: top; - white-space: nowrap; -} - -.button-21:active, -.button-21:focus { - outline: none; -} - -.button-21:hover { - background-position: -20px -20px; -} - -.button-21:focus:not(:active) { - box-shadow: rgba(40, 170, 255, 0.25) 0 0 0 .125em; -} \ No newline at end of file