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.

255 lines
4.0 KiB

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