You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

106 lines
2.8 KiB

  1. /**
  2. * This file provides the design styles for the sidebar (navmain).
  3. */
  4. .togglelink {
  5. &.page_main-content {
  6. position: absolute;
  7. top: 0;
  8. bottom: -1px;
  9. width: 2rem;
  10. left: -(@margin-default);
  11. @media @screen_max-md {
  12. display: none;
  13. }
  14. a {
  15. .fontello-double();
  16. .icon-right-bold();
  17. .icon-left-bold();
  18. .display-flex();
  19. .flex-direction();
  20. .justify-content();
  21. width: @margin-default;
  22. height: 100%;
  23. background-color: @ini_button_background;
  24. border: solid 1px @ini_button_background;
  25. border-radius: @ini_default_border_radius 0 0 @ini_default_border_radius; // @ini_default_border_radius vs. @fix_border-radius
  26. color: @ini_button_color;
  27. text-decoration: none;
  28. transition: @transition color, @transition background-color, @transition border-color;
  29. &::before,
  30. &::after {
  31. width: 100%;
  32. opacity: .6;
  33. font-size: 1rem;
  34. line-height: 1;
  35. text-align: center;
  36. margin: 0;
  37. transition: @transition opacity;
  38. }
  39. &::before {
  40. opacity: 1;
  41. font-size: 1.25rem;
  42. }
  43. &:hover,
  44. &:focus,
  45. &:active {
  46. background-color: @ini_button_color;
  47. border-color: @ini_button_background;
  48. color: @ini_button_background;
  49. text-decoration: none;
  50. * {
  51. color: inherit;
  52. text-decoration: none;
  53. }
  54. &::after {
  55. opacity: 0;
  56. }
  57. }
  58. }
  59. /* + + + toggle out + + + */
  60. .wide-content & {
  61. left: 0;
  62. a {
  63. background-color: @ini_button_background;
  64. border-color: @ini_button_background;
  65. border-radius: 0 @ini_default_border_radius @ini_default_border_radius 0; // @ini_default_border_radius vs. @fix_border-radius
  66. &::before {
  67. opacity: .6;
  68. font-size: 1rem;
  69. }
  70. &::after {
  71. opacity: 1;
  72. font-size: 1.25rem;
  73. }
  74. &:hover,
  75. &:focus,
  76. &:active {
  77. background-color: @ini_button_color;
  78. &::before {
  79. opacity: 0;
  80. }
  81. &::after {
  82. opacity: 1;
  83. }
  84. }
  85. }
  86. }
  87. }
  88. }