_language.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .lang {
  2. width: 100%;
  3. font-size: 17.2px;
  4. @include flexbox();
  5. @include justify-content(space-between);
  6. @include align-items(center);
  7. &__dropdown {
  8. outline: none;
  9. cursor: pointer;
  10. border: none;
  11. @include flexbox();
  12. @include align-items(center);
  13. @include justify-content(center);
  14. &--content {
  15. padding: 0.25rem 0;
  16. max-width: 120px;
  17. border-radius: 0.175rem;
  18. @include truncate(120px);
  19. @include box-shadow(0, 1px, 3px, 0, rgba(0, 0, 0, 0.4));
  20. @include themify($themes) {
  21. background-color: themed('dropdown-background-color');
  22. a {
  23. text-decoration: none;
  24. color: themed('body-color');
  25. @include on-event {
  26. color: inherit;
  27. background-color: themed('dropdown-hover-background-color');
  28. }
  29. &.active {
  30. font-weight: bold;
  31. color: themed('active-font-color');
  32. background-color: themed('dropdown-item-active-background-color');
  33. }
  34. }
  35. }
  36. }
  37. &--item {
  38. padding: 0.25rem 0.75rem;
  39. width: 100%;
  40. height: 100%;
  41. text-decoration: none;
  42. display: block;
  43. font-size: 1rem;
  44. @include truncate(120px);
  45. }
  46. }
  47. }