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.

190 lines
3.9 KiB

Add lang specific font stacks for CJK (#6007) * Add lang specific font stacks * Force font changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Fix octicons and icons Signed-off-by: Andrew Thornton <art27@cantab.net> * Just override the semantic ui fonts only Signed-off-by: Andrew Thornton <art27@cantab.net> * Missed the headers... override them too * Missed some more semantic ui stuff * Fix PT Sans Signed-off-by: Andrew Thornton <art27@cantab.net> * More changes Signed-off-by: Andrew Thornton <art27@cantab.net> * Squashed commit of the following: commit 7d1679e9079541359869c9e677ba7412bfcc59f3 Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 13:53:49 2019 +0100 Remove missed YaHei leftover from _home.less commit 0079121ea91860a323ed4e5cc1a9c0d490d9cefd Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 12:03:54 2019 +0100 Fix overdone fixes (inherit, :lang) commit 62c919915928ec1db4731d547e95885f91a0618d Author: Mike L <cl.jeremy@qq.com> Date: Wed Mar 13 02:29:10 2019 +0100 Fix elements w/ explicit lang (language chooser) commit b3117587aa2eb8570d60bed583a11ee5565418be Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 20:17:26 2019 +0100 Fix textarea also (to match body) commit 81cedf2c3012c4dd05a7680782b4a98e1b947f67 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:41:39 2019 +0100 Revert css temporarily to fix conflict commit 80ff82797f3203cbeaf866f22e961334e137df89 Author: Mike L <cl.jeremy@qq.com> Date: Tue Mar 12 19:15:30 2019 +0100 Tweak CJK, fix Yu Gothic, more monospace inherits commit 581dceb9a869646c2c486dabb925c88c2680d70c Author: Mike L <cl.jeremy@qq.com> Date: Mon Mar 11 13:09:26 2019 +0100 Add Lato for latin extd. & cyrillic, improve CJK * update stylesheet
5 years ago
  1. .dashboard {
  2. padding-top: 15px;
  3. &.feeds,
  4. &.issues {
  5. .context.user.menu {
  6. z-index: 101;
  7. min-width: 200px;
  8. .ui.header {
  9. font-size: 1rem;
  10. text-transform: none;
  11. }
  12. }
  13. .filter.menu {
  14. .item {
  15. text-align: left;
  16. .text {
  17. height: 16px;
  18. vertical-align: middle;
  19. &.truncate {
  20. width: 85%;
  21. }
  22. }
  23. .floating.label {
  24. top: 7px;
  25. left: 90%;
  26. width: 15%;
  27. @media only screen and (max-width: 768px) {
  28. top: 10px;
  29. left: auto;
  30. width: auto;
  31. right: 13px;
  32. }
  33. }
  34. }
  35. // Sort
  36. .jump.item {
  37. margin: 1px;
  38. padding-right: 0;
  39. }
  40. .menu {
  41. max-height: 300px;
  42. overflow-x: auto;
  43. right: 0 !important;
  44. left: auto !important;
  45. }
  46. @media only screen and (max-width: 768px) {
  47. width: 100%;
  48. }
  49. }
  50. .right.stackable.menu > .item.active {
  51. color: #d9453d;
  52. }
  53. }
  54. /* Accomodate for Semantic's 1px hacks on .attached elements */
  55. .dashboard-repos {
  56. margin: 0 1px;
  57. }
  58. .dashboard-navbar {
  59. width: 100vw;
  60. padding: 0 0.5rem;
  61. }
  62. }
  63. &.feeds {
  64. .news {
  65. > .ui.grid {
  66. margin-left: auto;
  67. margin-right: auto;
  68. }
  69. .ui.avatar {
  70. margin-top: 13px;
  71. }
  72. .time-since {
  73. font-size: 13px;
  74. }
  75. .issue.title {
  76. width: 80%;
  77. }
  78. .push.news .content ul {
  79. font-size: 13px;
  80. list-style: none;
  81. padding-left: 10px;
  82. img {
  83. margin-bottom: -2px;
  84. }
  85. .text.truncate {
  86. width: 80%;
  87. margin-bottom: -5px;
  88. }
  89. }
  90. .commit-id {
  91. font-family: @monospaced-fonts, monospace;
  92. }
  93. code {
  94. padding: 1px;
  95. font-size: 85%;
  96. background-color: rgba(0, 0, 0, 0.04);
  97. border-radius: 3px;
  98. word-break: break-all;
  99. }
  100. }
  101. .list {
  102. .header {
  103. .ui.label {
  104. margin-top: -4px;
  105. padding: 4px 5px;
  106. font-weight: normal;
  107. }
  108. .plus.icon {
  109. margin-top: 5px;
  110. }
  111. }
  112. ul {
  113. list-style: none;
  114. margin: 0;
  115. padding-left: 0;
  116. li {
  117. &:not(:last-child) {
  118. border-bottom: 1px solid #ebebeb;
  119. }
  120. &.private {
  121. background-color: #fcf8e9;
  122. }
  123. a {
  124. padding: 6px 1.2em;
  125. display: block;
  126. .octicon {
  127. color: #888888;
  128. &.rear {
  129. font-size: 15px;
  130. }
  131. }
  132. .star-num {
  133. font-size: 12px;
  134. }
  135. }
  136. }
  137. }
  138. .repo-owner-name-list {
  139. .item-name {
  140. max-width: 70%;
  141. margin-bottom: -4px;
  142. }
  143. }
  144. #collaborative-repo-list {
  145. .owner-and-repo {
  146. max-width: 80%;
  147. margin-bottom: -5px;
  148. }
  149. .owner-name {
  150. max-width: 120px;
  151. margin-bottom: -5px;
  152. }
  153. }
  154. }
  155. }