posting.less 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. //
  2. // Posting
  3. // --------------------------------------------------
  4. // Affix and style placeholder
  5. #posting-placeholder {
  6. background-color: @gray-lighter;
  7. display: none;
  8. margin-top: @line-height-computed * 1.5;
  9. margin-bottom: @line-height-computed * -1.5;
  10. padding: @line-height-computed 0px;
  11. transition: height 300ms;
  12. &.slide-in {
  13. display: block;
  14. }
  15. }
  16. // First row
  17. #posting-placeholder .first-row {
  18. margin-bottom: @line-height-computed;
  19. .form-control {
  20. border: 1px solid darken(@gray-lighter, 15%);
  21. }
  22. .posting-options {
  23. .btn {
  24. padding-top: 4px;
  25. padding-bottom: 4px;
  26. .btn-text {
  27. margin-left: @line-height-computed / 4;
  28. position: relative;
  29. top: 1px;
  30. }
  31. }
  32. .material-icon {
  33. width: 14px;
  34. height: 24px;
  35. margin-right: 0px;
  36. position: relative;
  37. top: 5px;
  38. font-size: 14px;
  39. line-height: 14px;
  40. text-align: center;
  41. }
  42. }
  43. }
  44. // Posting ui preview
  45. .posting-ui-preview {
  46. padding: @line-height-computed 0px;
  47. position: relative;
  48. .form-control {
  49. box-shadow: none;
  50. resize: none;
  51. }
  52. }
  53. // Posting Loader
  54. .posting-loader {
  55. text-align: center;
  56. }
  57. .posting-loader .loader {
  58. height: 100px;
  59. .loader-spinning-wheel {
  60. width: 100px;
  61. height: 100px;
  62. }
  63. }
  64. // Posting message
  65. @posting-icon-width: 28px;
  66. .posting-message {
  67. text-align: center;
  68. .material-icon {
  69. margin-right: @line-height-computed / 3;
  70. position: relative;
  71. top: -1px;
  72. width: @posting-icon-width;
  73. height: @posting-icon-width;
  74. font-size: @posting-icon-width;
  75. line-height: @posting-icon-width;
  76. }
  77. .message-body {
  78. p {
  79. font-size: @font-size-large;
  80. }
  81. }
  82. }