_form.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. .form {
  2. .help {
  3. color: #999999;
  4. padding-top: .6em;
  5. padding-bottom: .6em;
  6. display: inline-block;
  7. word-break: break-all;
  8. }
  9. }
  10. .ui.attached.header {
  11. background: #f0f0f0;
  12. .right {
  13. margin-top: -5px;
  14. .button {
  15. padding: 8px 10px;
  16. font-weight: normal;
  17. }
  18. }
  19. }
  20. ui.attached.segment.orgs {
  21. padding: 0px;
  22. div .item {
  23. padding: 11px;
  24. .content {
  25. font-weight: bold;
  26. }
  27. }
  28. }
  29. @create-page-form-input-padding: 250px !important;
  30. #create-page-form {
  31. form {
  32. margin: auto;
  33. width: 800px!important;
  34. .ui.message {
  35. text-align: center;
  36. }
  37. .header {
  38. padding-left: @create-page-form-input-padding+30px;
  39. }
  40. .inline.field > label {
  41. text-align: right;
  42. width: @create-page-form-input-padding;
  43. word-wrap: break-word;
  44. }
  45. .help {
  46. margin-left: @create-page-form-input-padding+15px;
  47. }
  48. .optional .title {
  49. margin-left: @create-page-form-input-padding;
  50. }
  51. input,
  52. textarea {
  53. width: 50%!important;
  54. }
  55. }
  56. }
  57. .user.activate,
  58. .user.forgot.password,
  59. .user.reset.password,
  60. .user.signin,
  61. .user.signup {
  62. @input-padding: 200px!important;
  63. #create-page-form;
  64. form {
  65. width: 700px!important;
  66. .header {
  67. padding-left: @input-padding+30px;
  68. }
  69. .inline.field > label {
  70. width: @input-padding;
  71. }
  72. }
  73. }
  74. .repository {
  75. &.new.repo,
  76. &.new.migrate,
  77. &.new.fork {
  78. #create-page-form;
  79. form {
  80. .dropdown {
  81. .dropdown.icon {
  82. margin-top: -7px!important;
  83. }
  84. .text {
  85. margin-right: 0!important;
  86. i {
  87. margin-right: 0!important;
  88. }
  89. }
  90. }
  91. }
  92. }
  93. &.new.repo {
  94. .ui.form {
  95. .selection.dropdown:not(.owner) {
  96. width: 50%!important;
  97. }
  98. #auto-init {
  99. margin-left: @create-page-form-input-padding+15px;
  100. }
  101. }
  102. }
  103. }
  104. .new.webhook {
  105. form {
  106. .help {
  107. margin-left: 25px;
  108. }
  109. }
  110. }
  111. .new.webhook {
  112. .events.fields {
  113. .column {
  114. padding-left: 40px;
  115. }
  116. }
  117. }