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

_form.less 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  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: 0;
  70. }
  71. }
  72. img {
  73. width: 32px;
  74. height: 32px;
  75. &.openidConnect {
  76. width: auto;
  77. }
  78. }
  79. }
  80. }
  81. @media only screen and (min-width: 768px) {
  82. .g-recaptcha,
  83. .h-captcha {
  84. margin: 0 auto !important;
  85. width: 304px;
  86. padding-left: 30px;
  87. }
  88. }
  89. @media screen and (max-height: 575px) {
  90. #rc-imageselect,
  91. .g-recaptcha,
  92. .h-captcha {
  93. transform: scale(.77);
  94. transform-origin: 0 0;
  95. }
  96. }
  97. .user.activate,
  98. .user.forgot.password,
  99. .user.reset.password,
  100. .user.signin,
  101. .user.signup {
  102. @input-padding: 200px;
  103. #create-page-form;
  104. form {
  105. width: 700px !important;
  106. .header {
  107. padding-left: 0 !important;
  108. text-align: center;
  109. }
  110. .inline.field > label {
  111. width: @input-padding;
  112. }
  113. .inline.field > label,
  114. input {
  115. @media only screen and (max-width: 768px) {
  116. width: 100% !important;
  117. }
  118. }
  119. input[type=number] {
  120. -moz-appearance: textfield;
  121. }
  122. input::-webkit-outer-spin-button,
  123. input::-webkit-inner-spin-button {
  124. -webkit-appearance: none;
  125. margin: 0;
  126. }
  127. }
  128. }
  129. .repository {
  130. &.new.repo,
  131. &.new.migrate,
  132. &.new.fork {
  133. #create-page-form;
  134. form {
  135. .dropdown {
  136. .dropdown.icon {
  137. margin-top: -7px !important;
  138. padding-bottom: 5px;
  139. }
  140. .text {
  141. margin-right: 0 !important;
  142. i {
  143. margin-right: 0 !important;
  144. }
  145. }
  146. }
  147. .header {
  148. padding-left: 0 !important;
  149. text-align: center;
  150. }
  151. .selection.dropdown {
  152. vertical-align: middle;
  153. width: 50% !important;
  154. }
  155. @media only screen and (max-width: 768px) {
  156. label,
  157. input,
  158. .selection.dropdown {
  159. width: 100% !important;
  160. }
  161. .field button,
  162. .field a {
  163. margin-bottom: 1em;
  164. width: 100%;
  165. }
  166. }
  167. }
  168. }
  169. &.new.repo {
  170. .ui.form {
  171. @media only screen and (min-width: 768px) {
  172. #auto-init {
  173. margin-left: @create-page-form-input-padding+15px;
  174. }
  175. }
  176. .selection.dropdown:not(.owner) {
  177. width: 50% !important;
  178. @media only screen and (max-width: 768px) {
  179. width: 100% !important;
  180. }
  181. }
  182. }
  183. }
  184. }
  185. .new.webhook {
  186. form {
  187. .help {
  188. margin-left: 25px;
  189. }
  190. }
  191. .events.fields {
  192. .column {
  193. padding-left: 40px;
  194. }
  195. }
  196. }
  197. .githook {
  198. textarea {
  199. font-family: var(--fonts-monospace);
  200. }
  201. }
  202. .new.org .ui.form {
  203. @media only screen and (max-width: 768px) {
  204. .field button,
  205. .field a {
  206. margin-bottom: 1em;
  207. width: 100%;
  208. }
  209. .field input {
  210. width: 100% !important;
  211. }
  212. }
  213. }