main.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. // @Author: Bachir Soussi Chiadmi <bach>
  2. // @Date: 18-12-2017
  3. // @Email: bachir@figureslibres.io
  4. // @Filename: app.scss
  5. // @Last modified by: bach
  6. // @Last modified time: 20-12-2017
  7. // @License: GPL-V3
  8. @import './base/reset';
  9. @import './base/variables';
  10. @import './base/colors';
  11. @import './base/grid';
  12. @import './base/layout';
  13. // $mdi-font-path: "./mdi/fonts";
  14. // @import './mdi/scss/materialdesignicons.scss';
  15. @import './base/fonts';
  16. html{
  17. // background-color: red;
  18. }
  19. aside.messages{
  20. border:none;
  21. }
  22. // _ _ _
  23. // | || |___ __ _ __| |___ _ _
  24. // | __ / -_) _` / _` / -_) '_|
  25. // |_||_\___\__,_\__,_\___|_|
  26. header[role="banner"]{
  27. padding:0.2em 0 0 0;
  28. #block-sitebranding{
  29. h1{
  30. margin:0;
  31. line-height: 1;
  32. }
  33. }
  34. #block-userlogin{
  35. width:8em;
  36. overflow: visible;
  37. h2{
  38. margin: 0;
  39. font-size: 1em;
  40. font-weight: 400;
  41. }
  42. &>section{
  43. background-color: #fff;
  44. overflow: hidden;
  45. width:14em;
  46. height:1px;
  47. padding:0.01em 1em;
  48. // margin:0 0 0 -1em;
  49. box-sizing:content-box;
  50. transition: all 0.4s ease-in-out;
  51. // outline: 1px solid blue;
  52. transition-delay: 2s;
  53. }
  54. &:hover{
  55. &>section{
  56. transition-delay: 0s;
  57. height:12em;
  58. padding:1em 1em;
  59. box-shadow: 0 0 10px #ccc;
  60. }
  61. }
  62. }
  63. #block-languageswitcher{
  64. h2{
  65. margin: 0.1em 0 0 0;
  66. font-size: 0.756em;
  67. font-weight: 400;
  68. padding:0.1em 0.4em 0.2em;
  69. border-radius: 3px;
  70. background-color: #444;
  71. color: #fff;
  72. display: inline-block;
  73. vertical-align: top;
  74. }
  75. &>ul.links{
  76. // background-color: #fff;
  77. overflow: hidden;
  78. width:5em;
  79. height:1px;
  80. padding:0.01em 0;
  81. margin:0;
  82. box-sizing:content-box;
  83. transition: all 0.4s ease-in-out;
  84. // outline: 1px solid blue;
  85. // transition-delay: 2s;
  86. }
  87. &:hover{
  88. &>ul.links{
  89. transition-delay: 0s;
  90. height:2em;
  91. padding:0.3em 0;
  92. // box-shadow: 0 0 10px #ccc;
  93. }
  94. }
  95. li{
  96. list-style: none;
  97. padding:0;
  98. &.is-active{
  99. display:none;
  100. }
  101. a{
  102. margin: 0;
  103. font-size: 0.756em;
  104. font-weight: 400;
  105. padding:0.2em 0.4em;
  106. border-radius: 3px;
  107. background-color: #444;
  108. color: #fff;
  109. }
  110. }
  111. }
  112. }