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 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. @media only screen and (min-width: 768px) {
  82. .g-recaptcha {
  83. margin: 0 auto !important;
  84. width: 304px;
  85. padding-left: 30px;
  86. }
  87. }
  88. @media screen and (max-height: 575px){
  89. #rc-imageselect, .g-recaptcha {
  90. transform:scale(0.77);
  91. -webkit-transform:scale(0.77);
  92. transform-origin:0 0;
  93. -webkit-transform-origin:0 0;
  94. }
  95. }
  96. .user.activate,
  97. .user.forgot.password,
  98. .user.reset.password,
  99. .user.signin,
  100. .user.signup {
  101. @input-padding: 200px!important;
  102. #create-page-form;
  103. form {
  104. width: 700px!important;
  105. .header {
  106. padding-left: 0 !important;
  107. text-align: center;
  108. }
  109. .inline.field > label {
  110. width: @input-padding;
  111. }
  112. }
  113. }
  114. .repository {
  115. &.new.repo,
  116. &.new.migrate,
  117. &.new.fork {
  118. #create-page-form;
  119. form {
  120. .dropdown {
  121. .dropdown.icon {
  122. margin-top: -7px!important;
  123. }
  124. .text {
  125. margin-right: 0!important;
  126. i {
  127. margin-right: 0!important;
  128. }
  129. }
  130. }
  131. .header {
  132. padding-left: 0 !important;
  133. text-align: center;
  134. }
  135. }
  136. }
  137. &.new.repo {
  138. .ui.form {
  139. .selection.dropdown:not(.owner) {
  140. width: 50%!important;
  141. }
  142. @media only screen and (min-width: 768px) {
  143. #auto-init {
  144. margin-left: @create-page-form-input-padding+15px;
  145. }
  146. }
  147. }
  148. }
  149. }
  150. .new.webhook {
  151. form {
  152. .help {
  153. margin-left: 25px;
  154. }
  155. }
  156. }
  157. .new.webhook {
  158. .events.fields {
  159. .column {
  160. padding-left: 40px;
  161. }
  162. }
  163. }
  164. .githook {
  165. textarea {
  166. font-family: monospace;
  167. }
  168. }