_form.less 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. .repository {
  48. &.new.repo,
  49. &.new.migrate,
  50. &.new.fork {
  51. #create-page-form;
  52. form {
  53. .dropdown {
  54. .dropdown.icon {
  55. margin-top: -7px!important;
  56. }
  57. .text {
  58. margin-right: 0!important;
  59. i {
  60. margin-right: 0!important;
  61. }
  62. }
  63. }
  64. }
  65. }
  66. &.new.repo {
  67. .ui.form {
  68. .selection.dropdown:not(.owner) {
  69. width: 50%!important;
  70. }
  71. #auto-init {
  72. margin-left: @create-page-form-input-padding+15px;
  73. }
  74. }
  75. }
  76. }
  77. .new.webhook {
  78. form {
  79. .help {
  80. margin-left: 25px;
  81. }
  82. }
  83. }
  84. .new.webhook {
  85. .events.fields {
  86. .column {
  87. padding-left: 40px;
  88. }
  89. }
  90. }