blob: 651044580c26e395f9d48a561271b4bade5a8a46 [file] [log] [blame]
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
@import "media";
.content-drawer-wrapper {
display: none;
@media (max-width: $tablet) {
display: block;
margin-bottom: 30px;
}
.navbar {
justify-content: space-between;
left: 0;
&--hidden {
display: none;
}
}
}
.content-drawer-container {
position: fixed;
top: 77px;
left: 0;
width: 100%;
height: 100%;
background-color: white;
transform: translateX(-100%);
transition: 0.2s ease-out;
z-index: 100;
&--open {
transform: translateX(0);
}
}
.content-drawer {
padding: 20px 40px;
&__toggle-button {
border: none;
background: none;
padding: 0;
position: relative;
width: 26px;
height: 20px;
&--icon {
display: flex;
width: fit-content;
align-items: center;
visibility: hidden;
opacity: 0;
transition: 0.2s ease-out;
svg {
margin-right: 10px;
}
&.visible {
visibility: visible;
opacity: 1;
}
}
}
}