posting.less 1.6 KB

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