_form.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. .repository {
  20. &.new.migrate,
  21. &.new.fork {
  22. form {
  23. margin: auto;
  24. width: 800px!important;
  25. .ui.message {
  26. text-align: center;
  27. }
  28. @input-padding: 250px !important;
  29. .header {
  30. padding-left: @input-padding+30px;
  31. }
  32. .inline.field > label {
  33. text-align: right;
  34. width: @input-padding;
  35. word-wrap: break-word;
  36. }
  37. .help {
  38. margin-left: @input-padding+15px;
  39. }
  40. .dropdown {
  41. .dropdown.icon {
  42. margin-top: -7px!important;
  43. }
  44. .text {
  45. margin-right: 0!important;
  46. i {
  47. margin-right: 0!important;
  48. }
  49. }
  50. }
  51. .optional .title {
  52. margin-left: @input-padding;
  53. }
  54. input,
  55. textarea {
  56. width: 50%!important;
  57. }
  58. }
  59. }
  60. }
  61. .repository.edit.githook {
  62. form {
  63. @input-padding: 25%!important;
  64. .inline.field > label {
  65. text-align: right;
  66. width: @input-padding;
  67. word-wrap: break-word;
  68. }
  69. input,
  70. textarea {
  71. width: 50%!important;
  72. }
  73. }
  74. }
  75. .repository.edit.githook {
  76. form {
  77. textarea {
  78. width: 70%!important;
  79. }
  80. }
  81. }