feature-onboarding.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. .onboarding-autocompile {
  2. display: block;
  3. top: 10px;
  4. img {
  5. margin-bottom: 10px;
  6. border: 1px solid @gray-lighter;
  7. }
  8. &::before, &::after {
  9. content: '';
  10. border-width: 11px;
  11. border-style: solid;
  12. border-color: transparent;
  13. top: 7px;
  14. display: block;
  15. position: absolute;
  16. }
  17. &.right::before {
  18. border-left-width: 0;
  19. border-right-color: rgba(0, 0, 0, .3);
  20. left: -11px;
  21. }
  22. &.right::after {
  23. border-left-width: 0;
  24. border-right-color: #f7f7f7;
  25. left: -9.5px;
  26. }
  27. &.left::before {
  28. border-right-width: 0;
  29. border-left-color: rgba(0, 0, 0, .3);
  30. right: -11px
  31. }
  32. &.left::after {
  33. border-right-width: 0;
  34. border-left-color: #f7f7f7;
  35. right: -9.5px;
  36. }
  37. }
  38. .onboarding-linksharing {
  39. display: block;
  40. top: 10px;
  41. &.popover {
  42. left: auto !important;
  43. }
  44. img {
  45. margin-bottom: 10px;
  46. border: 1px solid @gray-lighter;
  47. }
  48. &::before, &::after {
  49. content: '';
  50. border-width: 11px;
  51. border-style: solid;
  52. border-color: transparent;
  53. top: 7px;
  54. display: block;
  55. position: absolute;
  56. }
  57. // Bottom
  58. &.bottom::before {
  59. border-top-width: 0;
  60. border-bottom-color: rgba(0, 0, 0, .3);
  61. top: -10px;
  62. right: 38px;
  63. }
  64. &.bottom::after {
  65. border-top-width: 0;
  66. border-bottom-color: #f7f7f7;
  67. top: -9.5px;
  68. right: 38px;
  69. }
  70. }