mr-crocs-adventures/tilorswift/style.css

299 lines
4.8 KiB
CSS
Raw Permalink Normal View History

@keyframes menuFadeIn {
from { width: 96px; }
to { width: 512px; }
}
2020-01-29 00:21:53 +01:00
body {
padding: 0;
margin: 0;
overflow: hidden;
2020-02-04 21:42:14 +01:00
font-family: sans-serif;
background-attachment: fixed;
background-size: cover;
background-position: center center;
2020-01-29 00:21:53 +01:00
}
#level {
border-spacing: 0;
border-collapse: collapse;
}
#mainbar {
display: flex;
position: fixed;
top: 0;
left: 0;
right: 0;
height: 32px;
background-color: #cccccc;
box-shadow: 0 0 20px black;
}
.menu-group {
position: relative;
display: inline-block;
cursor: pointer;
padding: 5px 20px;
overflow: visible;
font-family: sans-serif;
}
.menu-group:hover {
background-color: #5555cc;
}
.menu-dropdown {
display: none;
position: absolute;
top: 16px;
left: 0;
background-color: #cccccc;
list-style: none;
box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
padding-left: 0;
}
.menu-dropdown > li {
padding: 5px 20px;
width: 180px;
}
.menu-dropdown > li:hover {
background-color: #5555cc;
}
.menu-group:hover > .menu-dropdown {
display: block;
2020-01-29 00:21:53 +01:00
}
2020-02-04 21:42:14 +01:00
#widget-bar {
position: fixed;
flex-flow: wrap row;
top: 32px;
left: 0;
bottom: 0;
width: 96px;
2020-02-04 21:42:14 +01:00
padding: 20px;
background-color: #cccccc;
box-shadow: 0 0 20px black;
}
2020-02-04 23:03:33 +01:00
.widget-container {
margin-bottom: 20px;
}
2020-02-04 21:42:14 +01:00
.widget-disabled {
filter: saturate(0);
}
#map {
position: fixed;
top: 32px;
2020-02-04 21:42:14 +01:00
left: 136px;
right: 0;
bottom: 0;
overflow: scroll;
}
2020-02-04 21:42:14 +01:00
#tileset-picker {
border: 1px solid black;
cursor: pointer;
position: relative;
overflow: visible;
}
#tileset-picker.widget-disabled {
cursor: not-allowed;
}
#tileset-selector-widget {
2020-02-04 21:42:14 +01:00
display: none;
position: absolute;
top: 0;
background-color: #cccccc;
box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.5);
}
#tileset-picker:hover > #tileset-selector-widget {
2020-02-04 21:42:14 +01:00
display: block;
}
#tileset-picker.widget-disabled:hover > #tileset-selector-widget {
2020-02-04 21:42:14 +01:00
display: none;
}
2020-02-11 21:20:11 +01:00
#entrance-picker, #target-picker {
2020-02-04 23:03:33 +01:00
width: 96px;
height: 96px;
border: 1px solid black;
background-image: url("graphics/entrance-point.svg");
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
cursor: pointer;
}
2020-02-04 21:42:14 +01:00
2020-02-11 21:20:11 +01:00
#target-picker {
background-image: url("graphics/target-point.svg");
}
2020-02-09 00:29:46 +01:00
#widget-insert-rows {
position: relative;
width: 96px;
height: 96px;
border: 1px solid black;
}
#widget-insert-rows-button {
width: 100%;
cursor: pointer;
}
#widget-insert-rows-input {
position: absolute;
width: 80%;
bottom: 0;
left: 0;
right: 0;
}
.field, .button-tile {
2020-01-29 00:21:53 +01:00
border: 0;
padding: 0;
margin: 0;
background-repeat: no-repeat;
2020-01-30 20:51:29 +01:00
cursor: pointer;
display: inline-flex;
2020-01-30 20:51:29 +01:00
}
2020-02-11 21:20:11 +01:00
.entrance, .target {
2020-02-04 23:03:33 +01:00
background-image: url("graphics/entrance-point.svg") !important;
background-size: contain !important;
background-position: center bottom !important;
}
2020-02-11 21:20:11 +01:00
.target {
background-image: url("graphics/target-point.svg") !important;
}
2020-02-04 21:42:14 +01:00
.button-tile {
margin: 2px;
}
2020-01-30 20:51:29 +01:00
.selection {
width: 100%;
height: 100%;
opacity: 0;
background-color: red;
}
.field:hover .selection {
opacity: 0.5;
2020-02-04 21:42:14 +01:00
}
2020-02-05 22:29:09 +01:00
2020-02-09 00:29:46 +01:00
.dialog {
display: flex;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.25);
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 200;
}
.dialog-box {
width: 500px;
background-color: #cccccc;
color: black;
padding: 20px;
box-shadow: 0 0 20px black;
}
.dialog-message {
text-align: center;
color: black;
margin-bottom: 20px;
}
.dialog-button-area {
display: flex;
justify-content: space-evenly;
width: 100%;
}
.dialog-label {
width: 100%;
}
.dialog-input-area {
width: 100%;
}
.dialog-input {
width: 480px;
2020-02-09 00:29:46 +01:00
margin-bottom: 20px;
}
.dialog-button {
padding: 5px 20px;
background-color: grey;
font-weight: bold;
color: white;
cursor: pointer;
}
#tileset-selector {
position: relative;
}
#tileset-avatar {
width: 96px;
height: 96px;
background-size: auto 100%;
cursor: pointer;
margin-bottom: 20px;
}
#tileset-list {
position: absolute;
top: 20px;
left: 116px;
display: none;
padding: 10px;
background-color: #cccccc;
box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
overflow: hidden;
}
.tileset {
display: table-row;
cursor: pointer;
}
.tileset:hover {
background-color: #5555cc;
}
.tileset-thumbnail {
display: table-cell;
width: 32px;
height: 32px;
background-size: auto 100%;
}
.tileset:hover > .tileset-thumbnail {
opacity: 0.5;
}
.tileset-title {
display: table-cell;
vertical-align: middle;
padding: 10px;
}
2020-02-05 22:29:09 +01:00
/*
tr:hover > td > .selection {
opacity: 0.5;
}
*/