publish-modal.less 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. .modal-body-publish {
  2. @label-column-width: 10em;
  3. @control-left-margin: 1em;
  4. .form-control-box {
  5. margin-bottom: 1.5ex;
  6. margin-left: @control-left-margin;
  7. label {
  8. display: inline-block;
  9. width: @label-column-width;
  10. vertical-align: baseline;
  11. }
  12. label.checkbox-label {
  13. width: auto;
  14. }
  15. .form-control {
  16. display: inline-block;
  17. width: 60%;
  18. }
  19. input[type='checkbox'] {
  20. margin-right: 0.5em;
  21. }
  22. textarea {
  23. vertical-align: baseline;
  24. }
  25. select {
  26. padding-top: 1ex;
  27. padding-bottom: 1ex;
  28. padding-left: 1em;
  29. padding-right: 1em;
  30. }
  31. option {
  32. margin-left: -4px;
  33. }
  34. a.help {
  35. margin-left: 0.6em;
  36. }
  37. }
  38. .no-label {
  39. margin-left: @label-column-width + @control-left-margin;
  40. }
  41. #search-input-container {
  42. overflow: hidden;
  43. margin: 5px 0 10px;
  44. }
  45. .table-content-name {
  46. width: 100%;
  47. margin-bottom: 10px;
  48. font-weight: 300;
  49. }
  50. .table-content-category {
  51. font-weight: 300;
  52. text-align: right;
  53. font-style: italic;
  54. width: 30%;
  55. float: right;
  56. text-transform: capitalize;
  57. }
  58. .table-content-category ~ .table-content-name {
  59. width: 70%;
  60. display: inline-block;
  61. }
  62. .wl-icon:before {
  63. font-size: 14px;
  64. }
  65. .btn-wrapping {
  66. min-width: 8em;
  67. max-width: 25em;
  68. white-space: normal;
  69. }
  70. .button-as-link {
  71. color: green;
  72. text-transform: none;
  73. background: none;
  74. padding: 0;
  75. border: none;
  76. border-radius: 0;
  77. font-size: 14px;
  78. @extend a;
  79. &:hover,
  80. &:active,
  81. &:focus {
  82. color: green;
  83. background: none;
  84. }
  85. text-align: left;
  86. }
  87. .affix-content-title {
  88. color: @gray-light;
  89. font-size: 1.2em;
  90. padding-left: 10px;
  91. }
  92. .affix-subcontent {
  93. margin: 5px 0 50px;
  94. }
  95. .overbox {
  96. padding: @line-height-computed / 2;
  97. background-color: white;
  98. margin-top: @line-height-computed / 2;
  99. border: 1px solid @gray-lighter;
  100. border-radius: 9px;
  101. }
  102. .content-as-table {
  103. .table-content,
  104. .table-content > * {
  105. display: table;
  106. }
  107. .table-content-icon {
  108. float: left;
  109. height: 100px;
  110. width: 106px;
  111. display: flex;
  112. align-items: flex-start;
  113. overflow: hidden;
  114. * {
  115. border: 1px solid @gray-lightest;
  116. width: 100%;
  117. }
  118. }
  119. .table-content-text {
  120. float: right;
  121. width: calc(~'100% - 106px');
  122. vertical-align: top;
  123. padding-left: 15px;
  124. }
  125. .table-content-slogan {
  126. height: 100px;
  127. overflow: hidden;
  128. }
  129. .table-content-link {
  130. padding-top: 10px;
  131. }
  132. }
  133. }