123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- /*
- * SonarQube
- * Copyright (C) 2009-2022 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.
- */
- #settings-page .layout-page-side,
- #settings-page .layout-page-side-outer {
- width: calc(50vw - 480px);
- border-right: none;
- }
-
- #settings-page .layout-page-side-inner {
- width: 160px;
- margin-left: calc(50vw - 639px); /* 640px -1px for overlapping the border */
- }
-
- #settings-page .layout-page-main {
- padding: 0;
- }
-
- #settings-page .layout-page-main-inner {
- max-width: 1110px;
- }
-
- #settings-page .top-bar-outer {
- height: 120px;
- }
-
- #settings-page .top-bar {
- background-color: #f3f3f3;
- position: fixed;
- z-index: 55; /* todo */
- left: 0;
- right: 0;
- }
-
- #settings-page .top-bar-inner {
- max-width: 1280px;
- margin: 0 auto;
- height: 120px;
- box-sizing: border-box;
- }
-
- #settings-page .page-title,
- #settings-page .page-description {
- float: none;
- }
-
- .settings-definitions-list > li + li {
- margin-top: 30px;
- }
-
- .settings-definition {
- margin: 0 -20px;
- padding: 10px 20px;
- border-top: 1px solid rgba(0, 0, 0, 0);
- border-bottom: 1px solid rgba(0, 0, 0, 0);
- display: flex;
- align-items: stretch;
- }
-
- .tabbed-definitions .settings-definition {
- margin: 0 -16px;
- padding: 10px 16px;
- }
-
- .settings-definition-changed {
- border-top: 1px solid var(--alertBorderWarning);
- border-bottom: 1px solid var(--alertBorderWarning);
- background-color: var(--alertBackgroundWarning);
- }
-
- .settings-definition-left {
- width: 330px;
- padding-right: 30px;
- box-sizing: border-box;
- }
-
- .settings-definition-right {
- position: relative;
- width: calc(100% - 330px);
- box-sizing: border-box;
- }
-
- .settings-definition-name {
- text-overflow: ellipsis;
- }
-
- .settings-definition-key {
- line-height: 1.5;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-
- .settings-definition-state {
- min-height: 32px;
- padding-bottom: 4px;
- }
-
- .settings-definition-state > span {
- display: flex;
- }
-
- .settings-definition-changes {
- margin-top: 20px;
- padding-top: 20px;
- border-top: 1px dotted var(--barBorderColor);
- }
-
- .settings-sub-categories-list > li + li,
- .settings-sub-category {
- margin: 30px -20px 0;
- padding: 30px 20px;
- border-top: 1px solid var(--barBorderColor);
- }
-
- .settings-sub-category-name {
- margin-bottom: 20px;
- font-size: var(--bigFontSize);
- }
-
- .settings-sub-category-description {
- margin-top: -15px;
- margin-bottom: 20px;
- color: var(--secondFontColor);
- }
-
- .settings-large-input {
- width: 100% !important;
- max-width: 400px;
- min-width: 200px;
- }
-
- .side-tabs-menu {
- margin-top: calc(2 * var(--gridSize));
- }
-
- .side-tabs-menu > li {
- margin-bottom: 4px;
- }
-
- .side-tabs-menu > li > a {
- display: block;
- padding: 10px 10px;
- line-height: 1.5;
- border-top-left-radius: 3px;
- border-bottom-left-radius: 3px;
- border: 1px solid var(--barBorderColor);
- border-right: none;
- overflow: hidden;
- text-overflow: ellipsis;
- transition: color 0.3s ease, background-color 0.3s ease;
- }
-
- .side-tabs-menu > li > a:hover,
- .side-tabs-menu > li > a:focus,
- .side-tabs-menu > li > a.active {
- background-color: #fff;
- }
-
- .side-tabs-menu > li > a.active {
- color: var(--baseFontColor);
- cursor: default;
- }
-
- @media (max-width: 1320px) {
- #settings-page .layout-page-side-outer,
- #settings-page .layout-page-side {
- width: 180px;
- }
-
- #settings-page .layout-page-side-inner {
- margin-left: 20px;
- }
-
- #settings-page .top-bar-inner {
- margin: 0 20px;
- }
- }
-
- .settings-search-results {
- max-height: 50vh;
- width: 500px;
- overflow-y: auto;
- overflow-x: hidden;
- }
-
- .fixed-footer {
- position: sticky;
- bottom: 0px;
- height: 50px;
- align-items: center;
- display: flex;
- border: 1px solid var(--gray80);
- background-color: white;
- justify-content: space-between;
- margin: 0px -16px;
- }
|