common.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. a {color: #169;}
  2. a:hover, a:active {text-decoration:underline; color: #C61A1A;}
  3. #swapper a {text-decoration: none;}
  4. #swapper .col-footer a:hover {color: #0c64eb;}
  5. h2,h3 {font-size: 20px; margin: 0; clear: both;}
  6. h3 {font-size: 16px;}
  7. .revision {line-height: 20px; text-align: right; padding-right: 8px;}
  8. .directory {background-image:url('theme/default/images/repo/dir.png');}
  9. .file {background-image:url('theme/default/images/repo/txt.png');}
  10. .mini-icon {display: inline-block; height: 16px; width: 16px; background-color: transparent; background-position: 0 0; background-repeat: no-repeat; vertical-align: text-bottom;}
  11. .action {float: left;}
  12. .input-group select#encrypt {border-left: 0px;}
  13. .input-group #encrypt_chosen {width: 40% !important;}
  14. .arrange {float: right;}
  15. .versions {position: relative;}
  16. #diffRepo {position: absolute; left: 20px; z-index: 1000;}
  17. #repoID {display: inline-block; width: auto;}
  18. .table-form>tbody>tr>th {width: 110px;}
  19. .repoCode a:hover {text-decoration: none;}
  20. .commentButton
  21. {
  22. background-repeat: no-repeat;
  23. position: absolute;
  24. left: -28px;
  25. width: 40px;
  26. z-index: 10;
  27. cursor:pointer;
  28. font-size: 18px;
  29. color: #4183C4;
  30. display: none;
  31. }
  32. .repoCode tr.over .commentButton {display: block;}
  33. .bug
  34. {
  35. background-repeat: no-repeat;
  36. position: absolute;
  37. left: -7px;
  38. width: 20px;
  39. z-index: 0;
  40. cursor:pointer;
  41. font-size: 18px;
  42. color: #4183C4;
  43. line-height: 18px;
  44. }
  45. .repoCode .icon {opacity: 1;}
  46. .icon-comment-add:before {content: '\e74c'; transform: scale(-1, 1); display: inline-block; font-weight: normal;}
  47. .icon-comment-add:after {content: '+'; display: block; font-weight: normal; position: absolute; left: 16px; top: 1px; font-family: Arial; font-weight: bold; font-size: 12px;}
  48. .icon-comments:before {content: '\e750'; transform: scale(-1, 1); display: inline-block; font-weight: normal; font-size: 18px; line-height: 18px;}
  49. .commentButton:hover,.bug:hover {color: #d20b0b;}
  50. .commentBoard {border-top: 1px solid #E4E4E4; border-bottom: 1px solid #E4E4E4; padding: 0; white-space: normal; background-color: #eee; padding: 10px;}
  51. .commentBoard .table-form th {background: none;}
  52. .lines input {width: 40px;}
  53. .commentSubmit, .commentCancel {margin-right: 10px;}
  54. .commentFoot .optional {float: left;}
  55. .commentBoard.using .bugContainer {border: 1px solid #ddd; background: #fff;}
  56. .commentBoard.using .bugContainer > .commentHeader {background: #f1f1f1; padding: 0 10px; border-bottom: 1px solid #ddd;}
  57. .commentHeaderAuthor {max-width: 600px; line-height: 33px; font-weight: bold; color: #222; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
  58. .comment {width: 100%; word-break: keep-all; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
  59. .commentContent {margin: 10px;}
  60. .commentHeaderRight {float: right;}
  61. /* Sider */
  62. #mainContent > #sidebar > .side-body.affix {top: 0px; z-index: 10000;}
  63. /* Pre row */
  64. .repoCode table > tbody > tr.over > td {background: #f8eec7;}
  65. .repoCode table > tbody > tr.over > th {background: #cdcdcd !important; color: #333 !important;}
  66. /* Comment-btn */
  67. .comment-btn {position: relative; margin: 0; padding: 0; display: none;}
  68. .repoCode tr.over .comment-btn {display: block;}
  69. .comment-btn .icon-wrapper {display: block; position: absolute; background: #4183C4; border-radius: 2px; width: 24px; height: 20px; left: -6px; top: -2; line-height: 20px; text-align: center; color: #fff; cursor: pointer;}
  70. .comment-btn .icon-wrapper:before {display: block; content: ' '; right: -4px; top: 6px; position: absolute; border-left: 4px solid #4183C4; border-right: 0 solid transparent; border-bottom: 4px solid transparent; border-top: 4px solid transparent; width: 0; height: 0;}
  71. .comment-btn .icon-wrapper:hover {background: #169; transform: scale(1.1);}
  72. .comment-btn .icon-wrapper:hover:before {border-left-color: #169;}
  73. .repoCode tr.commented {cursor: pointer;}
  74. .repoCode tr.commented .comment-btn {display: block; float:left;}
  75. .repoCode tr.commented .comment-btn .icon-wrapper {background: none; border: none; width: 24px; line-height: 18px; height: 18px; left: -6px; color: #4183c4;}
  76. .repoCode tr.commented .comment-btn .icon-wrapper:hover {border-color: #169; color: #169;}
  77. .repoCode tr.commented .comment-btn .icon-wrapper > i:before {font-size: 18px; display: inline-block;}
  78. .repoCode tr.commented .comment-btn .icon-wrapper:before {display: none;}
  79. .repoCode tr.over.commented .comment-btn {margin-left: -20px; width: 25px; height:18px;}
  80. .repoCode tr.over.commented .comment-btn .icon-wrapper, .repoCode tr.selected.commented .comment-btn .icon-wrapper {line-height: 20px; height: 20px; background: #4183C4; color: #fff; left: -8px;}
  81. .repoCode tr.over.commented .comment-btn .icon-wrapper > i:before {font-size: 14px;}
  82. .repoCode tr.selected.commented .comment-btn .icon-wrapper > i:before {font-size: 14px;}
  83. .repoCode tr.over.commented .comment-btn .icon-wrapper:before, .repoCode tr.selected.commented .comment-btn .icon-wrapper:before {display: block;}
  84. /* repo action form */
  85. .repoCode .comment-actions {max-width: 900px;}
  86. .repoCode table {table-layout: fixed;}
  87. .repoCode table td {white-space: pre-line;}
  88. .repoCode .bugFormContainer {border: 1px solid #bbb; margin: 0 0 0 15px; padding: 10px 20px 10px 10px; max-width: 880px; background: #fff;}
  89. .repoCode .bugFormContainer th {width: 70px;}
  90. .repoCode .action-row {display: none;}
  91. .repoCode .with-action-row .action-row {display: table-row;}
  92. .repoCode .action-cell {background: #EEE; white-space: normal; padding: 10px 15px 10px 0;}
  93. .repoCode .with-action-row table tr.selected .comment-btn:last-child {display: block;}
  94. .repoCode .with-action-row table tr.selected td {background: #f8eec7;}
  95. .repoCode .with-action-row table tr.selected th {background: #cdcdcd;}
  96. .repoCode .with-action-row table tr.selected .comment-btn .icon-wrapper > i:before, .repoCode #diff.with-action-row tr.selected .comment-btn .icon-wrapper > i:before {content: '\d7';}
  97. .repoCode .comment-row {display: none;}
  98. .repoCode .comment-row.show {display: table-row !important;}
  99. .repoCode .comment-cell {background: #eee; white-space: normal;}
  100. .repoCode .comment-cell .panel {margin: 10px; border-color: #bbb;}
  101. .repoCode .comment-cell .panel-body {padding: 6px 10px;}
  102. .repoCode .comment-cell .panel-actions.pull-right {margin-right: 0; margin-top: -25px; position: unset;}
  103. .repoCode .comment-cell .editing .panel-body, .repoCode .comment-cell .commentContainer.show-form .panel-body {display: none;}
  104. .repoCode .comment-cell .bug-edit-form, {padding: 10px; display: none;}
  105. .repoCode .comment-cell .editing .bug-edit-form, .repoCode .comment-cell .commentContainer.show-form .comment-edit-form {display: block;}
  106. .repoCode .comment {border: 1px solid #e5e5e5; background: #fafafa; padding: 5px 10px 1px; margin-bottom: 10px;}
  107. .repoCode .comment .comment-edit-form {margin-top: 10px;}
  108. .repoCode .panel-bug .steps {background: #f1f1f1; padding: 5px 10px;}
  109. .repoCode .panel-bug .bug-edit-form {margin-bottom: 10px;}
  110. .repoCode .panel-bug .panel-body {display: none;}
  111. .repoCode .panel-bug .panel-heading {cursor: pointer; border-bottom: 1px solid #edf3ff;}
  112. .repoCode .panel-bug.show .panel-body {display: block;}
  113. .repoCode .panel-bug.show .icon-chevron-sign-down:before {content: '\e711';}
  114. .repoCode .panel-bug.show-edit-form .bug-edit-form,
  115. .repoCode .panel-bug.show-form .commentForm,
  116. .repoCode .comment.show-form .comment-edit-form {display: block;}
  117. .repoCode .panel-bug .bug-edit-form,
  118. .repoCode .panel-bug.show-form .addComment,
  119. .repoCode .panel-bug .commentForm,
  120. .repoCode .comment .comment-edit-form,
  121. .repoCode .panel-bug.show-edit-form .panel-body .title,
  122. .repoCode .panel-bug.show-edit-form .bug-date,
  123. .repoCode .comment.show-form .comment-content {display: none;}
  124. .repoCode .text-content {white-space: normal; white-space: pre-line;}
  125. .repoCode .text-muted {color: #aaa;}
  126. .repoCode tr {transition: all 1s; height:20px;}
  127. .repoCode tr.highlight {background: #fff4e5;}
  128. .repoCode tr.highlight td, .repoCode tr.highlight th {background: none; border-top: 1px solid #e48600; border-bottom: 1px solid #e48600;}
  129. .repoCode tr.highlight.commented th {color: #e48600;}
  130. .repoCode tr.highlight.commented td, .repoCode tr.highlight.commented th {border-bottom: none;}
  131. .repoCode tr.highlight + tr.highlight td, .repoCode tr.highlight + tr.highlight th {border-top: none;}
  132. .repoCode .row-tip {display: none;}
  133. .repoCode tr.commented .row-tip {display: block; position: relative; right: -3px; bottom: -1px;}
  134. .repoCode tr.commented .tip, .repoCode tr.commented.open .tip.on-collapse {display: block; position: absolute; right: 0; bottom: 0; color: #4183c4; opacity: 0; padding: 0 5px; background: #edf3ff; height: 20px; line-height: 20px; transition: opacity 0.2s;}
  135. .repoCode tr.commented:hover .tip.on-expand {opacity: 1;}
  136. .repoCode tr.commented.open .tip.on-collapse {opacity: 1;}
  137. .repoCode tr.commented.open .tip.on-expand {display: none;}
  138. .repoCode tr.commented.open .tip.on-collapse span {display: none;}
  139. .repoCode tr.commented.open:hover .tip.on-collapse span {display: inline;}
  140. .repoCode tr.commented.open {background: #f8fafe;}
  141. .repoCode tr.commented .preview-icon {position: absolute; left: -6px; bottom: 0; width: 20px; height: 20px; line-height: 20px; text-align: center; color: #4183c4; background: #edf3ff; display: none;}
  142. .repoCode tr.commented:hover .preview-icon {display: block; transform: scale(-1, 1);}
  143. .repoCode tr.commented .preview-icon:before {font-size: 18px;}
  144. .repoCode #diff tr.commented .row-tip {right: 0;}
  145. .repoCode #diff tr.commented .icon-chat-dot {left: 0;}
  146. .repoCode .panel, .bugFormContainer {transition: border 0.4s;}
  147. .repoCode .panel.highlight, #bugForm.highlight .bugFormContainer {border-color: #e48600;}
  148. #bugsPreview {white-space: normal;}
  149. #bugsPreview .dropdown-menu {top: -100%; left: 30%; padding-top: 0; min-width: 300px; max-width: 500px;}
  150. #bugsPreview .dropdown-menu > li.dropdown-header {background: #f1f1f1; padding-top: 8px;}
  151. #bugsPreview .dropdown-menu > li > a {border-top: 1px solid #e5e5e5; text-overflow : ellipsis; overflow: hidden;}
  152. #bugsPreview .dropdown-menu.show {display: block;}
  153. .icon-comments {position: relative; left: -50px;}
  154. /* bug form */
  155. #bugForm, #bugForm table {margin: 0; padding: 0;}
  156. .panel .table + .panel-footer {border-top: 0; background: #fff;}
  157. .transparent {border-color:transparent; background: none repeat scroll 0 0 transparent;}
  158. .transparent:hover {border-color:transparent; background: none repeat scroll 0 0 transparent;}
  159. .side-col {width: 550px;}
  160. #sidebar > .side-body {width: 530px;}
  161. .hide-sidebar #sidebar > .side-body {display: none;}
  162. #sidebar>.sidebar-toggle {left: 5px; right: auto;}
  163. #sidebar>.sidebar-toggle>.icon {right: -4px; left: auto;}
  164. #logForm .fixed-footer a.allLogs {color: #fff !important;}
  165. #submitLabel {text-align: left;}
  166. .header-btn .btn > .text {text-overflow: unset !important;}
  167. #repoPageSize {right: 90px; padding: 8px 5px 6px 10px;}
  168. .dropdown-menu li > a.selected {color: #3123ae !important; background: #f2eafc !important; line-height: 20px; border-radius: 5px;}
  169. .tips-git a {padding-bottom: 1px;}
  170. .bug-lines {font-size: revert;}
  171. .comment.show-form .comment-form-div {margin-top: 20px; padding-bottom: 10px;}
  172. .comment .avatar {margin-right: 10px;}
  173. #fileTree li {padding: 0 0 0 8px;}
  174. #fileTree li.has-list {padding-left: 20px;}
  175. #fileTree li > a {display: block; padding: 6px 0; border-radius: 2px; padding-left: 6px; height: 30px; text-decoration: none;}
  176. #fileTree li > a > span {display: inline-block;}
  177. #fileTree li > a > span + span {margin-left: 8px;}
  178. #fileTree li.selected > a {background-color: #E8F3FC;}
  179. #fileTree li.selected > a > span.title {color: #006AF1;}
  180. #fileTree .label-id {border-color: #cbd0db; color: #7d8599}
  181. #fileTree .label.label-type {background: #fff; border: 1px solid #7d8599; color:#7d8599}
  182. #fileTree li > a > span.title {color: #3C4353; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle;}
  183. #fileTree li > a > span.user {color: #838a9d;}
  184. #fileTree li > a > span.user > .icon-person {font-size: 14px; position: relative; top: -1px; color: #a6aab8}
  185. #fileTree li > a:first-child {padding-left: 18px;}
  186. #fileTree li a.selected {color: #e9f2fb; background-color: #0c64eb;}
  187. #fileTree li > .list-toggle {transform: rotate(0deg); width: 16px; height: 16px; border: 4px solid #a6aab8; border-radius: 2px; top: 7px;}
  188. #fileTree li > .list-toggle:before {content: ' '; display: block; position: absolute; border: 1px solid #a6aab8; top: 2px; left: -3px; right: -3px; bottom: 2px; min-width: 0; transition: all .2s;}
  189. #fileTree li > .list-toggle:hover:before, #fileTree li > .list-toggle:hover {border-color: #006AF1;}
  190. #fileTree li.open > .list-toggle {width: 12px; height: 12px; top: 9px; background-color: #a6aab8; border-width: 3px; left: 3px;}
  191. #fileTree li.open > .list-toggle:before {border: none; height: 2px; width: 6px; left: 0; top: 2px; background: #fff;}
  192. #fileTree li.open > .list-toggle:hover {background: #006AF1;}
  193. #fileTree ul > li:after {display: block; position: absolute; content: ' '; border-top: 1px dashed #cbd0db; top: 14px; left: -12px; z-index: 1; width: 10px;}
  194. #fileTree ul > li:before, #fileTree ul > li.has-list:before {background: none; content: ' '; display: block; position: absolute; width: auto; height: auto; border: none; border-left: 1px dashed #cbd0db; top: -13px; bottom: 12px; left: -12px;}
  195. #fileTree ul > li:last-child:before {bottom: auto; height: 29px;}
  196. #fileTree ul > li:first-child:before {top: -9px;}
  197. #fileTree ul > li.has-list:first-child:before {top: -13px;}
  198. #fileTree ul > li.tree-single-item:before {height: 23px;}
  199. #fileTree ul > li.has-list:after {width: 14px;}
  200. #filesTree .tree li.has-list.open:before {border: none;}
  201. #fileTabs .nav-tabs > li.tab-nav-item > a {z-index: 1; background: none;}
  202. #fileTabs .nav-tabs > li > a::after {content: ''; position: absolute; top: 2px; left: 10px; width: 85%; right: 6px; bottom: 0; background: #f8f8f8; border: none; border-radius: 10px 10px 0 0; height: 70%; transform: perspective(4px)scale(1.1, 1.3) rotateX(5deg); z-index: -1;}
  203. #fileTabs .nav-tabs > li.active > a::after {background: #FFFFFF;}
  204. #fileTabs > .tabs-navbar {overflow: hidden; padding-bottom: 10px; position: relative; height: 35px; background: #efefef;}
  205. #fileTabs > .tabs-navbar > .nav-tabs {position: absolute; display: flex; padding-left: 25px;}
  206. .repoCode .content, .repoCode .btn:not(.btn-primary) {background-color: #efefef; border: none;}
  207. .repoCode .btn.btn-right, .repoCode .btn.btn-left {margin-right: 0; padding: 6px 6px;}
  208. #related .btn-right, #related .btn-left {padding-top: 6px;}
  209. #log .action-btn {margin-top: -7px;}
  210. #relationTabs .nav-tabs >li > a .tab-nav-close {display: none;}
  211. #relationTabs .nav-tabs > li > a > i, #relationTabs .nav-tabs > li > a > span {background: #EDEEF2; font-weight: normal; padding: 1px 5px;}
  212. #relationTabs .nav-tabs > li.active > a > i, #relationTabs .nav-tabs > li.active > a > span {background: #E6F0FF; color: #2e7fff;}
  213. .linkContent strong.text-primary {cursor: pointer;}
  214. #modules li {padding: 5px 0 0 15px;}
  215. .file-tree #modules .icon {color: #9EA3B0;}
  216. .file-tree #modules .icon-folder {padding-left: 5px;}
  217. li.selected .doc-title .icon, li.selected .doc-title a {color: #438EFF !important;}
  218. .btn-left, .btn-right {display: none;}
  219. .m-repo-ajaxgetrelationinfo{padding-bottom: 0;}