Guest User

Untitled

a guest
Sep 19th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. // DEBUG
  2.  
  3. .grid {
  4. position: fixed;
  5. width: 100%;
  6. top: 0;
  7. left: 0;
  8. pointer-events: none;
  9. z-index: 100000;
  10. display: block;
  11. &.hidden {
  12. display: none;
  13. }
  14. &__toggle {
  15. width: 50px;
  16. height: 50px;
  17. position: fixed;
  18. top: 20px;
  19. left: 20px;
  20. background-color: gold;
  21. border-radius: 50%;
  22. transition: all 0.2s ease;
  23.  
  24. &:hover {
  25. background-color: lighten(gold, 5%);
  26. }
  27. &:after {
  28. content: 'Grid';
  29. text-align: center;
  30. position: absolute;
  31. top: 0;
  32. left: 0;
  33. width: 50px;
  34. height: 50px;
  35. line-height: 50px;
  36. vertical-align: middle;
  37. color: rgba(black, 0.5);
  38. font-size: 12px;
  39. text-transform: uppercase;
  40. letter-spacing: 0.5px;
  41. }
  42. }
  43. .gr-1 {
  44. height: 100vh;
  45. text-align: center;
  46. position: relative;
  47. span {
  48. display: inline-block;
  49. color: rgba(black, 0.15);
  50. padding-top: 10px;
  51. font-size: 12px;
  52. font-family: "Arial", "Helvetica", sans-serif;
  53. }
  54. &:before {
  55. content: '';
  56. position: absolute;
  57. top: 0;
  58. left: map-get($settings, 'gutter-left');
  59. right: map-get($settings, 'gutter-right');
  60. border-left: 1px solid rgba(black, 0.05);
  61. border-right: 1px solid rgba(black, 0.05);
  62. height: 100vh;
  63. }
  64. &:nth-child(even) {
  65. background-color: rgba(#b63737, 0.05);
  66. }
  67. &:nth-child(odd) {
  68. background-color: rgba(#b63737, 0.1);
  69. }
  70. }
  71. }
Add Comment
Please, Sign In to add comment