posting.less 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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. margin-right: @padding-small-horizontal;
  25. padding: 2px 0px;
  26. }
  27. .material-icon {
  28. width: 28px;
  29. height: 28px;
  30. position: relative;
  31. top: 0px;
  32. left: 2px;
  33. font-size: 28px;
  34. line-height: 28px;
  35. text-align: center;
  36. }
  37. }
  38. }
  39. // Posting ui preview
  40. .posting-ui-preview {
  41. padding: @line-height-computed 0px;
  42. position: relative;
  43. .form-control {
  44. box-shadow: none;
  45. resize: none;
  46. }
  47. }
  48. // Posting Loader
  49. .posting-loader {
  50. text-align: center;
  51. }
  52. .posting-loader .loader {
  53. height: 100px;
  54. .loader-spinning-wheel {
  55. width: 100px;
  56. height: 100px;
  57. }
  58. }
  59. // Posting message
  60. @posting-icon-width: 28px;
  61. .posting-message {
  62. text-align: center;
  63. .material-icon {
  64. margin-right: @line-height-computed / 3;
  65. position: relative;
  66. top: -1px;
  67. width: @posting-icon-width;
  68. height: @posting-icon-width;
  69. font-size: @posting-icon-width;
  70. line-height: @posting-icon-width;
  71. }
  72. .message-body {
  73. p {
  74. font-size: @font-size-large;
  75. }
  76. }
  77. }