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.

_form.less 2.0 kB

10 years ago
10 years ago
10 years ago
10 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. .form {
  2. .help {
  3. color: #999999;
  4. padding-top: .6em;
  5. padding-bottom: .6em;
  6. display: inline-block;
  7. }
  8. }
  9. .ui.attached.header {
  10. background: #f0f0f0;
  11. .right {
  12. margin-top: -5px;
  13. .button {
  14. padding: 8px 10px;
  15. font-weight: normal;
  16. }
  17. }
  18. }
  19. @create-page-form-input-padding: 250px !important;
  20. #create-page-form {
  21. form {
  22. margin: auto;
  23. width: 800px!important;
  24. .ui.message {
  25. text-align: center;
  26. }
  27. .header {
  28. padding-left: @create-page-form-input-padding+30px;
  29. }
  30. .inline.field > label {
  31. text-align: right;
  32. width: @create-page-form-input-padding;
  33. word-wrap: break-word;
  34. }
  35. .help {
  36. margin-left: @create-page-form-input-padding+15px;
  37. }
  38. .optional .title {
  39. margin-left: @create-page-form-input-padding;
  40. }
  41. input,
  42. textarea {
  43. width: 50%!important;
  44. }
  45. }
  46. }
  47. .signin {
  48. .oauth2{
  49. div {
  50. display: inline-block;
  51. p {
  52. margin: 10px 5px 0 0;
  53. float: left;
  54. }
  55. }
  56. a {
  57. margin-right: 5px;
  58. &:last-child {
  59. margin-right: 0px;
  60. }
  61. }
  62. img {
  63. width: 32px;
  64. height: 32px;
  65. }
  66. }
  67. }
  68. .user.activate,
  69. .user.forgot.password,
  70. .user.reset.password,
  71. .user.signin,
  72. .user.signup {
  73. @input-padding: 200px!important;
  74. #create-page-form;
  75. form {
  76. width: 700px!important;
  77. .header {
  78. padding-left: 0 !important;
  79. text-align: center;
  80. }
  81. .inline.field > label {
  82. width: @input-padding;
  83. }
  84. }
  85. }
  86. .repository {
  87. &.new.repo,
  88. &.new.migrate,
  89. &.new.fork {
  90. #create-page-form;
  91. form {
  92. .dropdown {
  93. .dropdown.icon {
  94. margin-top: -7px!important;
  95. }
  96. .text {
  97. margin-right: 0!important;
  98. i {
  99. margin-right: 0!important;
  100. }
  101. }
  102. }
  103. .header {
  104. padding-left: 0 !important;
  105. text-align: center;
  106. }
  107. }
  108. }
  109. &.new.repo {
  110. .ui.form {
  111. .selection.dropdown:not(.owner) {
  112. width: 50%!important;
  113. }
  114. #auto-init {
  115. margin-left: @create-page-form-input-padding+15px;
  116. }
  117. }
  118. }
  119. }
  120. .new.webhook {
  121. form {
  122. .help {
  123. margin-left: 25px;
  124. }
  125. }
  126. }
  127. .new.webhook {
  128. .events.fields {
  129. .column {
  130. padding-left: 40px;
  131. }
  132. }
  133. }