user-status-menu.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. @charset "UTF-8";
  2. /**
  3. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  4. *
  5. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  6. *
  7. * @license GNU AGPL version 3 or any later version
  8. *
  9. * This program is free software: you can redistribute it and/or modify
  10. * it under the terms of the GNU Affero General Public License as
  11. * published by the Free Software Foundation, either version 3 of the
  12. * License, or (at your option) any later version.
  13. *
  14. * This program is distributed in the hope that it will be useful,
  15. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU Affero General Public License for more details.
  18. *
  19. * You should have received a copy of the GNU Affero General Public License
  20. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  21. *
  22. */
  23. /**
  24. * @copyright Copyright (c) 2020 Georg Ehrke
  25. *
  26. * @author Georg Ehrke <oc.list@georgehrke.com>
  27. *
  28. * @license GNU AGPL version 3 or any later version
  29. *
  30. * This program is free software: you can redistribute it and/or modify
  31. * it under the terms of the GNU Affero General Public License as
  32. * published by the Free Software Foundation, either version 3 of the
  33. * License, or (at your option) any later version.
  34. *
  35. * This program is distributed in the hope that it will be useful,
  36. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  37. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  38. * GNU Affero General Public License for more details.
  39. *
  40. * You should have received a copy of the GNU Affero General Public License
  41. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  42. *
  43. */
  44. /**
  45. * @copyright Copyright (c) 2018, John Molakvoæ (skjnldsv@protonmail.com)
  46. *
  47. * @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  48. *
  49. * @license GNU AGPL version 3 or any later version
  50. *
  51. * This program is free software: you can redistribute it and/or modify
  52. * it under the terms of the GNU Affero General Public License as
  53. * published by the Free Software Foundation, either version 3 of the
  54. * License, or (at your option) any later version.
  55. *
  56. * This program is distributed in the hope that it will be useful,
  57. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  58. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  59. * GNU Affero General Public License for more details.
  60. *
  61. * You should have received a copy of the GNU Affero General Public License
  62. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  63. *
  64. */
  65. /**
  66. * @see core/src/icons.js
  67. */
  68. /**
  69. * SVG COLOR API
  70. *
  71. * @param string $icon the icon filename
  72. * @param string $dir the icon folder within /core/img if $core or app name
  73. * @param string $color the desired color in hexadecimal
  74. * @param int $version the version of the file
  75. * @param bool [$core] search icon in core
  76. *
  77. * @returns A background image with the url to the set to the requested icon.
  78. */
  79. .icon-user-status {
  80. /* $dir is the app name, so we add this to the icon var to avoid conflicts between apps */
  81. background-image: var(--icon-app-dark);
  82. }
  83. .icon-user-status-online {
  84. background-image: url("../img/user-status-online.svg");
  85. }
  86. .icon-user-status-away {
  87. background-image: url("../img/user-status-away.svg");
  88. }
  89. .icon-user-status-dnd {
  90. background-image: url("../img/user-status-dnd.svg");
  91. }
  92. .icon-user-status-invisible {
  93. background-image: url("../img/user-status-invisible.svg");
  94. filter: var(--background-invert-if-dark);
  95. }
  96. /*# sourceMappingURL=user-status-menu.css.map */