Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // DEBUG
- .grid {
- position: fixed;
- width: 100%;
- top: 0;
- left: 0;
- pointer-events: none;
- z-index: 100000;
- display: block;
- &.hidden {
- display: none;
- }
- &__toggle {
- width: 50px;
- height: 50px;
- position: fixed;
- top: 20px;
- left: 20px;
- background-color: gold;
- border-radius: 50%;
- transition: all 0.2s ease;
- &:hover {
- background-color: lighten(gold, 5%);
- }
- &:after {
- content: 'Grid';
- text-align: center;
- position: absolute;
- top: 0;
- left: 0;
- width: 50px;
- height: 50px;
- line-height: 50px;
- vertical-align: middle;
- color: rgba(black, 0.5);
- font-size: 12px;
- text-transform: uppercase;
- letter-spacing: 0.5px;
- }
- }
- .gr-1 {
- height: 100vh;
- text-align: center;
- position: relative;
- span {
- display: inline-block;
- color: rgba(black, 0.15);
- padding-top: 10px;
- font-size: 12px;
- font-family: "Arial", "Helvetica", sans-serif;
- }
- &:before {
- content: '';
- position: absolute;
- top: 0;
- left: map-get($settings, 'gutter-left');
- right: map-get($settings, 'gutter-right');
- border-left: 1px solid rgba(black, 0.05);
- border-right: 1px solid rgba(black, 0.05);
- height: 100vh;
- }
- &:nth-child(even) {
- background-color: rgba(#b63737, 0.05);
- }
- &:nth-child(odd) {
- background-color: rgba(#b63737, 0.1);
- }
- }
- }
Add Comment
Please, Sign In to add comment