about.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. @import "ui-variables";
  2. @import "variables";
  3. .about {
  4. display: flex;
  5. flex-direction: column;
  6. align-items: center;
  7. justify-content: flex-start;
  8. -webkit-user-select: none;
  9. cursor: default;
  10. overflow: auto;
  11. text-align: center;
  12. font-size: 1.25em;
  13. line-height: 1.4;
  14. padding: 4em;
  15. color: @text-color;
  16. background-color: @base-background-color;
  17. button {
  18. cursor: default;
  19. }
  20. a:focus {
  21. // Don't use Bootstrap default here
  22. color: inherit;
  23. }
  24. img, a {
  25. -webkit-user-drag: none;
  26. }
  27. .input-checkbox {
  28. margin-top: -.2em;
  29. }
  30. .min-width-min-content {
  31. min-width: min-content;
  32. }
  33. // used to group different elements
  34. .group-start {
  35. margin-top: 4em;
  36. }
  37. .group-item {
  38. margin-top: 1.5em;
  39. }
  40. }
  41. .about-container {
  42. width: 100%;
  43. max-width: 500px;
  44. .icon::before {
  45. margin-right: 0;
  46. }
  47. }
  48. // Header --------------------------------
  49. .about-atom-io:hover {
  50. .about-logo {
  51. color: @atom-green;
  52. }
  53. }
  54. .about-logo {
  55. display: block;
  56. width: 100%;
  57. max-width: 280px;
  58. margin: 0 auto 1em auto;
  59. color: @text-color-highlight;
  60. transition: color 0.2s;
  61. }
  62. .about-header-info {
  63. display: flex;
  64. flex-wrap: wrap;
  65. justify-content: center;
  66. align-items: center;
  67. column-gap: 30px;
  68. }
  69. .about-version-container {
  70. vertical-align: middle;
  71. white-space: nowrap;
  72. &:hover {
  73. color: lighten(@text-color, 15%);
  74. }
  75. &:active {
  76. color: lighten(@text-color, 30%);
  77. }
  78. }
  79. .about-version {
  80. margin-right: .5em;
  81. font-size: 1.25em;
  82. vertical-align: middle;
  83. }
  84. .about-more-version {
  85. color: @text-color-subtle;
  86. font-size: .9em;
  87. }
  88. // Updates --------------------------------
  89. .about-updates {
  90. width: 100%;
  91. max-width: 39em;
  92. }
  93. .about-updates-box {
  94. display: flex;
  95. align-items: center;
  96. padding: @component-padding;
  97. border: 1px solid @base-border-color;
  98. border-radius: (@component-border-radius * 2);
  99. background-color: @background-color-highlight;
  100. }
  101. .about-updates-status {
  102. flex: 1;
  103. margin-left: .5em;
  104. text-align: center;
  105. }
  106. .about-updates-item,
  107. .about-default-update-message .about-updates-label {
  108. display: block;
  109. }
  110. .about-updates-label {
  111. color: @text-color-subtle;
  112. &.is-strong {
  113. color: @text-color;
  114. }
  115. }
  116. .about-updates-version {
  117. margin: 0 .4em;
  118. }
  119. .about-auto-updates {
  120. margin-top: 1em;
  121. input {
  122. margin-right: .5em;
  123. }
  124. }
  125. // Love --------------------------------
  126. .about-love {
  127. min-width: max-content;
  128. .icon::before {
  129. // Make these octicons look good inlined with text
  130. position: relative;
  131. width: auto;
  132. height: auto;
  133. margin-right: 0;
  134. font-size: 1.5em;
  135. vertical-align: text-top;
  136. }
  137. .icon-logo-github::before {
  138. font-size: 3.6em;
  139. height: .36em;
  140. }
  141. }
  142. .about-credits {
  143. color: @text-color-subtle;
  144. }
  145. // the blue squirrel --------------------------------
  146. .about-release-notes {
  147. color: @background-color-info;
  148. &:hover {
  149. color: lighten(@background-color-info, 15%);
  150. }
  151. }