mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-09-06 15:12:32 +00:00
Fixed checkboxes by added .charsheet
This commit is contained in:
+10
-10
@@ -186,8 +186,8 @@ textarea.sheet-input-like {
|
||||
}
|
||||
|
||||
/* Fake checkbox */
|
||||
label input[type="radio"] + span::before,
|
||||
input[type="checkbox"] + span::before
|
||||
.charsheet label input[type="radio"] + span::before,
|
||||
.charsheet input[type="checkbox"] + span::before
|
||||
{
|
||||
content: "";
|
||||
cursor: pointer;
|
||||
@@ -200,8 +200,8 @@ input[type="checkbox"] + span::before
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
input[type="radio"] + span::before,
|
||||
input[type="checkbox"] + span::before
|
||||
.charsheet input[type="radio"] + span::before,
|
||||
.charsheet input[type="checkbox"] + span::before
|
||||
{
|
||||
margin-right: 4px;
|
||||
margin-left: 4px;
|
||||
@@ -224,8 +224,8 @@ input[type="checkbox"] + span::before
|
||||
background: radial-gradient(#f6f6f6, #dfdfdf);
|
||||
}
|
||||
|
||||
label input[type="radio"]:checked + span::before,
|
||||
input[type="checkbox"]:checked + span::before
|
||||
.charsheet label input[type="radio"]:checked + span::before,
|
||||
.charsheet input[type="checkbox"]:checked + span::before
|
||||
{
|
||||
content: "✓";
|
||||
}
|
||||
@@ -450,7 +450,7 @@ div[class^="sheet-section"] {
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
}
|
||||
input[type="checkbox"]
|
||||
.charsheet input[type="checkbox"]
|
||||
{
|
||||
opacity: 0;
|
||||
width: 16px;
|
||||
@@ -483,7 +483,7 @@ input.sheet-tab + span::before
|
||||
background: radial-gradient(#f6f6f6, #dfdfdf);
|
||||
}
|
||||
|
||||
label {
|
||||
.charsheet label {
|
||||
position: relative;
|
||||
display:inline;
|
||||
font-size: 12px;
|
||||
@@ -1260,8 +1260,8 @@ table.sheet-default-header-every-third-column td:nth-child(3n+1),
|
||||
.sheet-flex-item {
|
||||
}
|
||||
|
||||
label input[type="radio"],
|
||||
label input[type="checkbox"] {
|
||||
.charsheet label input[type="radio"],
|
||||
.charsheet label input[type="checkbox"] {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user