_form.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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. }
  74. }
  75. } // }}}
  76. .form-group.form-submit-group {
  77. position: fixed;
  78. z-index: 1054;
  79. bottom: 0;
  80. width: 100%;
  81. left: 0;
  82. padding: 8px;
  83. height: 50px;
  84. background: rgba(255,255,255,.8);
  85. border-top: solid 1px #ccc;
  86. margin-bottom: 0;
  87. }
  88. } // }}}
  89. .crowi.main-container .main .page-list.content-main { // {{{ Edit Form of Page List
  90. .close-button {
  91. display: none;
  92. }
  93. }
  94. .crowi.main-container .main .page-list.content-main.on-edit { // {{{ Edit Form of Page List
  95. .close-button {
  96. display: block;
  97. }
  98. .page-list-container {
  99. display: none;
  100. }
  101. .portal-form-header,
  102. .portal-form {
  103. display: block;
  104. }
  105. .portal-form-header {
  106. height: 16px;
  107. padding: 8px;
  108. border-bottom: solid 1px #ccc;
  109. }
  110. } // }}}
  111. textarea {
  112. font-family: menlo, monaco, consolas, monospace;
  113. line-height: 1.1em;
  114. }
  115. input::-webkit-input-placeholder {
  116. color: #ccc;
  117. }
  118. input:-moz-placeholder {
  119. color: #ccc;
  120. }
  121. @media (max-width: $screen-sm-max) { // {{{ less than tablet size
  122. .content-main.on-edit {
  123. .form-group.form-submit-group {
  124. select.form-control {
  125. display: inline-block;
  126. width: auto;
  127. }
  128. }
  129. }
  130. } // }}}