2
0

_form.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. .crowi.main-container .main .content-main.on-edit { // {{{ Edit Form of Page
  2. padding: 0;
  3. position: fixed;
  4. z-index: 1050;
  5. background: #fff;
  6. top: 0;
  7. left: 0;
  8. height: 100%;
  9. width: 100%;
  10. .nav {
  11. margin-top: 8px;
  12. height: 40px;
  13. .dropdown-menu {
  14. z-index: 1060;
  15. }
  16. }
  17. .tab-content {
  18. top: 48px;
  19. bottom: 58px;
  20. padding: 0 12px;
  21. position: absolute;
  22. z-index: 1051;
  23. left: 0;
  24. right: 0;
  25. margin-top: 4px;
  26. .alert-info {
  27. display: none;
  28. }
  29. .edit-form { // {{{
  30. height: 100%;
  31. > .row {
  32. height: 100%;
  33. .col-md-6 {
  34. height: 100%;
  35. }
  36. form {
  37. padding: 0;
  38. border-right: solid 1px #ccc;
  39. &::after {
  40. position: absolute;
  41. top: 0;
  42. right: 15px;
  43. font-size: 10px;
  44. font-weight: 700;
  45. color: #959595;
  46. text-transform: uppercase;
  47. letter-spacing: 1px;
  48. content: "Input Content ...";
  49. }
  50. }
  51. textarea {
  52. height: 100%;
  53. padding-top: 18px;
  54. border: none;
  55. box-shadow: none;
  56. &.dragover {
  57. border: dashed 6px #ccc;
  58. padding: 12px 6px 0px;
  59. }
  60. }
  61. .preview-body {
  62. height: 100%;
  63. padding-top: 18px;
  64. overflow: scroll;
  65. &::after {
  66. position: absolute;
  67. top: 0;
  68. right: 15px;
  69. font-size: 10px;
  70. font-weight: 700;
  71. color: #959595;
  72. text-transform: uppercase;
  73. letter-spacing: 1px;
  74. content: "Preview";
  75. }
  76. }
  77. .page-form-setting {
  78. .extended-setting {
  79. label {
  80. margin-bottom: 0;
  81. }
  82. }
  83. }
  84. }
  85. }
  86. } // }}}
  87. .form-group.form-submit-group {
  88. position: fixed;
  89. z-index: 1054;
  90. bottom: 0;
  91. width: 100%;
  92. left: 0;
  93. padding: 8px;
  94. min-height: 50px;
  95. background: rgba(255,255,255,.8);
  96. border-top: solid 1px #ccc;
  97. margin-bottom: 0;
  98. }
  99. } // }}}
  100. .crowi.main-container .main .page-list.content-main { // {{{ Edit Form of Page List
  101. .close-button {
  102. display: none;
  103. }
  104. }
  105. .crowi.main-container .main .page-list.content-main.on-edit { // {{{ Edit Form of Page List
  106. .close-button {
  107. display: block;
  108. }
  109. .page-list-container {
  110. display: none;
  111. }
  112. .portal-form-header,
  113. .portal-form {
  114. display: block;
  115. }
  116. .portal-form-header {
  117. height: 16px;
  118. padding: 8px;
  119. border-bottom: solid 1px #ccc;
  120. }
  121. } // }}}
  122. textarea {
  123. font-family: menlo, monaco, consolas, monospace;
  124. line-height: 1.1em;
  125. }
  126. input::-webkit-input-placeholder {
  127. color: #ccc;
  128. }
  129. input:-moz-placeholder {
  130. color: #ccc;
  131. }
  132. @media (max-width: $screen-sm-max) { // {{{ less than tablet size
  133. .content-main.on-edit {
  134. .form-group.form-submit-group {
  135. select.form-control {
  136. display: inline-block;
  137. max-width: 50%;
  138. }
  139. }
  140. }
  141. } // }}}
  142. @media (max-width: $screen-xs-max) { // {{{ less than smartphone size
  143. #edit-form-submit {
  144. float: right;
  145. }
  146. } // }}}