PageRenderTime 46ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/app/assets/stylesheets/pages/issuable.scss

https://gitlab.com/zarevavasyl/gitlab-ce
Sass | 372 lines | 299 code | 68 blank | 5 comment | 0 complexity | 46e09a1350dcdaf2ffdb2db5cf0ac5aa MD5 | raw file
  1. .issuable-details {
  2. section {
  3. .issuable-discussion {
  4. margin-right: 1px;
  5. }
  6. }
  7. }
  8. .issuable-filter-count {
  9. span {
  10. display: block;
  11. margin-bottom: -16px;
  12. padding: 13px 0;
  13. }
  14. }
  15. .issuable-show-labels {
  16. a {
  17. margin-right: 5px;
  18. margin-bottom: 5px;
  19. display: inline-block;
  20. .color-label {
  21. padding: 6px 10px;
  22. }
  23. }
  24. &.has-labels {
  25. margin-bottom: -5px;
  26. }
  27. }
  28. .issuable-sidebar {
  29. a {
  30. color: inherit;
  31. }
  32. .block {
  33. @include clearfix;
  34. padding: $gl-padding 0;
  35. border-bottom: 1px solid $border-gray-light;
  36. // This prevents the mess when resizing the sidebar
  37. // of elements repositioning themselves..
  38. width: $gutter_inner_width;
  39. // --
  40. &.issuable-sidebar-header {
  41. padding-top: 0;
  42. padding-bottom: 10px;
  43. }
  44. &:last-child {
  45. border: none;
  46. }
  47. span {
  48. display: inline-block;
  49. }
  50. .select2-container span {
  51. margin-top: 0;
  52. }
  53. .issuable-count {
  54. margin-top: 7px;
  55. }
  56. .gutter-toggle {
  57. margin-left: 20px;
  58. padding-left: 10px;
  59. &:hover {
  60. color: $gray-darkest;
  61. }
  62. }
  63. }
  64. .title {
  65. color: $gl-text-color;
  66. margin-bottom: 10px;
  67. line-height: 1;
  68. .avatar {
  69. margin-left: 0;
  70. }
  71. .edit-link {
  72. color: $gl-gray;
  73. &:hover {
  74. color: $md-link-color;
  75. }
  76. }
  77. }
  78. .cross-project-reference {
  79. color: inherit;
  80. span {
  81. white-space: nowrap;
  82. width: 85%;
  83. overflow: hidden;
  84. position: relative;
  85. display: inline-block;
  86. text-overflow: ellipsis;
  87. }
  88. cite {
  89. font-style: normal;
  90. }
  91. button {
  92. float: right;
  93. padding: 3px 5px;
  94. }
  95. }
  96. .selectbox {
  97. display: none
  98. }
  99. .btn-clipboard {
  100. color: $gl-gray;
  101. }
  102. }
  103. .right-sidebar {
  104. position: fixed;
  105. top: $header-height;
  106. bottom: 0;
  107. right: 0;
  108. z-index: 10;
  109. transition: width .3s;
  110. background: $gray-light;
  111. padding: 10px 20px;
  112. &.right-sidebar-expanded {
  113. width: $gutter_width;
  114. .value {
  115. line-height: 1;
  116. .assign-yourself {
  117. margin-top: 10px;
  118. font-weight: normal;
  119. display: block;
  120. }
  121. }
  122. .bold {
  123. font-weight: 600;
  124. }
  125. .sidebar-collapsed-icon {
  126. display: none;
  127. }
  128. .gutter-toggle {
  129. margin-top: 7px;
  130. border-left: 1px solid $border-gray-light;
  131. }
  132. .assignee .avatar {
  133. float: left;
  134. margin-right: 10px;
  135. margin-bottom: 0;
  136. margin-left: 0;
  137. }
  138. .username {
  139. display: block;
  140. margin-top: 4px;
  141. font-size: 13px;
  142. font-weight: normal;
  143. }
  144. }
  145. &.right-sidebar-collapsed {
  146. /* Extra small devices (phones, less than 768px) */
  147. display: none;
  148. /* Small devices (tablets, 768px and up) */
  149. @media (min-width: $screen-sm-min) {
  150. display: block
  151. }
  152. width: $sidebar_collapsed_width;
  153. padding-top: 0;
  154. .block {
  155. width: $sidebar_collapsed_width - 1px;
  156. margin-left: -19px;
  157. padding: 15px 0 0;
  158. border-bottom: none;
  159. overflow: hidden;
  160. }
  161. .participants {
  162. border-bottom: 1px solid $border-gray-light;
  163. }
  164. .hide-collapsed {
  165. display: none;
  166. }
  167. .gutter-toggle {
  168. width: 100%;
  169. margin-left: 0;
  170. padding-left: 25px;
  171. }
  172. .sidebar-collapsed-icon {
  173. display: block;
  174. width: 100%;
  175. text-align: center;
  176. padding-bottom: 10px;
  177. color: #999;
  178. span {
  179. display: block;
  180. margin-top: 0;
  181. }
  182. .author {
  183. display: none;
  184. }
  185. .btn-clipboard {
  186. border: none;
  187. &:hover {
  188. background: transparent;
  189. }
  190. i {
  191. color: #999;
  192. }
  193. }
  194. }
  195. .sidebar-collapsed-user {
  196. padding-bottom: 0;
  197. margin-bottom: 10px;
  198. }
  199. }
  200. .issuable-pager {
  201. background: $gray-normal;
  202. border: 1px solid $border-gray-normal;
  203. &:hover {
  204. background: $gray-dark;
  205. border: 1px solid $border-gray-dark;
  206. }
  207. &.btn-primary {
  208. @extend .btn-primary
  209. }
  210. }
  211. a:not(.issuable-pager) {
  212. &:hover {
  213. color: $md-link-color;
  214. text-decoration: none;
  215. }
  216. }
  217. .dropdown-content {
  218. a:hover {
  219. color: inherit;
  220. }
  221. }
  222. .dropdown-menu-toggle {
  223. width: 100%;
  224. padding-top: 6px;
  225. }
  226. .open .dropdown-menu {
  227. width: 100%;
  228. }
  229. }
  230. .detail-page-description {
  231. small {
  232. color: $gray-darkest;
  233. }
  234. }
  235. .edited-text {
  236. color: $gray-darkest;
  237. .author_link {
  238. color: $gray-darkest;
  239. }
  240. }
  241. .participants-list {
  242. margin: -5px;
  243. }
  244. .participants-author {
  245. display: inline-block;
  246. padding: 5px;
  247. .author_link {
  248. display: block;
  249. }
  250. .avatar.avatar-inline {
  251. margin: 0;
  252. }
  253. }
  254. .participants-more {
  255. margin-top: 5px;
  256. margin-left: 5px;
  257. a {
  258. color: #8c8c8c;
  259. }
  260. }
  261. .issuable-form-padding-top {
  262. @media (min-width: $screen-sm-min) {
  263. padding-top: 7px;
  264. }
  265. }
  266. .issuable-status-box {
  267. float: none;
  268. display: inline-block;
  269. margin-top: 0;
  270. @media (max-width: $screen-xs-max) {
  271. position: absolute;
  272. top: 0;
  273. left: 0;
  274. }
  275. }
  276. .issuable-header {
  277. position: relative;
  278. padding-left: 45px;
  279. padding-right: 45px;
  280. line-height: 35px;
  281. @media (min-width: $screen-sm-min) {
  282. float: left;
  283. padding-left: 0;
  284. padding-right: 0;
  285. }
  286. }
  287. .issuable-actions {
  288. padding-top: 10px;
  289. @media (min-width: $screen-sm-min) {
  290. float: right;
  291. padding-top: 0;
  292. }
  293. }
  294. .issuable-gutter-toggle {
  295. @media (max-width: $screen-sm-max) {
  296. position: absolute;
  297. top: 0;
  298. right: 0;
  299. }
  300. }
  301. .issuable-meta {
  302. display: inline-block;
  303. line-height: 18px;
  304. }