editors.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. @import "vars";
  2. @import "mixins";
  3. #editors, #editors-list {
  4. @include user-select(none);
  5. h6 {
  6. padding: 15px 25px;
  7. margin: 0px;
  8. color: $medium;
  9. font-size: 10px;
  10. }
  11. ul {
  12. padding: 0px;
  13. margin: 0px;
  14. li {
  15. &:nth-child(1) .editor-avatar {background-color: #4a2f7e;}
  16. &:nth-child(2) .editor-avatar {background-color: #9b59b6;}
  17. &:nth-child(3) .editor-avatar {background-color: #3498db;}
  18. &:nth-child(4) .editor-avatar {background-color: #2ecc71;}
  19. &:nth-child(5) .editor-avatar {background-color: #f1c40f;}
  20. &:nth-child(6) .editor-avatar {background-color: #e67e22;}
  21. &:nth-child(7) .editor-avatar {background-color: #d55c4b;}
  22. &:nth-child(8) .editor-avatar {background-color: #6f4021;}
  23. &:nth-child(9) .editor-avatar {background-color: #ffffff;}
  24. &:nth-child(10) .editor-avatar {background-color: #95a5a6;}
  25. &:nth-child(11) .editor-avatar {background-color: #252525;}
  26. }
  27. }
  28. }
  29. #invite-message {
  30. height: 117px !important;
  31. }
  32. .editor > a,
  33. .editor > span {
  34. text-align: left;
  35. border-radius: $radius;
  36. display: block;
  37. // background-color: rgba(255,255,255,0.05);
  38. position: relative;
  39. // padding-left: 70px !important;
  40. min-height: 60px;
  41. border: none;
  42. .editor-avatar {
  43. margin-top: 7px;
  44. background-size: cover;
  45. background-position: center;
  46. margin-right: 15px;
  47. float: left;
  48. color: white !important;
  49. &.status-off,
  50. &.status-on {
  51. &:before {
  52. top: 0;
  53. right: 0;
  54. display: block;
  55. position: absolute;
  56. color: $darker ;
  57. border: 1px solid #292929;
  58. border-radius: 100px;
  59. padding: 4px;
  60. font-weight: 700;
  61. text-transform: uppercase;
  62. font-size: 0px;
  63. height: 4px;
  64. width: 4px;
  65. }
  66. }
  67. &.status-off:before {background-color: #d55c4b; content: "off"; display: none;}
  68. &.status-on:before {background-color: #2ecc71; content: "on"; }
  69. }
  70. .editor-email,
  71. .editor-name {
  72. font-family: $main-font;
  73. font-size: 13px;
  74. line-height: 1.4;
  75. display: block;
  76. font-weight: 300;
  77. overflow: hidden;
  78. text-overflow: ellipsis;
  79. white-space: nowrap;
  80. color: $medium;
  81. }
  82. .editor-email {
  83. opacity: 0.5;
  84. }
  85. }