You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

openi.less 6.5 kB

4 years ago
4 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. a {
  2. color: #0366d6;
  3. }
  4. .ui .text.yellow a {
  5. color: #fbbd08!important
  6. }
  7. .ui .text.yellow a:hover {
  8. color: #f2711c!important
  9. }
  10. .mb-1 {
  11. margin-bottom: 8px !important;
  12. }
  13. .mb-2 {
  14. margin-bottom: 16px !important;
  15. }
  16. .following.bar #navbar .brand{
  17. padding-left: 0;
  18. padding-top: 0;
  19. padding-bottom: 0;
  20. }
  21. .following.bar .brand .ui.mini.image {
  22. width: auto;
  23. height: 40px;
  24. }
  25. .following.bar.dark {
  26. background-color: #363840;
  27. }
  28. .ui.secondary.menu.dark .item{
  29. color: #FFF;
  30. }
  31. .ui.secondary.menu.dark .item:hover{
  32. color: #40A9FF;
  33. }
  34. .ui.secondary.menu .active.item{
  35. color: #40A9FF;
  36. border-bottom: 1px solid #40A9FF;
  37. border-radius: 0;
  38. }
  39. .repository:not(.new), .organization:not(.new), .explore, .dashboard {
  40. padding-top: 0px;
  41. }
  42. .dashboard .dashboard-navbar, .organization .organization-header, .explore .repos--seach{
  43. padding-top:15px;
  44. padding-bottom: 15px;
  45. padding-left: 0;
  46. margin-bottom: 20px;
  47. background-color:#f5f5f6 !important;
  48. border-bottom: 1px solid rgba(34,36,38,.15);
  49. }
  50. .following.bar .text .svg.octicon-triangle-down {
  51. color: #3291F8;
  52. }
  53. .ui .avatar.image {
  54. border-radius: 30px;
  55. }
  56. footer {
  57. background-color: #f5f5f6;
  58. padding-bottom: 1.0rem;
  59. }
  60. .repository .header-wrapper {
  61. background-color: #f5f5f6;
  62. margin-top: 0px;
  63. }
  64. /*moble*/
  65. .ui.menu:not(.vertical) .item>.button {
  66. color: #FFF;
  67. box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset;
  68. }
  69. /*PC*/
  70. @media only screen and (min-width: 1200px){
  71. .following.bar #navbar, footer .container {
  72. padding: 0;
  73. }
  74. }
  75. /*start page*/
  76. .ui.header.section--header{
  77. font-size: 50px;
  78. font-weight: 300;
  79. text-align: center;
  80. margin-bottom: 1.0em;
  81. }
  82. .ui.header.section--header .sub.header {
  83. font-size: 20px;
  84. line-height: 30px;
  85. color: #9b9b9b;
  86. text-align: center;
  87. color: rgba(255,255,255,.6);
  88. }
  89. .ui.inverted.segment>.ui.header.section--header .sub.header{
  90. color: rgba(255,255,255,.6);
  91. }
  92. #index-project {
  93. background: #002060;
  94. color: #FFF;
  95. position: relative;
  96. padding-top: 3.0em;
  97. padding-bottom:2.0em
  98. }
  99. #index-project .ui.inverted.segment, #index-project .ui.primary.inverted.segment{
  100. background:none;
  101. }
  102. .prorow{
  103. background: rgba(0,27,81,0.8);
  104. }
  105. .flip{
  106. position:absolute;
  107. left:6px;
  108. right:6px;
  109. top:6px;
  110. bottom:6px;
  111. border:2px solid #ffc000;
  112. border-radius: 12px;
  113. transition: transform 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  114. transform: perspective(800px) rotateY(0deg);
  115. transform-style: preserve-3d;
  116. z-index:5;
  117. }
  118. .flip-more{ border-color:#4472c4}
  119. .flip-blue{ border-color:#00b0f0}
  120. .flip-green{ border-color:#00b050}
  121. #index-project .ipros:hover .flip{transform: perspective(800px) rotateY(180deg);}
  122. #index-project .ui.card{
  123. margin:0 auto;
  124. background:none;
  125. border:none;
  126. box-shadow:none;
  127. }
  128. #index-project .ui.card>.image>img{
  129. width:auto;
  130. margin:10px auto;
  131. }
  132. #index-project .ui.card>.content, #index-project.ui.cards>.card>.content{
  133. padding: 0.5em 0.2em;
  134. }
  135. .ui.inverted.segment .ui.card>.content>.header, .ui.inverted.segment .ui.cards>.card>.content>.header{
  136. color: rgba(255,255,255,.9);
  137. }
  138. .ui.inverted.segment .ui.card .meta, .ui.inverted.segment .ui.cards>.card .meta{
  139. color: #5b9bd5;
  140. }
  141. .ui.inverted.segment .ui.card>.extra, .ui.inverted.segment .ui.cards>.card>.extra {
  142. color: rgba(255,255,255,.4);
  143. }
  144. #particles{ width: 100%; height:100%; position: absolute; top:0; left:0; right:0; bottom:0;}
  145. footer .ui.vertical.text.menu:first-child{ margin-top: 1em}
  146. footer .ui.vertical.menu .header.item{ background:none}
  147. footer .column{margin-bottom:0!important; padding-bottom:0!important;}
  148. /*explore*/
  149. .explore .ui.secondary.vertical.pointing.menu,
  150. .explore .ui.secondary.vertical.pointing.menu .item,
  151. .organization .ui.secondary.vertical.pointing.menu,
  152. .organization .ui.secondary.vertical.pointing.menu .item{
  153. border-right-width: 0;
  154. }
  155. .explore .computer.only .ui.secondary.pointing.menu .item{
  156. padding-left:0;
  157. }
  158. .ui.repository.list .item .ui.header .metas{
  159. text-align: right;
  160. }
  161. @media only screen and (max-width:767.98px){
  162. .explore .repository.list .ui.right.menu{
  163. float: none;
  164. }
  165. }
  166. /*organization*/
  167. .organization-info{
  168. padding-top:15px;
  169. margin-bottom:2.5rem;
  170. }
  171. .organization-info > .container{
  172. overflow: auto;
  173. background: url(/img/org_bg.png) no-repeat center center #f5f5f6;
  174. padding-top: 30px;
  175. padding-bottom:20px;
  176. background-size: cover;
  177. border-radius: 5px;
  178. border: 1px solid #efefef;
  179. }
  180. .organization.profile #org-info .ui.header{
  181. font-size: 1.71428571rem;
  182. margin-bottom: 10px;
  183. font-weight: 400;
  184. }
  185. .organization.profile #org-avatar {
  186. width: 80px;
  187. height: 80px;
  188. margin-left: auto;
  189. margin-right: auto;
  190. margin-bottom: 15px;
  191. border: solid 5px #FFF;
  192. }
  193. .organization.profile #org-info .desc {
  194. font-size: 14px;
  195. width: 80%;
  196. margin: 0 auto 10px;
  197. color: #FFF;
  198. }
  199. .organization.teams .ui.attached.segment+.ui.attached.header{ margin-top:0}
  200. @media only screen and (max-width:768px){
  201. .organization-info{
  202. padding-top:0;
  203. }
  204. .organization-info > .container{
  205. margin-left:0!important;
  206. margin-right:0!important;
  207. }
  208. }
  209. .ui.vertical.menu .dropdown.item .menu {
  210. left: 50%;
  211. }
  212. // icon cloudbrain
  213. .i-round{display:inline-block;width:18px;height:18px;background:url("/img/icons.svg");background-position: -496px -52px;}
  214. .i-bg-organ{background-position: -496px -52px;}
  215. .STOPPED, .KILLED{display:inline-block;width:18px;height:18px;background:url("/img/icons.svg");background-position: -496px -52px;background-position: -459px -52px;}
  216. .RUNNING{display:inline-block;width:18px;height:18px;background:url("/img/icons.svg");background-position: -496px -52px;background-position: -478px -52px;}
  217. .i-bg-orange{background-position: -495px -51px;}
  218. .FAILED,.START_FAILED{display:inline-block;width:18px;height:18px;background:url("/img/icons.svg");background-position: -496px -52px;background-position: -532px -52px;}
  219. .i-bg-green{background-position: -441px -52px;}
  220. .i-bg-used{background-position: -514px -52px;}
  221. .icon-bind{background-position: -550px -52px;}
  222. .icon-unbind{background-position: -568px -52px;}
  223. .CREATING, .STOPPING, .DELETING, .STARTING, .WAITING ,.INIT,.KILLING{display:inline-block;background-image:url('/img/loading.gif');background-repeat:no-repeat;width:16px;height:16px;background-size:16px 16px;margin-right:5px;}
  224. .COMPLETED{display:inline-block;width:18px;height:18px;background:url("/img/icons.svg");background-position: -496px -52px;background-position: -441px -52px;}
  225. .text_over{
  226. overflow: hidden;
  227. text-overflow: ellipsis;
  228. -o-text-overflow: ellipsis;
  229. white-space: nowrap;
  230. display: inline-block;
  231. width: 100%;
  232. }