_form.scss 2.9 KB

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