_form.scss 2.9 KB

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