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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
First-Website/resources/css/shortcuts.css

86 lines
1.5 KiB

5 years ago
@media screen and (min-width:0px) and (max-width:1000px) {
#addShortcutMenu {
width: 94%!important;
left: 1rem!important;
margin-left: 0px!important;
}
}
/* Shortcuts */
5 years ago
section span button {
margin: 0 0 1rem 1rem;
width: 12rem;
5 years ago
max-height: 5.3rem;
padding: 1rem;
5 years ago
color: white;
background-color: #363840;
border: #363840 2px solid;
border-radius: .5rem;
display: inline-block;
transition: background-color .5s, border .5s;
}
5 years ago
section span button::-webkit-scrollbar {
display: hidden;
}
5 years ago
section span button:hover {
background-color: #3d3e47;
border-color: #3d3e47;
}
5 years ago
section span button:hover .removeShortcut {
display: inline;
}
5 years ago
section span button:focus {
5 years ago
outline: none;
}
5 years ago
section span img {
5 years ago
width: 3rem;
5 years ago
margin-right: 1rem;
5 years ago
height: 3rem;
}
/* Shortcut creation menu */
.hidden {
opacity: 0!important;
}
.menu {
transition: opacity .5s;
}
.lowerIndex {
z-index: -1!important;
}
#opacityMenu {
width: 100vw;
position: fixed;
5 years ago
left: 0px;
top: 0px;
height: 100vh;
5 years ago
opacity: .5;
background-color: black;
display: inline-block;
z-index: 1;
}
#addShortcutMenu {
display: inline-block;
z-index: 2;
position: absolute;
5 years ago
left: calc(50% - 25rem);
height: 27rem;
width: 50rem;
top: 15%;
}
5 years ago
#addShortcutMenu h1 {
margin: 1rem 0 0 1rem;
}
5 years ago
#addShortcutMenu input {
width: 96%;
height: 2.5rem;
margin-left: 1rem!important;
}
5 years ago
#addShortcutMenu h4 {
margin: 2rem 0 0 1rem;
}
5 years ago
#addShortcutMenu button {
float: right;
margin: 4rem 1rem 0 0;
padding: .5rem;
}