posting.less 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. //
  2. // Posting
  3. // --------------------------------------------------
  4. // Affix and style placeholder
  5. #posting-placeholder {
  6. background-color: @gray-lighter;
  7. position: fixed;
  8. bottom: -100%;
  9. width: 100%;
  10. transition: bottom 300ms, box-shadow 300ms;
  11. &.slide-in {
  12. .box-shadow(0px 0px 8px @gray-light);
  13. bottom: 0px;
  14. }
  15. }
  16. // First row
  17. #posting-placeholder .first-row {
  18. margin-bottom: @line-height-computed;
  19. }
  20. // Posting overlay used for messages and stuff
  21. .posting-overlay {
  22. position: absolute;
  23. width: 100%;
  24. height: 100%;
  25. min-height: 100%;
  26. top: 0px;
  27. left: 0px;
  28. right: 0px;
  29. bottom: 0px;
  30. }
  31. .posting-cover {
  32. display: table;
  33. width: 100%;
  34. height: 100%;
  35. min-height: 100%;
  36. }
  37. .posting-inner {
  38. display: table-cell;
  39. vertical-align: middle;
  40. overflow: auto;
  41. text-align: center;
  42. }
  43. // Hide height placeholder that's below the overlay
  44. .posting-height-placeholder {
  45. visibility: hidden;
  46. }
  47. // Relatively position message and loader containers for overlay to work
  48. .posting-message, .posting-loader {
  49. position: relative;
  50. }
  51. // Posting ui preview
  52. .posting-ui-preview {
  53. padding: @line-height-computed 0px;
  54. position: relative;
  55. .form-control {
  56. box-shadow: none;
  57. resize: none;
  58. }
  59. }
  60. // Posting Loader
  61. .posting-loader .loader {
  62. height: 100px;
  63. .loader-spinning-wheel {
  64. width: 100px;
  65. height: 100px;
  66. }
  67. }
  68. // Posting message
  69. @posting-icon-width: 28px;
  70. .posting-message {
  71. .material-icon {
  72. margin-right: @line-height-computed / 3;
  73. position: relative;
  74. top: -1px;
  75. width: @posting-icon-width;
  76. height: @posting-icon-width;
  77. font-size: @posting-icon-width;
  78. line-height: @posting-icon-width;
  79. }
  80. .message-body {
  81. p {
  82. font-size: @font-size-large;
  83. }
  84. }
  85. }