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 13 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
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  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. i.COMPLETED,i.SUCCEEDED{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. }
  233. .git-user-content{
  234. margin-bottom: 16px;
  235. word-break: break-all;
  236. }
  237. .row.git-user-content .ui.avatar.s16.image {
  238. width: 50px !important;
  239. height: 50px !important;
  240. vertical-align: middle;
  241. border-radius: 500rem;}
  242. .user-list-item {
  243. padding: 0.3em 0px !important;
  244. margin: 15px 0 !important;
  245. width: 220px !important;
  246. }
  247. .row.git-user-content .content {
  248. margin-left: 6px;
  249. display: inline-block;
  250. vertical-align: top !important;
  251. overflow: hidden;
  252. }
  253. .row.git-user-content .content .header {
  254. font-weight: bold;
  255. }
  256. .item.user-list-item .header {
  257. line-height: 23px !important;
  258. font-size: 16px !important;
  259. text-overflow: ellipsis;
  260. overflow: hidden;
  261. width: 145px;
  262. white-space:nowrap;
  263. }
  264. .item.user-list-item .header a {
  265. color: #587284 !important;
  266. }
  267. .row.git-user-content .content .commit-btn {
  268. margin-top: 6px;
  269. float: left;
  270. font-size: 11px;
  271. color: #40485b !important;
  272. }
  273. .dropdown-menu {
  274. position: relative;
  275. display: inline-block;
  276. }
  277. .hover_active{
  278. height: 100% !important;
  279. margin-top: 1px !important;
  280. }
  281. .dropdown-menu:hover .dropdown-content {
  282. display: block;
  283. }
  284. .dropdown-menu:hover .hover_active {
  285. background: #fff !important;
  286. border-color: #d4d4d5 !important;
  287. font-weight: 700 !important;
  288. // margin-bottom: -1px;
  289. -webkit-box-shadow: none !important;
  290. box-shadow: none !important;
  291. border-radius: .28571429rem .28571429rem 0 0!important;
  292. color: rgba(0,0,0,.95) !important;
  293. border-top-width: 1px !important;
  294. }
  295. .dropdown-menu:hover .dropdown-content {
  296. display: block;
  297. }
  298. .dropdown-content{
  299. display: none;
  300. position: absolute;
  301. background-color: #ffffff;
  302. min-width: 180px;
  303. z-index: 999;
  304. border: 1px solid transparent;
  305. border-color: #d4d4d5;
  306. border-top: none;
  307. }
  308. .dropdown-content a {
  309. color: black;
  310. padding: 12px 16px;
  311. text-decoration: none;
  312. display: block;
  313. }
  314. .dropdown-content a:hover {background-color: #f1f1f1}
  315. .cloudbrain-question{
  316. margin-left: 4px !important;
  317. color: #3291F8;
  318. }
  319. //缺省页
  320. .bgtask-none{
  321. background: #fff !important;
  322. border: 0 !important;
  323. box-shadow: none !important;
  324. padding-bottom: 0 !important;
  325. padding-top: 2em !important;
  326. }
  327. .bgtask-header-pic {
  328. height: 80px;
  329. text-align: center;
  330. background: url(//ai-studio-static-online.cdn.bcebos.com/aistudio/dist/1638363279337/images/search_empty.png) top no-repeat;
  331. background-size: 80px 80px;
  332. }
  333. .bgtask-content{
  334. margin: 2rem auto 0;
  335. /* width: 500px; */
  336. text-align: left;
  337. }
  338. .bgtask-content-txt {
  339. font-size: 14px;
  340. color: #a6a6a6;
  341. line-height: 22px;
  342. margin-bottom: 4px;
  343. }
  344. .bgtask-content-header {
  345. text-align: center;
  346. color: #3F3F40;
  347. font-size: 18px;
  348. margin-bottom: 1rem;
  349. }
  350. .selectcloudbrain .active.item{
  351. color: #0087f5 !important;
  352. border: 1px solid #0087f5;
  353. margin: -1px;
  354. background: #FFF !important;
  355. }
  356. #deletemodel {
  357. width: 100%;
  358. height: 100%;
  359. }
  360. /* 弹窗 */
  361. #mask {
  362. position: fixed;
  363. top: 0px;
  364. left: 0px;
  365. right: 0px;
  366. bottom: 0px;
  367. filter: alpha(opacity=60);
  368. background-color: #777;
  369. z-index: 1000;
  370. display: none;
  371. opacity: 0.8;
  372. -moz-opacity: 0.5;
  373. padding-top: 100px;
  374. color: #000000
  375. }
  376. #loadingPage {
  377. margin: 200px auto;
  378. width: 50px;
  379. height: 40px;
  380. text-align: center;
  381. font-size: 10px;
  382. display: block;
  383. }
  384. #loadingPage>div {
  385. background-color: green;
  386. height: 100%;
  387. width: 6px;
  388. display: inline-block;
  389. -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  390. animation: sk-stretchdelay 1.2s infinite ease-in-out;
  391. }
  392. #loadingPage .rect2 {
  393. -webkit-animation-delay: -1.1s;
  394. animation-delay: -1.1s;
  395. }
  396. #loadingPage .rect3 {
  397. -webkit-animation-delay: -1.0s;
  398. animation-delay: -1.0s;
  399. }
  400. #loadingPage .rect4 {
  401. -webkit-animation-delay: -0.9s;
  402. animation-delay: -0.9s;
  403. }
  404. #loadingPage .rect5 {
  405. -webkit-animation-delay: -0.8s;
  406. animation-delay: -0.8s;
  407. }
  408. @-webkit-keyframes sk-stretchdelay {
  409. 0%,
  410. 40%,
  411. 100% {
  412. -webkit-transform: scaleY(0.4)
  413. }
  414. 20% {
  415. -webkit-transform: scaleY(1.0)
  416. }
  417. }
  418. @keyframes sk-stretchdelay {
  419. 0%,
  420. 40%,
  421. 100% {
  422. transform: scaleY(0.4);
  423. -webkit-transform: scaleY(0.4);
  424. }
  425. 20% {
  426. transform: scaleY(1.0);
  427. -webkit-transform: scaleY(1.0);
  428. }
  429. }
  430. /* 消息框 */
  431. .alert {
  432. display: none;
  433. position: fixed;
  434. width: 100%;
  435. z-index: 1001;
  436. padding: 15px;
  437. border: 1px solid transparent;
  438. border-radius: 4px;
  439. text-align: center;
  440. font-weight: bold;
  441. }
  442. .alert-success {
  443. color: #3c763d;
  444. background-color: #dff0d8;
  445. border-color: #d6e9c6;
  446. }
  447. .alert-info {
  448. color: #31708f;
  449. background-color: #d9edf7;
  450. border-color: #bce8f1;
  451. }
  452. .alert-warning {
  453. color: #8a6d3b;
  454. background-color: #fcf8e3;
  455. border-color: #faebcc;
  456. }
  457. .alert-danger {
  458. color: #a94442;
  459. background-color: #f2dede;
  460. border-color: #ebccd1;
  461. }
  462. .pusher {
  463. width: calc(100% - 260px);
  464. box-sizing: border-box;
  465. }
  466. /* 弹窗 (background) */
  467. #imageModal {
  468. display: none;
  469. position: fixed;
  470. z-index: 1;
  471. left: 0;
  472. top: 0;
  473. width: 100%;
  474. height: 100%;
  475. overflow: auto;
  476. background-color: rgb(0, 0, 0);
  477. background-color: rgba(0, 0, 0, 0.4);
  478. }
  479. /* 弹窗内容 */
  480. .modal-content {
  481. background-color: #fefefe;
  482. margin: 15% auto;
  483. padding: 20px;
  484. border: 1px solid #888;
  485. width: 30%;
  486. }
  487. /* 关闭按钮 */
  488. .close {
  489. color: #aaa;
  490. float: right;
  491. font-size: 28px;
  492. font-weight: bold;
  493. }
  494. .close:hover,
  495. .close:focus {
  496. color: black;
  497. text-decoration: none;
  498. cursor: pointer;
  499. }
  500. .dis {
  501. margin-bottom: 20px;
  502. }
  503. .disabled {
  504. cursor: pointer;
  505. pointer-events: none;
  506. }
  507. .left2{
  508. margin-left: -2px !important;
  509. }
  510. .width70{
  511. width: 70% !important;
  512. }
  513. .width83{
  514. width: 83% !important;
  515. }
  516. .content-padding{
  517. padding: 40px !important;
  518. }
  519. .model_disabled{
  520. background-color: rgba(245, 245, 246, 100) !important;
  521. color: rgba(136, 136, 136, 100) !important;
  522. }
  523. .edge{
  524. margin-left:0 !important;
  525. margin-right: 0 !important;
  526. padding-left:0 !important;
  527. padding-right:0 !important;
  528. }
  529. .lfpd {
  530. padding-left:0 !important;
  531. padding-right: 0 !important;
  532. }
  533. .mglf{
  534. margin-left:0.5em !important;
  535. }
  536. .tooltips{
  537. display: inline-block;
  538. margin-left: 5.5rem;
  539. font-size: 12px;
  540. margin-top: 0.7rem;
  541. color: #888888;
  542. }
  543. .tutorial_icon{
  544. vertical-align: middle;
  545. margin-right: 0.75em;
  546. }