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.

misc.css 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457
  1. /*
  2. * SonarQube
  3. * Copyright (C) 2009-2018 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. .vertical-top {
  21. vertical-align: top !important;
  22. }
  23. .vertical-bottom {
  24. vertical-align: bottom !important;
  25. }
  26. .vertical-middle {
  27. vertical-align: middle !important;
  28. }
  29. .vertical-text-top {
  30. vertical-align: text-top !important;
  31. }
  32. .vertical-baseline {
  33. vertical-align: baseline !important;
  34. }
  35. .nowrap {
  36. white-space: nowrap !important;
  37. }
  38. table.nowrap td,
  39. td.nowrap,
  40. th.nowrap {
  41. white-space: nowrap !important;
  42. }
  43. .hidden {
  44. display: none !important;
  45. visibility: hidden !important;
  46. }
  47. .note {
  48. color: var(--secondFontColor);
  49. font-size: var(--smallFontSize);
  50. }
  51. .spacer-left {
  52. margin-left: 8px !important;
  53. }
  54. .spacer-right {
  55. margin-right: 8px !important;
  56. }
  57. .spacer-bottom {
  58. margin-bottom: 8px !important;
  59. }
  60. .spacer-top {
  61. margin-top: 8px !important;
  62. }
  63. .big-spacer-left {
  64. margin-left: 16px !important;
  65. }
  66. .big-spacer-right {
  67. margin-right: 16px !important;
  68. }
  69. .big-spacer-bottom {
  70. margin-bottom: 16px !important;
  71. }
  72. .big-spacer-top {
  73. margin-top: 16px !important;
  74. }
  75. .huge-spacer-bottom {
  76. margin-bottom: 40px !important;
  77. }
  78. .huge-spacer-top {
  79. margin-top: 40px !important;
  80. }
  81. .huge-spacer-left {
  82. margin-left: 40px !important;
  83. }
  84. .huge-spacer-right {
  85. margin-right: 40px !important;
  86. }
  87. .little-spacer-left {
  88. margin-left: 4px !important;
  89. }
  90. .little-spacer-right {
  91. margin-right: 4px !important;
  92. }
  93. .little-spacer-bottom {
  94. margin-bottom: 4px !important;
  95. }
  96. .little-spacer-top {
  97. margin-top: 4px !important;
  98. }
  99. td.little-spacer-left {
  100. padding-left: 4px !important;
  101. }
  102. td.little-spacer-right {
  103. padding-right: 4px !important;
  104. }
  105. td.spacer-left {
  106. padding-left: 8px !important;
  107. }
  108. td.spacer-right {
  109. padding-right: 8px !important;
  110. }
  111. td.spacer-bottom {
  112. padding-bottom: 8px !important;
  113. }
  114. td.spacer-top {
  115. padding-top: 8px !important;
  116. }
  117. td.big-spacer-left,
  118. th.big-spacer-left {
  119. padding-left: 16px !important;
  120. }
  121. td.big-spacer-right {
  122. padding-right: 16px !important;
  123. }
  124. td.big-spacer-bottom {
  125. padding-bottom: 16px !important;
  126. }
  127. td.big-spacer-top {
  128. padding-top: 16px !important;
  129. }
  130. .pull-left {
  131. float: left !important;
  132. }
  133. .pull-right {
  134. float: right !important;
  135. }
  136. .bordered {
  137. border: 1px solid var(--barBorderColor);
  138. }
  139. .bordered-left {
  140. border-left: 1px solid var(--barBorderColor);
  141. }
  142. .bordered-right {
  143. border-right: 1px solid var(--barBorderColor);
  144. }
  145. .bordered-bottom {
  146. border-bottom: 1px solid var(--barBorderColor);
  147. }
  148. .bordered-top {
  149. border-top: 1px solid var(--barBorderColor);
  150. }
  151. .overflow-hidden {
  152. overflow: hidden !important;
  153. }
  154. .max-width-100 {
  155. max-width: 100% !important;
  156. }
  157. .width-100 {
  158. width: 100% !important;
  159. }
  160. .width-80 {
  161. width: 80% !important;
  162. }
  163. .width-60 {
  164. width: 60% !important;
  165. }
  166. .width-55 {
  167. width: 55% !important;
  168. }
  169. .width-50 {
  170. width: 50% !important;
  171. }
  172. .width-40 {
  173. width: 40% !important;
  174. }
  175. .width-30 {
  176. width: 30% !important;
  177. }
  178. .width-25 {
  179. width: 25% !important;
  180. }
  181. .width-20 {
  182. width: 20% !important;
  183. }
  184. .width-15 {
  185. width: 15% !important;
  186. }
  187. .width-10 {
  188. width: 10% !important;
  189. }
  190. .abs-width-150 {
  191. width: 150px !important;
  192. }
  193. .abs-width-240 {
  194. width: 240px !important;
  195. }
  196. .abs-width-300 {
  197. width: 300px !important;
  198. }
  199. .abs-width-400 {
  200. width: 400px !important;
  201. }
  202. .justify {
  203. margin-bottom: -1em;
  204. text-align: justify;
  205. }
  206. .justify > .ib {
  207. display: inline-block;
  208. }
  209. .justify:after {
  210. display: inline-block;
  211. width: 100%;
  212. content: ' ';
  213. }
  214. .first-letter-uppercase::first-letter {
  215. text-transform: uppercase;
  216. }
  217. .disabled-pointer-events {
  218. pointer-events: none !important;
  219. }
  220. .display-block {
  221. display: block !important;
  222. }
  223. .display-inline-block {
  224. display: inline-block !important;
  225. }
  226. .display-flex-row {
  227. display: flex !important;
  228. flex-direction: row;
  229. }
  230. .display-flex-column {
  231. display: flex !important;
  232. flex-direction: column;
  233. }
  234. .display-flex-center {
  235. display: flex !important;
  236. align-items: center;
  237. }
  238. .display-flex-space-around {
  239. display: flex !important;
  240. justify-content: space-around;
  241. }
  242. .display-flex-space-between {
  243. display: flex !important;
  244. justify-content: space-between;
  245. }
  246. .display-flex-stretch {
  247. display: flex !important;
  248. align-items: stretch;
  249. }
  250. .display-inline-flex-baseline {
  251. display: inline-flex !important;
  252. align-items: baseline;
  253. }
  254. .display-inline-flex-center {
  255. display: inline-flex !important;
  256. align-items: center;
  257. }
  258. .position-absolute {
  259. position: absolute !important;
  260. }
  261. .position-relative {
  262. position: relative !important;
  263. }
  264. .rounded {
  265. border-radius: 2px;
  266. }
  267. .flex-1 {
  268. flex: 1;
  269. }
  270. .flex-0 {
  271. flex: 0 0 auto;
  272. }
  273. .flex-shrink {
  274. flex-shrink: 1;
  275. min-width: 0;
  276. }
  277. .space-between {
  278. justify-content: space-between !important;
  279. }
  280. .new-loading {
  281. opacity: 0.5;
  282. transition: opacity 0.5s ease;
  283. }
  284. .slash-separator {
  285. margin-left: 5px;
  286. margin-right: 5px;
  287. }
  288. .slash-separator:after {
  289. content: '/';
  290. color: rgba(68, 68, 68, 0.3);
  291. }
  292. .horizontal-pipe-separator {
  293. display: flex;
  294. align-items: center;
  295. margin-top: calc(4 * var(--gridSize));
  296. margin-bottom: calc(4 * var(--gridSize));
  297. }
  298. .horizontal-pipe-separator > .horizontal-separator {
  299. margin: 0 4px;
  300. }
  301. .horizontal-separator {
  302. min-width: 16px;
  303. height: 1px;
  304. flex-grow: 1;
  305. background-color: var(--barBorderColor);
  306. }
  307. .vertical-separator {
  308. width: 1px;
  309. min-height: 16px;
  310. flex-grow: 1;
  311. background-color: var(--barBorderColor);
  312. }
  313. .vertical-pipe-separator {
  314. display: flex;
  315. flex-direction: column;
  316. margin-left: 60px;
  317. margin-right: 60px;
  318. }
  319. .vertical-pipe-separator > .vertical-separator {
  320. margin: 4px auto;
  321. }
  322. .capitalize {
  323. text-transform: capitalize !important;
  324. }
  325. .cursor-not-allowed {
  326. cursor: not-allowed !important;
  327. }
  328. .no-select {
  329. user-select: none !important;
  330. }
  331. .no-outline,
  332. .no-outline:focus {
  333. outline: none !important;
  334. }
  335. .bg-danger {
  336. background-color: var(--red);
  337. color: #fff;
  338. }
  339. .bg-warning {
  340. background-color: var(--orange);
  341. color: #fff;
  342. }
  343. .bg-info {
  344. background-color: var(--blue);
  345. color: #fff;
  346. }
  347. .bg-success {
  348. background-color: var(--green);
  349. color: #fff;
  350. }
  351. .bg-muted {
  352. background-color: var(--barBackgroundColor);
  353. color: inherit;
  354. }
  355. .leak-box {
  356. background-color: var(--leakColor);
  357. border: 1px solid var(--leakBorderColor);
  358. padding: 4px 6px;
  359. }