You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
1.8 KiB
101 lines
1.8 KiB
@media screen and (min-width:0px) and (max-width:960px) {
|
|
#addShortcutMenu {
|
|
width: 94%!important;
|
|
left: 1rem!important;
|
|
margin-left: 0px!important;
|
|
}
|
|
#shortcutBox {
|
|
width: 90%!important;
|
|
display: block!important;
|
|
height: 20rem!important;
|
|
}
|
|
}
|
|
/* Shortcuts */
|
|
#shortcutBox {
|
|
margin: 3rem 0 0 2%;
|
|
width: 59%;
|
|
float: left;
|
|
padding: 1rem;
|
|
display: inline-block;
|
|
height: 57rem;
|
|
overflow: scroll;
|
|
overflow-x: hidden;
|
|
}
|
|
#shortcutBox::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.shortcutImg {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
}
|
|
#shortcutBox div {
|
|
margin: 0 0 1rem 1rem;
|
|
width: 12rem;
|
|
padding: 1rem;
|
|
background-color: #363840;
|
|
border: #363840 2px solid;
|
|
border-radius: .5rem;
|
|
display: inline-block;
|
|
cursor: pointer;
|
|
transition: background-color .5s, border .5s;
|
|
}
|
|
.shortcutBox div:hover {
|
|
background-color: #3d3e47;
|
|
border-color: #3d3e47;
|
|
}
|
|
.shortcutBox div:hover .removeShortcut {
|
|
display: inline;
|
|
}
|
|
.shortcutText {
|
|
display: inline-block;
|
|
margin-left: 1rem;
|
|
margin-bottom: 0!important;
|
|
}
|
|
|
|
/* Shortcut creation menu */
|
|
.hidden {
|
|
opacity: 0!important;
|
|
}
|
|
.menu {
|
|
transition: opacity .5s;
|
|
}
|
|
.lowerIndex {
|
|
z-index: -1!important;
|
|
}
|
|
#opacityMenu {
|
|
width: 100vw;
|
|
position: fixed;
|
|
left: 0px;
|
|
top: 0px;
|
|
height: 100vh;
|
|
opacity: .7;
|
|
background-color: black;
|
|
display: inline-block;
|
|
z-index: 1;
|
|
}
|
|
#addShortcutMenu {
|
|
display: inline-block;
|
|
z-index: 2;
|
|
position: absolute;
|
|
left: calc(50% - 25rem);
|
|
height: 27rem;
|
|
width: 50rem;
|
|
top: 15%;
|
|
}
|
|
#addShortcutMenu h1 {
|
|
margin: 1rem 0 0 1rem;
|
|
}
|
|
#addShortcutMenu input {
|
|
width: 96%;
|
|
height: 2.5rem;
|
|
margin-left: 1rem!important;
|
|
}
|
|
#addShortcutMenu h4 {
|
|
margin: 2rem 0 0 1rem;
|
|
}
|
|
#addShortcutMenu button {
|
|
float: right;
|
|
margin: 4rem 1rem 0 0;
|
|
padding: .5rem;
|
|
}
|