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.

212 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: 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;
  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. .inline.field > label, input {
  113. @media only screen and (max-width: 768px) {
  114. width: 100% !important;
  115. }
  116. }
  117. }
  118. }
  119. .repository {
  120. &.new.repo,
  121. &.new.migrate,
  122. &.new.fork {
  123. #create-page-form;
  124. form {
  125. .dropdown {
  126. .dropdown.icon {
  127. margin-top: -7px!important;
  128. }
  129. .text {
  130. margin-right: 0!important;
  131. i {
  132. margin-right: 0!important;
  133. }
  134. }
  135. }
  136. .header {
  137. padding-left: 0 !important;
  138. text-align: center;
  139. }
  140. @media only screen and (max-width: 768px) {
  141. label, input, .selection.dropdown {
  142. width: 100% !important;
  143. }
  144. .field button, .field a {
  145. margin-bottom: 1em;
  146. width: 100%;
  147. }
  148. }
  149. }
  150. }
  151. &.new.repo {
  152. .ui.form {
  153. @media only screen and (min-width: 768px) {
  154. #auto-init {
  155. margin-left: @create-page-form-input-padding+15px;
  156. }
  157. }
  158. .selection.dropdown:not(.owner) {
  159. width: 50%!important;
  160. @media only screen and (max-width: 768px) {
  161. width: 100% !important;
  162. }
  163. }
  164. }
  165. }
  166. }
  167. .new.webhook {
  168. form {
  169. .help {
  170. margin-left: 25px;
  171. }
  172. }
  173. }
  174. .new.webhook {
  175. .events.fields {
  176. .column {
  177. padding-left: 40px;
  178. }
  179. }
  180. }
  181. .githook {
  182. textarea {
  183. font-family: monospace;
  184. }
  185. }
  186. .new.org .ui.form {
  187. @media only screen and (max-width: 768px) {
  188. .field button, .field a{
  189. margin-bottom: 1em;
  190. width: 100%;
  191. }
  192. .field input {
  193. width: 100% !important;
  194. }
  195. }
  196. }