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 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. .onboarding-step {
  21. position: relative;
  22. padding-left: 34px;
  23. }
  24. .onboarding-step:not(.is-open):not(.is-finished) {
  25. opacity: 0.4;
  26. }
  27. .onboarding-step .boxed-group-actions {
  28. height: var(--controlHeight);
  29. line-height: var(--controlHeight);
  30. }
  31. .onboarding-step hr {
  32. margin-left: -54px;
  33. }
  34. .onboarding-step-number {
  35. position: absolute;
  36. top: 15px;
  37. left: 15px;
  38. width: 24px;
  39. height: 24px;
  40. line-height: 24px;
  41. border-radius: 24px;
  42. background-color: #b9b9b9;
  43. color: #fff;
  44. font-size: var(--mediumFontSize);
  45. text-align: center;
  46. }
  47. .onboarding-step.is-open .onboarding-step-number {
  48. background-color: var(--darkBlue);
  49. }
  50. .onboarding-step.is-finished {
  51. cursor: pointer;
  52. outline: none;
  53. }
  54. .onboarding-choices {
  55. display: flex;
  56. justify-content: space-around;
  57. padding: 44px 170px;
  58. background-color: var(--barBackgroundColor);
  59. margin-top: var(--pagePadding);
  60. }
  61. .onboarding-choice {
  62. display: flex;
  63. flex-direction: column;
  64. justify-content: center;
  65. padding: calc(2 * var(--gridSize));
  66. width: 190px;
  67. height: 190px;
  68. background-color: #fff;
  69. border: solid 1px #fff;
  70. border-radius: 3px;
  71. transition: all 0.2s ease;
  72. box-shadow: 0 1px 1px 1px var(--barBorderColor);
  73. }
  74. .onboarding-choice svg {
  75. color: var(--gray40);
  76. }
  77. .onboarding-choice-name {
  78. padding-top: var(--gridSize);
  79. color: inherit;
  80. font-size: var(--mediumFontSize);
  81. }
  82. .onboarding-choice .note {
  83. font-weight: 400;
  84. }
  85. .onboarding-choice:hover,
  86. .onboarding-choice:focus,
  87. .onboarding-choice:active {
  88. background-color: #fff;
  89. color: var(--darkBlue);
  90. box-shadow: var(--defaultShadow);
  91. transform: translateY(-2px);
  92. }