mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 11:42:29 +00:00
256 lines
4.0 KiB
Plaintext
256 lines
4.0 KiB
Plaintext
input {
|
|
border: none;
|
|
box-shadow: none;
|
|
|
|
&[type=number]::-webkit-inner-spin-button, &[type=number]::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
select {
|
|
box-shadow: none;
|
|
height: auto;
|
|
line-height: 18px;
|
|
margin-bottom: 0;
|
|
-moz-appearance: none;
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
textarea {
|
|
background: linear-gradient(to bottom, transparent, transparent 17px, #000);
|
|
background-attachment: local;
|
|
background-size: 1px 18px;
|
|
border: none;
|
|
box-shadow: none;
|
|
padding: 0;
|
|
resize: none;
|
|
}
|
|
|
|
.bubble {
|
|
display: inline-block;
|
|
height: 50px;
|
|
position: relative;
|
|
width: 48px;
|
|
|
|
label {
|
|
bottom: -16px;
|
|
font-size: 10px;
|
|
left: 50%;
|
|
padding: 0;
|
|
position: absolute;
|
|
transform: translateX(-50%);
|
|
width: auto;
|
|
}
|
|
|
|
.inner {
|
|
border: solid 3px black;
|
|
border-radius: 32px;
|
|
height: 32px;
|
|
left: 50%;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
text-align: center;
|
|
transform: translateX(-50%);
|
|
width: 32px;
|
|
|
|
input {
|
|
background: transparent;
|
|
line-height: 32px;
|
|
max-height: 32px;
|
|
max-width: 32px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.readOnly {
|
|
background: #ccc;
|
|
display: inline-block;
|
|
height: 32px;
|
|
line-height: 32px;
|
|
width: 32px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.fieldBox {
|
|
background: #000;
|
|
border: solid 1px #000;
|
|
display: inline-block;
|
|
position: relative;
|
|
|
|
label {
|
|
position: absolute;
|
|
font-size: 0.75em;
|
|
line-height: 0.75em;
|
|
top: 110%;
|
|
}
|
|
|
|
.inner input {
|
|
border: none;
|
|
border-radius: 0
|
|
display: inline;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.labelledAbove {
|
|
display: inline-block;
|
|
|
|
label {
|
|
font-size: 0.8em;
|
|
margin-bottom: 0;
|
|
padding-top: 0.5em;
|
|
}
|
|
}
|
|
|
|
.labelledBoxH {
|
|
background: #000;
|
|
border: solid 1px #000;
|
|
border-radius: 0.5em;
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
|
|
& > label {
|
|
background: #000;
|
|
color: #fff;
|
|
display: inline;
|
|
font-weight: bold;
|
|
padding: 0 0.25em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
& > .inner {
|
|
background: #fff;
|
|
display: inline-block;
|
|
float: right;
|
|
vertical-align: middle;
|
|
|
|
& > * {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.fraction {
|
|
background: #fff;
|
|
display: inline-block;
|
|
|
|
input {
|
|
border: none;
|
|
display: inline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.labelledBoxV {
|
|
background: #000;
|
|
border: solid 1px #000;
|
|
border-radius: 0.5em;
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
|
|
& > label {
|
|
background: #000;
|
|
color: #fff;
|
|
display: inline-block;
|
|
font-weight: bold;
|
|
margin: 0;
|
|
padding: 0;
|
|
text-align: center;
|
|
}
|
|
|
|
& > .inner {
|
|
background: #fff;
|
|
text-align: center;
|
|
width: 100%;
|
|
|
|
input {
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.fraction {
|
|
background: #fff;
|
|
display: inline-block;
|
|
|
|
input {
|
|
border: none;
|
|
display: inline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.labelledLeft {
|
|
display: inline-block;
|
|
margin-bottom: 1em;
|
|
min-width: 0.45in;
|
|
position: relative;
|
|
|
|
label {
|
|
display: inline-block;
|
|
margin-bottom: 0;
|
|
padding-right: 2px;
|
|
width: auto;
|
|
vertical-align: bottom
|
|
}
|
|
|
|
.inner {
|
|
border-bottom: solid 2px #000;
|
|
display: inline-block;
|
|
vertical-align: bottom;
|
|
|
|
input {
|
|
background: transparent;
|
|
padding: 0;
|
|
transform: translateY(2px);
|
|
}
|
|
}
|
|
}
|
|
|
|
.labelledUnderlined {
|
|
display: inline-block;
|
|
margin-bottom: 1em;
|
|
min-width: 0.45in;
|
|
position: relative;
|
|
|
|
label {
|
|
position: absolute;
|
|
font-size: 0.75em;
|
|
line-height: 0.75em;
|
|
top: 110%;
|
|
}
|
|
|
|
.inner {
|
|
border-bottom: solid 1px #000;
|
|
width: 100%;
|
|
|
|
input {
|
|
border: none;
|
|
border-radius: 0;
|
|
padding-bottom: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
select {
|
|
border: none;
|
|
border-radius: 0;
|
|
padding-bottom: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.readOnlyBox {
|
|
padding: 0;
|
|
padding-top: initial;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mathOperator {
|
|
display:inline-block;
|
|
margin-bottom: 0.5em;
|
|
padding-left: 0.25em;
|
|
padding-right: 0.25em;
|
|
}
|