@snippetify/book-reader-component
Version:
Book Reader Component
77 lines • 1.26 kB
CSS
:host {
display: block;
position: absolute;
top: 10px;
left: 50%;
display: flex;
flex-direction: column;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
:host.hide, .hide {
display: none;
}
.arrow-wrapper {
text-align: left;
height: 13px;
overflow: hidden;
color: #1c1c1c;
display: none;
position: relative;
}
.arrow-wrapper.down {
top: -11px;
height: 18px;
}
.arrow-wrapper.active {
display: block;
}
.arrow-wrapper span {
font-size: 1.5em;
}
.menu-wrapper {
background-color: #1c1c1c;
border-radius: 20px;
color: #fff;
overflow: hidden;
display: flex;
}
ul,
ul li {
margin:0;
padding: 0;
text-indent: 0;
list-style-type: none;
}
.menu-wrapper ul {
display: flex;
list-style: 0 none;
}
button {
border: 0;
color: #fff;
padding: 7px 14px;
font-weight: normal;
background-color: #1c1c1c;
border-right: 1px solid #3c3c3c;
}
button:hover {
cursor: pointer;
}
button:active {
background-color: rgba(255, 255, 255, 0.1);
}
button:disabled {
color: #9c9c9c;
background-color: rgba(255, 255, 255, 0.1);
}
.menu-inner {
overflow: hidden;
}
.menu-inner ul {
position: relative;
}