123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340 |
- /*
- * SonarQube
- * Copyright (C) 2009-2019 SonarSource SA
- * mailto:info AT sonarsource DOT com
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
- .white-page {
- background-color: #fff !important;
- }
-
- .global-container {
- display: flex;
- flex-direction: column;
- height: 100%;
- min-height: 100vh;
- }
-
- .page {
- position: relative;
- z-index: var(--normalZIndex);
- padding: 10px 20px;
- }
-
- .page:before,
- .page:after {
- display: table;
- content: '';
- line-height: 0;
- }
-
- .page:after {
- clear: both;
- }
-
- .page-limited {
- max-width: 1280px;
- margin-left: auto;
- margin-right: auto;
- padding-top: 20px;
- padding-bottom: 20px;
- }
-
- .page-container {
- min-width: var(--minPageWidth);
- }
-
- .page-wrapper {
- box-sizing: border-box;
- flex: 1 0 auto;
- }
-
- .page-wrapper-simple {
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 100px 0;
- }
-
- .page-simple {
- width: 400px;
- padding: 40px;
- border: 1px solid var(--barBorderColor);
- background-color: #fff;
- }
-
- .page-header {
- position: relative;
- margin-bottom: 20px;
- }
-
- .page-header:before,
- .page-header:after {
- display: table;
- content: '';
- line-height: 0;
- }
-
- .page-header:after {
- clear: both;
- }
-
- .page-header .spinner {
- position: relative;
- top: 3px;
- margin-left: 8px;
- }
-
- .page-title {
- float: left;
- margin-bottom: 0;
- line-height: var(--controlHeight);
- }
-
- .page-actions {
- float: right;
- margin-bottom: 10px;
- margin-left: 10px;
- line-height: var(--controlHeight);
- text-align: right;
- }
-
- .page-actions .badge {
- margin: 3px 0;
- }
-
- .page-actions .spinner {
- top: 0 !important;
- }
-
- .page-description {
- float: left;
- clear: left;
- max-width: 800px;
- line-height: 1.5;
- margin-top: 6px;
- }
-
- .page-footer {
- min-height: 60px;
- padding: 10px;
- line-height: 1.5;
- border-top: 1px solid var(--barBorderColor);
- box-sizing: border-box;
- background-color: var(--barBackgroundColor);
- color: #595959;
- font-size: var(--smallFontSize);
- text-align: center;
- }
-
- .page-footer a {
- border-bottom: 1px solid #d0d0d0;
- color: var(--baseFontColor);
- }
-
- .page-footer a:hover,
- .page-footer a:active,
- .page-footer a:focus {
- border-bottom-color: var(--lightBlue);
- color: var(--blue);
- }
-
- .sidebar-page #footer {
- padding-left: calc(50vw - 370px + 10px) !important;
- }
-
- .sidebar-page #footer div,
- .sidebar-page #footer .page-footer-menu {
- max-width: 980px;
- }
-
- .page-footer-menu-item {
- display: inline-block;
- }
-
- .page-footer-menu-item + .page-footer-menu-item::before {
- content: '-';
- padding: 0 calc(0.5 * var(--gridSize));
- user-select: none;
- }
-
- .page-with-sidebar {
- display: flex;
- }
-
- .page-main {
- flex-grow: 1;
- }
-
- .page-sidebar {
- width: 30%;
- min-width: 300px;
- flex-shrink: 0;
- padding-left: 40px;
- box-sizing: border-box;
- }
-
- .page-sidebar-fixed {
- min-width: 300px;
- flex-shrink: 0;
- padding-left: 40px;
- box-sizing: border-box;
- width: 300px;
- }
-
- .page-sidebar-sticky {
- width: 320px !important;
- padding-right: 0;
- }
-
- .page-limited .page-sidebar-sticky {
- margin: -20px 0 -20px -20px;
- padding-right: 0 !important;
- }
-
- .page-limited .page-sidebar-sticky .page-sidebar-sticky-inner {
- padding: 20px 0;
- }
-
- .page-sidebar-sticky .page-sidebar-sticky-inner {
- position: fixed;
- z-index: 10;
- top: 30px;
- bottom: 0;
- left: 0;
- overflow: auto;
- width: calc(50vw - 640px + 280px + 3px);
- border-right: 1px solid var(--barBorderColor);
- box-sizing: border-box;
- background: var(--barBackgroundColor);
- }
-
- @media (max-width: 1335px) {
- .page-sidebar-sticky .page-sidebar-sticky-inner {
- width: 310px;
- }
- }
-
- .layout-page {
- display: flex;
- align-items: stretch;
- width: 100%;
- flex-grow: 1;
- }
-
- .layout-page-filters {
- width: 260px;
- padding: 20px;
- }
-
- .layout-page-main {
- flex-grow: 1;
- min-width: 740px;
- padding: 20px;
- z-index: var(--pageMainZIndex);
- }
-
- .layout-page-main-inner {
- position: relative;
- z-index: var(--normalZIndex);
- min-width: 740px;
- max-width: 980px;
- }
-
- .layout-page-side-outer {
- width: calc(50vw - 370px);
- flex-grow: 0;
- flex-shrink: 0;
- background-color: var(--barBackgroundColor);
- }
-
- .layout-page-side {
- position: fixed;
- z-index: 40;
- top: 30px;
- bottom: 0;
- left: 0;
- width: calc(50vw - 370px);
- border-right: 1px solid var(--barBorderColor);
- overflow-y: auto;
- overflow-x: hidden;
- background-color: var(--barBackgroundColor);
- }
-
- .layout-page-side-inner {
- width: 300px;
- margin-left: calc(50vw - 670px);
- background-color: var(--barBackgroundColor);
- }
-
- .layout-page-header-panel,
- .layout-page-header-panel-inner {
- height: 56px;
- box-sizing: border-box;
- }
-
- .layout-page-header-panel {
- margin-top: -20px;
- }
-
- .layout-page-header-panel-inner {
- position: fixed;
- z-index: 30;
- line-height: var(--controlHeight);
- padding-top: 16px;
- padding-bottom: 16px;
- border-bottom: 1px solid var(--barBorderColor);
- background-color: var(--barBackgroundColor);
- }
-
- .layout-page-main-header {
- position: relative;
- z-index: var(--aboveNormalZIndex);
- margin-bottom: 20px;
- }
-
- .layout-page-main-header .component-name {
- line-height: var(--controlHeight);
- }
-
- .layout-page-main-header-inner {
- left: calc(50vw - 370px + 1px);
- right: 0;
- padding-left: 20px;
- padding-right: 20px;
- }
-
- @media (max-width: 1320px) {
- .layout-page-side-outer {
- width: 300px;
- }
-
- .layout-page-side {
- width: 300px;
- }
-
- .layout-page-side-inner {
- margin-left: 0;
- }
-
- .layout-page-main-header-inner {
- left: 301px;
- }
-
- .sidebar-page #footer {
- padding-left: 310px !important;
- }
- }
|