fantasy/style.css

146 lines
3.2 KiB
CSS
Raw Permalink Normal View History

body {
margin: 0;
overflow: hidden;
2018-11-20 12:17:27 +00:00
color: #555555;
2018-11-20 14:30:01 +00:00
font-family: sans-serif;
2018-11-19 14:09:43 +00:00
}
* {
box-sizing: border-box;
}
2018-11-20 15:23:43 +00:00
.button {
2018-11-19 14:44:36 +00:00
z-index: 2;
2018-11-19 14:09:43 +00:00
overflow: hidden;
2018-11-19 14:44:36 +00:00
background-color: #00b6ff;
2018-11-19 14:09:43 +00:00
border: none;
border-radius: 50%;
2018-11-19 14:44:36 +00:00
background-size: 66%;
2018-11-19 14:09:43 +00:00
background-position: center;
background-repeat: no-repeat;
2018-11-19 14:44:36 +00:00
padding: 0;
outline: none;
-webkit-transition: background-color 0.2s;
-moz-transition: background-color 0.2s;
-ms-transition: background-color 0.2s;
-o-transition: background-color 0.2s;
transition: background-color 0.2s;
}
2018-11-20 15:23:43 +00:00
.button:hover {
2018-11-19 14:44:36 +00:00
background-color: #2eceff;
}
.panel {
z-index: 1;
overflow: hidden;
background-color: white;
transform: none;
2018-11-19 15:08:21 +00:00
-webkit-transition: transform 0.2s ease-in-out;
-moz-transition: transform 0.2s ease-in-out;
-ms-transition: transform 0.2s ease-in-out;
-o-transition: transform 0.2s ease-in-out;
transition: transform 0.2s ease-in-out;
2018-11-19 14:44:36 +00:00
}
.panel.hidden {
transform: translate(-500px);
}
.shadow {
box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 4px 0px;
}
.switchBox {
position: relative;
overflow: hidden;
-webkit-transition: background-color 0.2s ease-in-out;
-moz-transition: background-color 0.2s ease-in-out;
-ms-transition: background-color 0.2s ease-in-out;
-o-transition: background-color 0.2s ease-in-out;
transition: background-color 0.2s ease-in-out;
background-color: #b8b8b8;
cursor: pointer
}
.switchBox > .mover {
position: absolute;
width: 100%;
height: 100%;
top: 0;
-webkit-transition: right 0.2s ease-in-out;
-moz-transition: right 0.2s ease-in-out;
-ms-transition: right 0.2s ease-in-out;
-o-transition: right 0.2s ease-in-out;
transition: right 0.2s ease-in-out;
}
.switchBox .circle {
background-color: #ffffff;
position: absolute;
border-radius: 50%;
}
.numericBox {
border: none;
height: 100%;
width: 100%;
2018-11-20 12:17:27 +00:00
outline: none;
color: #555555;
font-size: 16px;
text-align: center;
2018-11-20 12:34:18 +00:00
-webkit-box-shadow: inset 0px 0px 0 #555555;
-moz-box-shadow: inset 0px 0px 0 #555555;
box-shadow: inset 0px 0px 0 #555555;
2018-11-20 12:17:27 +00:00
2018-11-20 12:34:18 +00:00
-webkit-transition: box-shadow 0.2s ease-in-out;
-moz-transition: box-shadow 0.2s ease-in-out;
-ms-transition: box-shadow 0.2s ease-in-out;
-o-transition: box-shadow 0.2s ease-in-out;
transition: box-shadow 0.2s ease-in-out;
2018-11-20 12:17:27 +00:00
}
.numericBox:focus {
-webkit-box-shadow: inset 0 -2px 0 #00b6ff;
-moz-box-shadow: inset 0 -2px 0 #00b6ff;
box-shadow: inset 0 -2px 0 #00b6ff;
}
.form {
overflow-x: hidden;
2018-11-20 12:17:27 +00:00
overflow-y: auto;
padding: 10px;
}
2018-11-20 12:34:18 +00:00
.form > table {
table-layout: fixed;
border-spacing: 0;
2018-11-20 11:49:16 +00:00
overflow: hidden;
width: 100%;
-webkit-transition: height 0.2s ease-in-out;
-moz-transition: height 0.2s ease-in-out;
-ms-transition: height 0.2s ease-in-out;
-o-transition: height 0.2s ease-in-out;
transition: height 0.2s ease-in-out;
}
2018-11-20 12:34:18 +00:00
.form > table:not(:last-child) {
2018-11-20 12:17:27 +00:00
margin-bottom: 10px;
}
2018-11-20 12:34:18 +00:00
.form > table td {
vertical-align: middle;
}
2018-11-20 12:34:18 +00:00
.form > table td:nth-child(1) {
2018-11-20 12:17:27 +00:00
width: 60%
}
2018-11-20 12:34:18 +00:00
.form > table td:nth-child(2) {
2018-11-20 12:17:27 +00:00
width: 40%;
}
.form > table td:nth-child(2) > * {
float: right;
}