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 3.0 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. .ui.message {
  24. text-align: center;
  25. }
  26. @media only screen and (min-width: 768px) {
  27. width: 800px!important;
  28. .header {
  29. padding-left: @create-page-form-input-padding+30px;
  30. }
  31. .inline.field > label {
  32. text-align: right;
  33. width: @create-page-form-input-padding;
  34. word-wrap: break-word;
  35. }
  36. .help {
  37. margin-left: @create-page-form-input-padding+15px;
  38. }
  39. .optional .title {
  40. margin-left: @create-page-form-input-padding;
  41. }
  42. input,
  43. textarea {
  44. width: 50%!important;
  45. }
  46. }
  47. @media only screen and (max-width: 767px) {
  48. .optional .title {
  49. margin-left: 15px;
  50. }
  51. .inline.field > label {
  52. display: block;
  53. }
  54. }
  55. }
  56. }
  57. .signin {
  58. .oauth2{
  59. div {
  60. display: inline-block;
  61. p {
  62. margin: 10px 5px 0 0;
  63. float: left;
  64. }
  65. }
  66. a {
  67. margin-right: 3px;
  68. &:last-child {
  69. margin-right: 0px;
  70. }
  71. }
  72. img {
  73. width: 32px;
  74. height: 32px;
  75. &.openidConnect {
  76. width: auto;
  77. }
  78. }
  79. }
  80. }
  81. .user.activate,
  82. .user.forgot.password,
  83. .user.reset.password,
  84. .user.signin,
  85. .user.signup {
  86. @input-padding: 200px!important;
  87. #create-page-form;
  88. form {
  89. width: 700px!important;
  90. .header {
  91. padding-left: 0 !important;
  92. text-align: center;
  93. }
  94. .inline.field > label {
  95. width: @input-padding;
  96. }
  97. }
  98. }
  99. .repository {
  100. &.new.repo,
  101. &.new.migrate,
  102. &.new.fork {
  103. #create-page-form;
  104. form {
  105. .dropdown {
  106. .dropdown.icon {
  107. margin-top: -7px!important;
  108. }
  109. .text {
  110. margin-right: 0!important;
  111. i {
  112. margin-right: 0!important;
  113. }
  114. }
  115. }
  116. .header {
  117. padding-left: 0 !important;
  118. text-align: center;
  119. }
  120. }
  121. }
  122. &.new.repo {
  123. .ui.form {
  124. .selection.dropdown:not(.owner) {
  125. width: 50%!important;
  126. }
  127. @media only screen and (min-width: 768px) {
  128. #auto-init {
  129. margin-left: @create-page-form-input-padding+15px;
  130. }
  131. }
  132. }
  133. }
  134. }
  135. .new.webhook {
  136. form {
  137. .help {
  138. margin-left: 25px;
  139. }
  140. }
  141. }
  142. .new.webhook {
  143. .events.fields {
  144. .column {
  145. padding-left: 40px;
  146. }
  147. }
  148. }
  149. .githook {
  150. textarea {
  151. font-family: monospace;
  152. }
  153. }