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.

style.css 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. /*
  2. * SonarQube
  3. * Copyright (C) 2009-2019 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. @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700');
  21. .sc-page {
  22. font-family: var(--sonarcloudFontFamily);
  23. }
  24. .sc-page p {
  25. font-family: var(--systemFontFamily);
  26. }
  27. .sc-page *:focus {
  28. box-shadow: 0 0 0 3px rgba(230, 92, 0, 0.25);
  29. }
  30. .sc-black-button,
  31. .sc-orange-button {
  32. display: inline-flex;
  33. align-items: center;
  34. height: 44px;
  35. padding: 0 15px;
  36. line-height: 44px;
  37. border: none;
  38. border-radius: 4px;
  39. color: #fff;
  40. font-size: 18px;
  41. font-weight: 500;
  42. }
  43. .sc-black-button {
  44. background-color: var(--sonarcloudBlack800);
  45. }
  46. .sc-black-button:hover,
  47. .sc-black-button:focus {
  48. color: #fff;
  49. background-color: var(--sonarcloudBlack900);
  50. }
  51. .sc-orange-button {
  52. background-color: var(--sonarcloudOrange500);
  53. }
  54. .sc-orange-button:hover,
  55. .sc-orange-button:focus {
  56. background-color: var(--sonarcloudOrange700);
  57. color: #fff;
  58. }
  59. .sc-page-title {
  60. line-height: 56px;
  61. margin-top: 40px;
  62. margin-bottom: 20px;
  63. font-size: 50px;
  64. font-weight: 700;
  65. text-align: center;
  66. }
  67. .sc-page-subtitle {
  68. line-height: 32px;
  69. margin-bottom: 50px;
  70. font-size: 22px;
  71. font-weight: 300;
  72. text-align: center;
  73. }
  74. .sc-features-list {
  75. display: flex;
  76. flex-wrap: wrap;
  77. justify-content: space-between;
  78. align-items: stretch;
  79. max-width: 1000px;
  80. margin-left: auto;
  81. margin-right: auto;
  82. }
  83. .sc-feature {
  84. display: flex;
  85. flex-direction: column;
  86. align-items: flex-start;
  87. width: 30%;
  88. margin-bottom: 40px;
  89. }
  90. .sc-feature-title {
  91. line-height: 28px;
  92. margin-bottom: 13px;
  93. font-size: 21px;
  94. font-weight: 400;
  95. }
  96. .sc-feature-description {
  97. flex: 1 1 auto;
  98. line-height: 22px;
  99. font-size: 15px;
  100. }
  101. .sc-feature-description + .sc-feature-description {
  102. margin-top: 10px;
  103. }
  104. .sc-feature-link {
  105. margin-top: 16px;
  106. color: var(--sonarcloudOrange500) !important;
  107. font-size: 16px;
  108. font-weight: 400;
  109. }
  110. .sc-feature-link:hover,
  111. .sc-feature-link:focus {
  112. color: var(--sonarcloudOrange700) !important;
  113. }
  114. .sc-narrow-container {
  115. width: 700px;
  116. margin: 40px auto;
  117. }
  118. .sc-pricing {
  119. display: flex;
  120. justify-content: space-between;
  121. }
  122. .sc-pricing-block {
  123. display: flex;
  124. flex-direction: column;
  125. align-items: center;
  126. width: 330px;
  127. padding: 20px 20px 30px;
  128. border: 1px solid var(--sonarcloudBlack300);
  129. border-radius: 6px;
  130. box-sizing: border-box;
  131. line-height: 20px;
  132. font-size: 16px;
  133. }
  134. .sc-pricing-title {
  135. line-height: 34px;
  136. margin-bottom: 20px;
  137. color: var(--sonarcloudOrange500);
  138. font-size: 24px;
  139. font-weight: 400;
  140. }
  141. .sc-pricing-price {
  142. line-height: 72px;
  143. color: var(--sonarcloudBlack800);
  144. font-size: 65px;
  145. font-weight: 700;
  146. }
  147. .sc-pricing-small {
  148. font-size: 14px;
  149. }
  150. .sc-arrow-link {
  151. position: relative;
  152. border: none;
  153. color: #444;
  154. }
  155. .sc-arrow-link:after {
  156. content: '\2192';
  157. position: absolute;
  158. top: 0;
  159. left: calc(100% + 5px);
  160. transition: left 0.3s ease;
  161. }
  162. .sc-arrow-link:hover {
  163. color: var(--baseFontColor);
  164. }
  165. .sc-arrow-link:focus {
  166. color: var(--sonarcloudOrange500);
  167. }
  168. .sc-arrow-link:hover::after {
  169. left: calc(100% + 10px);
  170. }
  171. .sc-start {
  172. display: inline-flex;
  173. align-items: center;
  174. font-size: 16px;
  175. font-weight: 700;
  176. }
  177. .sc-start:hover,
  178. .sc-start:focus {
  179. background-color: var(--sonarcloudOrange700);
  180. color: #fff;
  181. }
  182. .sc-browse {
  183. display: inline-flex;
  184. align-items: center;
  185. height: 33px;
  186. line-height: 33px;
  187. padding: 0 16px;
  188. border-radius: 5px;
  189. border: 1px solid var(--sonarcloudOrange500);
  190. box-sizing: border-box;
  191. color: var(--sonarcloudOrange500);
  192. font-size: 16px;
  193. font-weight: 700;
  194. transition: box-shadow 0.3s ease;
  195. }
  196. .sc-browse:hover,
  197. .sc-browse:focus {
  198. background-color: var(--sonarcloudOrange500);
  199. color: #fff;
  200. }
  201. .sc-news {
  202. display: flex;
  203. justify-content: center;
  204. align-items: center;
  205. border-top: 1px solid var(--sonarcloudBlack300);
  206. padding-top: 32px;
  207. }
  208. .sc-news-title {
  209. display: inline-block;
  210. font-size: 18px;
  211. }
  212. .sc-news-link {
  213. border-bottom-color: var(--sonarcloudBlack300);
  214. color: var(--baseFontColor);
  215. font-size: 12px;
  216. }
  217. .sc-news-link:hover,
  218. .sc-news-link:focus {
  219. border-bottom-color: var(--sonarcloudOrange500);
  220. color: var(--sonarcloudOrange500);
  221. }
  222. .sc-sq-jumbotron {
  223. display: flex;
  224. justify-content: space-between;
  225. max-width: 1160px;
  226. margin: 30px auto 0;
  227. color: var(--sonarcloudBlack800);
  228. }
  229. .sc-sq-jumbotron-left {
  230. min-width: 540px;
  231. }
  232. .sc-sq-jumbotron-right {
  233. max-width: 725px;
  234. }
  235. .sc-sq-jumbotron-right img {
  236. max-width: 100%;
  237. border-radius: 6px;
  238. box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.21);
  239. }
  240. .sc-sq-jumbotron-title {
  241. line-height: 61px;
  242. margin-top: 90px;
  243. margin-bottom: 20px;
  244. color: var(--sonarcloudBlack800);
  245. font-size: 60px;
  246. font-weight: 700;
  247. }
  248. .sc-sq-jumbotron-title-orange {
  249. color: var(--sonarcloudOrange500);
  250. }
  251. .sc-sq-jumbotron-login {
  252. line-height: 25px;
  253. font-size: 18px;
  254. }
  255. .sc-sq-header2 {
  256. margin: 80px 0 40px;
  257. line-height: 45px;
  258. font-size: 32px;
  259. font-weight: 300;
  260. text-align: center;
  261. }
  262. .sc-languages {
  263. margin: 60px 0;
  264. text-align: center;
  265. }
  266. .sc-languages-list {
  267. display: flex;
  268. justify-content: center;
  269. margin-top: 20px;
  270. align-items: center;
  271. }
  272. .sc-languages-list > li {
  273. text-align: center;
  274. margin: 5px 8px;
  275. width: 100px;
  276. }
  277. .sc-integrations {
  278. position: relative;
  279. background-color: var(--sonarcloudBlack200);
  280. margin-left: -20px;
  281. margin-right: -20px;
  282. margin-bottom: -10px;
  283. padding: 44px 0px;
  284. text-align: center;
  285. }
  286. .sc-integrations-title {
  287. margin-top: 0;
  288. }
  289. .sc-integrations-list {
  290. display: flex;
  291. justify-content: center;
  292. }
  293. .sc-integrations-list > li {
  294. width: 200px;
  295. }
  296. .sc-integrations-list > li + li {
  297. border-left: 1px solid var(--sonarcloudBorderGray);
  298. }
  299. .sc-bottom-note {
  300. margin: 36px 0 16px;
  301. font-size: 16px;
  302. font-weight: 300;
  303. text-align: center;
  304. }
  305. .sc-bottom-note > a {
  306. font-weight: 500;
  307. }
  308. .sc-bottom-note-link:hover,
  309. .sc-bottom-note-link:focus {
  310. border-bottom-color: var(--sonarcloudOrange500);
  311. color: var(--sonarcloudOrange500);
  312. }
  313. .sc-sq-page {
  314. background: url(/images/sonarcloud/sq-background.svg) no-repeat top center;
  315. background-size: auto 200vh;
  316. }
  317. .sc-top-nav {
  318. display: flex;
  319. align-items: center;
  320. justify-content: center;
  321. margin-bottom: 30px;
  322. }
  323. .sc-top-nav-item + .sc-top-nav-item {
  324. margin-left: 13px;
  325. border-left: 1px solid var(--sonarcloudBlack300);
  326. padding-left: 13px;
  327. }
  328. .sc-top-nav-link {
  329. border-bottom-color: var(--sonarcloudBlack300);
  330. color: var(--baseFontColor);
  331. font-weight: 300;
  332. }
  333. a.sc-top-nav-link:hover,
  334. a.sc-top-nav-link:focus {
  335. border-bottom-color: var(--sonarcloudOrange500);
  336. color: var(--sonarcloudOrange500);
  337. }
  338. .sc-top-nav-active {
  339. border: none;
  340. font-weight: 500;
  341. }
  342. .sc-child-header {
  343. margin-bottom: 50px;
  344. text-align: center;
  345. }
  346. .sc-child-title {
  347. margin: 20px 0;
  348. line-height: 45px;
  349. font-size: 44px;
  350. font-weight: 700;
  351. }
  352. .sc-child-lead {
  353. margin: 20px 0 35px;
  354. line-height: 30px;
  355. font-size: 21px;
  356. font-weight: 300;
  357. font-family: var(--sonarcloudFontFamily);
  358. }
  359. .sc-child-lead-link {
  360. border-bottom-color: rgba(255, 102, 0, 0.2);
  361. color: var(--sonarcloudOrange500);
  362. }
  363. .sc-child-lead-link:hover,
  364. .sc-child-lead-link:focus {
  365. border-bottom-color: var(--sonarcloudOrange700);
  366. color: var(--sonarcloudOrange700);
  367. }
  368. .sc-child-feature {
  369. width: calc(50% - 40px);
  370. }
  371. .sc-child-start-using {
  372. display: flex;
  373. align-items: center;
  374. justify-content: space-between;
  375. width: 600px;
  376. margin: 20px auto;
  377. padding: 30px;
  378. border: 1px solid var(--sonarcloudBorderGray);
  379. border-radius: 5px;
  380. box-shadow: 0 3px 3px 0 rgba(7, 7, 6, 0.05);
  381. }
  382. .sc-child-start-using-text {
  383. font-size: 21px;
  384. font-weight: 500;
  385. }
  386. .sc-child-start-using-link {
  387. padding-right: 0;
  388. }
  389. .sc-child-start-using-link::after {
  390. content: '→';
  391. padding: 0 16px;
  392. font-size: 16px;
  393. font-weight: 300;
  394. transition: padding 0.1s ease;
  395. }
  396. .sc-child-start-using-link:hover::after,
  397. .sc-child-start-using-link:focus::after {
  398. padding-left: 22px;
  399. padding-right: 10px;
  400. }
  401. .sc-branch-features-list {
  402. flex-direction: column;
  403. }
  404. .sc-branch-feature {
  405. width: auto;
  406. margin: 0;
  407. padding: 20px 0 40px;
  408. flex-direction: row;
  409. align-items: center;
  410. justify-content: space-between;
  411. }
  412. .sc-branch-feature + .sc-branch-feature {
  413. border-top: 1px solid var(--sonarcloudBorderGray);
  414. }
  415. .sc-branch-feature-left {
  416. margin-left: 60px;
  417. }
  418. .sc-branch-feature-right {
  419. margin-right: 60px;
  420. }
  421. .sc-branch-bottom {
  422. padding: 20px 0;
  423. font-size: 21px;
  424. font-weight: 500;
  425. text-align: center;
  426. }
  427. .sc-vsts-start-wrapper {
  428. margin-top: 20px;
  429. margin-bottom: 50px;
  430. text-align: center;
  431. }
  432. .sc-vsts-start {
  433. display: inline-flex;
  434. border: 1px solid var(--sonarcloudBorderGray);
  435. border-radius: 5px;
  436. box-shadow: 0 3px 3px 0 rgba(7, 7, 6, 0.05);
  437. }
  438. .sc-vsts-start-box {
  439. display: flex;
  440. flex-direction: column;
  441. align-items: center;
  442. width: 210px;
  443. padding: 30px;
  444. }
  445. .sc-vsts-start-box + .sc-vsts-start-box {
  446. border-left: 1px solid var(--sonarcloudBorderGray);
  447. }
  448. .sc-vsts-start-title {
  449. margin: 16px 0 24px;
  450. font-size: 21px;
  451. font-weight: 300;
  452. }
  453. .sc-contact-page label {
  454. display: block;
  455. max-width: 100%;
  456. margin-bottom: 5px;
  457. font-size: 14px;
  458. font-weight: 700;
  459. }
  460. .sc-contact-page input,
  461. .sc-contact-page textarea {
  462. display: block;
  463. width: 100%;
  464. max-width: 100%;
  465. height: 30px;
  466. padding: 6px 12px;
  467. font-size: 14px;
  468. font-family: inherit;
  469. line-height: 1.42857143;
  470. color: #555;
  471. background-color: white;
  472. border: 1px solid var(--gray80);
  473. border-radius: 2px;
  474. transition: border-color ease 0.3s;
  475. }
  476. .sc-contact-page input:focus,
  477. .sc-contact-page textarea:focus {
  478. border-color: #4b9fd5;
  479. outline: none !important;
  480. box-shadow: none;
  481. }
  482. .sc-contact-page input,
  483. .sc-contact-page .Select {
  484. width: 300px;
  485. }
  486. .sc-contact-page .Select-control {
  487. height: 30px;
  488. }
  489. .sc-contact-page .Select-value,
  490. .sc-contact-page .Select-placeholder {
  491. margin-top: 4px;
  492. }
  493. .sc-contact-page .Select-placeholder {
  494. font-style: italic;
  495. color: var(--disableGrayText);
  496. }
  497. .sc-contact-page .Select-input {
  498. box-shadow: none;
  499. }
  500. .sc-contact-page .category-select {
  501. position: relative;
  502. }
  503. .sc-contact-page .category-select-helper {
  504. opacity: 0;
  505. z-index: -1;
  506. position: absolute;
  507. bottom: 0px;
  508. }
  509. .sc-contact-page input[name='_gotcha'] {
  510. display: none !important;
  511. }
  512. .sc-contact-page textarea {
  513. height: auto;
  514. }
  515. .sc-contact-page button {
  516. padding: 6px 12px;
  517. background: none;
  518. color: var(--sonarcloudOrange500);
  519. border: 1px solid var(--sonarcloudOrange500);
  520. border-radius: 5px;
  521. font-size: 12px;
  522. font-weight: 400;
  523. cursor: pointer;
  524. }
  525. .sc-contact-page button:hover {
  526. color: white;
  527. background-color: var(--sonarcloudOrange500);
  528. }
  529. .sc-contact-page button:focus {
  530. color: white;
  531. background-color: var(--sonarcloudOrange500);
  532. outline: none;
  533. }
  534. .sc-contact-page button:active {
  535. color: white;
  536. background-color: var(--sonarcloudOrange500);
  537. }
  538. .sc-contact-page .form-group {
  539. margin-bottom: 15px;
  540. }
  541. .sc-contact-page .sc-page-title {
  542. text-align: left;
  543. margin-top: 0;
  544. }
  545. .sc-contact-page p {
  546. margin-bottom: 20px;
  547. }
  548. .sc-contact-page a {
  549. color: var(--sonarcloudOrange500) !important;
  550. border: none;
  551. }
  552. .sc-contact-page a:hover {
  553. color: #cc5200 !important;
  554. }