You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

styles.css 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. /*
  2. * SonarQube
  3. * Copyright (C) 2009-2022 SonarSource SA
  4. * mailto:info AT sonarsource DOT com
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 3 of the License, or (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public License
  17. * along with this program; if not, write to the Free Software Foundation,
  18. * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  19. */
  20. #settings-page .layout-page-side,
  21. #settings-page .layout-page-side-outer {
  22. width: calc(50vw - 480px);
  23. border-right: none;
  24. }
  25. #settings-page .layout-page-side-inner {
  26. width: 160px;
  27. margin-left: calc(50vw - 639px); /* 640px -1px for overlapping the border */
  28. }
  29. #settings-page .layout-page-main {
  30. padding: 0;
  31. }
  32. #settings-page .layout-page-main-inner {
  33. max-width: 1110px;
  34. }
  35. #settings-page .top-bar-outer {
  36. height: 120px;
  37. }
  38. #settings-page .top-bar {
  39. background-color: #f3f3f3;
  40. position: fixed;
  41. z-index: 55; /* todo */
  42. left: 0;
  43. right: 0;
  44. }
  45. #settings-page .top-bar-inner {
  46. max-width: 1280px;
  47. margin: 0 auto;
  48. height: 120px;
  49. box-sizing: border-box;
  50. }
  51. #settings-page .page-title,
  52. #settings-page .page-description {
  53. float: none;
  54. }
  55. .settings-definitions-list > li + li {
  56. margin-top: 30px;
  57. }
  58. .settings-definition {
  59. margin: 0 -20px;
  60. padding: 10px 20px;
  61. border-top: 1px solid rgba(0, 0, 0, 0);
  62. border-bottom: 1px solid rgba(0, 0, 0, 0);
  63. display: flex;
  64. align-items: stretch;
  65. }
  66. .tabbed-definitions .settings-definition {
  67. margin: 0 -16px;
  68. padding: 10px 16px;
  69. }
  70. .settings-definition-changed {
  71. border-top: 1px solid var(--alertBorderWarning);
  72. border-bottom: 1px solid var(--alertBorderWarning);
  73. background-color: var(--alertBackgroundWarning);
  74. }
  75. .settings-definition-left {
  76. width: 330px;
  77. padding-right: 30px;
  78. box-sizing: border-box;
  79. }
  80. .settings-definition-right {
  81. position: relative;
  82. width: calc(100% - 330px);
  83. box-sizing: border-box;
  84. }
  85. .settings-definition-name {
  86. text-overflow: ellipsis;
  87. }
  88. .settings-definition-key {
  89. line-height: 1.5;
  90. overflow: hidden;
  91. text-overflow: ellipsis;
  92. white-space: nowrap;
  93. }
  94. .settings-definition-state {
  95. min-height: 32px;
  96. padding-bottom: 4px;
  97. }
  98. .settings-definition-state > span {
  99. display: flex;
  100. }
  101. .settings-definition-changes {
  102. margin-top: 20px;
  103. padding-top: 20px;
  104. border-top: 1px dotted var(--barBorderColor);
  105. }
  106. .settings-sub-categories-list > li + li,
  107. .settings-sub-category {
  108. margin: 30px -20px 0;
  109. padding: 30px 20px;
  110. border-top: 1px solid var(--barBorderColor);
  111. }
  112. .settings-sub-category-name {
  113. margin-bottom: 20px;
  114. font-size: var(--bigFontSize);
  115. }
  116. .settings-sub-category-description {
  117. margin-top: -15px;
  118. margin-bottom: 20px;
  119. color: var(--secondFontColor);
  120. }
  121. .settings-large-input {
  122. width: 100% !important;
  123. max-width: 400px;
  124. min-width: 200px;
  125. }
  126. .side-tabs-menu {
  127. margin-top: calc(2 * var(--gridSize));
  128. }
  129. .side-tabs-menu > li {
  130. margin-bottom: 4px;
  131. }
  132. .side-tabs-menu > li > a {
  133. display: block;
  134. padding: 10px 10px;
  135. line-height: 1.5;
  136. border-top-left-radius: 3px;
  137. border-bottom-left-radius: 3px;
  138. border: 1px solid var(--barBorderColor);
  139. border-right: none;
  140. overflow: hidden;
  141. text-overflow: ellipsis;
  142. transition: color 0.3s ease, background-color 0.3s ease;
  143. }
  144. .side-tabs-menu > li > a:hover,
  145. .side-tabs-menu > li > a:focus,
  146. .side-tabs-menu > li > a.active {
  147. background-color: #fff;
  148. }
  149. .side-tabs-menu > li > a.active {
  150. color: var(--baseFontColor);
  151. cursor: default;
  152. }
  153. @media (max-width: 1320px) {
  154. #settings-page .layout-page-side-outer,
  155. #settings-page .layout-page-side {
  156. width: 180px;
  157. }
  158. #settings-page .layout-page-side-inner {
  159. margin-left: 20px;
  160. }
  161. #settings-page .top-bar-inner {
  162. margin: 0 20px;
  163. }
  164. }
  165. .settings-search-results {
  166. max-height: 50vh;
  167. width: 500px;
  168. overflow-y: auto;
  169. overflow-x: hidden;
  170. }
  171. .fixed-footer {
  172. position: sticky;
  173. bottom: 0px;
  174. height: 50px;
  175. align-items: center;
  176. display: flex;
  177. border: 1px solid var(--gray80);
  178. background-color: white;
  179. justify-content: space-between;
  180. margin: 0px -16px;
  181. }