_form.less 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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. width: 800px!important;
  24. .ui.message {
  25. text-align: center;
  26. }
  27. .header {
  28. padding-left: @create-page-form-input-padding+30px;
  29. }
  30. .inline.field > label {
  31. text-align: right;
  32. width: @create-page-form-input-padding;
  33. word-wrap: break-word;
  34. }
  35. .help {
  36. margin-left: @create-page-form-input-padding+15px;
  37. }
  38. .optional .title {
  39. margin-left: @create-page-form-input-padding;
  40. }
  41. input,
  42. textarea {
  43. width: 50%!important;
  44. }
  45. }
  46. }
  47. .user.activate,
  48. .user.forgot.password,
  49. .user.reset.password,
  50. .user.signin,
  51. .user.signup {
  52. @input-padding: 200px!important;
  53. #create-page-form;
  54. form {
  55. width: 700px!important;
  56. .header {
  57. padding-left: @input-padding+30px;
  58. }
  59. .inline.field > label {
  60. width: @input-padding;
  61. }
  62. }
  63. }
  64. .repository {
  65. &.new.repo,
  66. &.new.migrate,
  67. &.new.fork {
  68. #create-page-form;
  69. form {
  70. .dropdown {
  71. .dropdown.icon {
  72. margin-top: -7px!important;
  73. }
  74. .text {
  75. margin-right: 0!important;
  76. i {
  77. margin-right: 0!important;
  78. }
  79. }
  80. }
  81. }
  82. }
  83. &.new.repo {
  84. .ui.form {
  85. .selection.dropdown:not(.owner) {
  86. width: 50%!important;
  87. }
  88. #auto-init {
  89. margin-left: @create-page-form-input-padding+15px;
  90. }
  91. }
  92. }
  93. }
  94. .new.webhook {
  95. form {
  96. .help {
  97. margin-left: 25px;
  98. }
  99. }
  100. }
  101. .new.webhook {
  102. .events.fields {
  103. .column {
  104. padding-left: 40px;
  105. }
  106. }
  107. }