_lists.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. #conversejs {
  2. .list-container {
  3. text-align: left;
  4. padding: 0.3em 0;
  5. .list-toggle {
  6. font-family: var(--heading-font);
  7. font-weight: var(--list-toggle-font-weight);
  8. display: block;
  9. color: var(--list-toggle-color);
  10. padding: 0 0 0.5rem 0;
  11. &:hover {
  12. color: var(--list-toggle-hover-color);
  13. }
  14. }
  15. }
  16. .items-list {
  17. text-align: left;
  18. .list-item {
  19. border: none;
  20. clear: both;
  21. color: var(--text-color);
  22. overflow: hidden;
  23. padding: 0.5em 0;
  24. text-shadow: 0 1px 0 var(--text-shadow-color);
  25. word-wrap: break-word;
  26. height: 2.5em;
  27. &.unread-msgs {
  28. font-weight: bold;
  29. }
  30. .list-item-link {
  31. color: var(--list-item-link-color);
  32. &:hover {
  33. color: var(--list-item-link-hover-color);
  34. }
  35. margin: auto;
  36. font-size: var(--font-size);
  37. overflow: hidden;
  38. white-space: nowrap;
  39. text-overflow: ellipsis;
  40. vertical-align: baseline;
  41. }
  42. .list-item-badge {
  43. opacity: 1;
  44. border-radius: 25%;
  45. color: white;
  46. font-size: var(--font-size-small);
  47. line-height: var(--font-size-small);
  48. }
  49. .list-item-action {
  50. opacity: 0;
  51. font-size: var(--font-size-tiny);
  52. padding: 0;
  53. margin: 0 0 0 var(--inline-action-margin);
  54. width: 2em;
  55. &:before {
  56. font-size: var(--font-size);
  57. }
  58. &.button-on {
  59. color: var(--list-item-link-color);
  60. &:hover {
  61. color: var(--list-item-link-hover-color);
  62. }
  63. }
  64. color: var(--subdued-color);
  65. &:hover {
  66. color: var(--list-toggle-hover-color);
  67. opacity: 1;
  68. }
  69. }
  70. .list-item-action--visible {
  71. opacity: 1 !important;
  72. }
  73. &.open {
  74. background-color: var(--list-item-open-color);
  75. &:hover {
  76. background-color: var(--list-item-open-hover-color) !important;
  77. }
  78. a {
  79. color: white;
  80. }
  81. .list-item-link {
  82. &:hover {
  83. color: white;
  84. }
  85. }
  86. .list-item-action {
  87. color: var(--list-item-action-color);
  88. &:hover {
  89. color: white;
  90. }
  91. }
  92. .fa-circle {
  93. color: var(--list-circle-color);
  94. }
  95. .fa-minus-circle {
  96. color: var(--list-minus-circle-color);
  97. }
  98. .fa-dot-circle {
  99. color: var(--list-dot-circle-color);
  100. }
  101. .far .fa-circle,
  102. .fa-times-circle {
  103. color: var(--subdued-color-lighten-25-percent);
  104. }
  105. }
  106. &:hover {
  107. background-color: var(--controlbox-head-color-lighten-45-percent);
  108. .fa, .far, .fas {
  109. opacity: 1;
  110. }
  111. }
  112. }
  113. }
  114. }