Files
roll20-character-sheets-tester/Aborea_new/aborea.sass
T
2021-09-06 18:57:53 +02:00

606 lines
15 KiB
Sass

.charsheet
.container
width: 870px
padding: 0
margin: 0
margin-left: -10px
input
background: transparent
width: 100%
border: 1px solid #ddd
border-radius: 3px
select
background: transparent
width: 100%
border: 1px solid #ddd
border-radius: 3px
input[type=number]
text-align: center
-moz-appearance: textfield
-webkit-appearance: textfield
input[type=checkbox]
width: auto
textarea
margin: 0
width: 100%
height: 65px
resize: vertical
box-sizing: border-box
border: 1px solid #ddd
border-radius: 3px
select
margin: 0
span
text-transform: uppercase
label
padding: 0
label.title
width: auto
display: block
margin-top: -19px
margin-bottom: 0px
font-weight: normal
padding-left: 5px
font-size: 15px
div.title
padding-left: 5px
.input_label
cursor: pointer
.redbg
background-color: red
color: white
font-weight: bold
strong
font-weight: 900
.textcenter
text-align: center
.float
float: left
box-sizing: border-box
width: 99%
margin: 10px 5px 10px 0
.noborder
border: none
.half
max-width: 49%
.twice
display: grid
grid-template-columns: 49% 49%
grid-gap: 5px
.clear
clear: both
overflow: auto
.row
padding-top: 30px
margin-right: 0
margin-left: 0
&.twice::before,
&.twice::after
display: none
&.small
padding-top: 10px
&:first-child
padding-top: 0px
.options-flag,
.options-flag+span
position: absolute
top: -10px
left: -10px
.options-flag
opacity: 0
width: 16px !important
min-height: 16px
z-index: 2
&+span
white-space: nowrap
width: 16px
height: 16px
font-size: 16px
font-family: pictos
color: #bbb
cursor: pointer
margin-top: 0
display: none
text-transform: lowercase
~textarea
display: none
&:checked~textarea
display: inherit
.grid,
.items,
.repcontainer .repitem
display: grid
grid-gap: 5px
.items,
.repcontainer .repitem
margin-top: 5px
.grid>div
background-color: #f00
color: #FFF
font-weight: bold
text-align: center
.items input,
.items select,
.items button,
.repcontainer .repitem input,
.repcontainer .repitem select,
.repcontainer .repitem button
width: -webkit-fill-available
width: -moz-available
.repcontainer .repitem button.repcontrol_del
width: auto
.items div,
.repcontainer .repitem div
margin: auto 0
text-align: center
.switch
position: relative
display: inline-block
width: 40px
height: 24px
margin-top: -19px
margin-bottom: 0px
font-weight: normal
padding: 0px
font-size: 15px
.switch input
opacity: 0
width: 0
height: 0
.slider
position: absolute
cursor: pointer
top: 0
left: 0
right: 0
bottom: 0
background-color: #ccc
-webkit-transition: .4s
transition: .4s
.slider:before
position: absolute
content: ""
height: 16px
width: 16px
left: 4px
bottom: 4px
background-color: white
-webkit-transition: .4s
transition: .4s
input:checked+.slider
background-color: #f00
input:focus+.slider
box-shadow: 0 0 1px #f00
input:checked+.slider:before
-webkit-transform: translateX(16px)
-ms-transform: translateX(16px)
transform: translateX(16px)
.main
.ep
width: 190px
float: left
input,
label
float: left
margin-right: 5px
input:last-child,
label:last-child
margin-right: 0px
input
width: 50px
height: 40px
label[for="Stufe"],
label[for="AP"]
width: 50px
text-align: center
input[name="attr_ep"],
label[for="attr_ep"]
width: 80px
text-align: center
.vermoegen
width: 210px
float: right
padding-top: 0
div
width: 100%
input,
label
float: left
margin-left: 5px
input:first-child,
label:first-child
margin-left: 0px
input
width: 40px
height: 40px
label[for="attr_tt"],
label[for="attr_kl"],
label[for="attr_mu"]
width: 40px
text-align: center
input[name="attr_gf"],
label[for="attr_gf"]
width: 70px
text-align: center
.stats
float: left
>input,
>label,
>div
float: left
margin-right: 10px
input:last-child,
label:last-child,
div:last-child
margin-right: 0px
label[for="attr_leben"]
text-align: center
float: none
width: 110px
input
width: 50px
height: 40px
.moreleft
margin-left: -4px
.gmroll
width: 175px
float: right
select
float: right
width: 175px
.beruf
select[name=attr_beruf]
display: none
.switch
float: right
position: relative
height: 17px
border: 1px solid #ccc
& .slider
box-shadow: none
& .slider:before
height: 13px
bottom: 2px
input[name=attr_toggle_beruf]
&:checked
~input
display: none
~select
display: inherit
.settings
padding-top: 10px
display: grid
grid-template-columns: 49% 49%
grid-gap: 5px
&::before,
&::after
display: none
.attribut
.grid,
.items
grid-template-columns: 150px 70px 70px 22px 42px 50px
.arrow
border-top: 10px solid transparent
border-bottom: 10px solid transparent
border-left: 20px solid #f00
width: auto
height: auto
margin: 6px 0
margin-right: 60px
label
position: relative
left: -95px
top: 7px
.gott
text-align: center
label
text-align: center
margin: 0
input
width: auto
margin-left: 10px
.mana
padding-top: 20px
.items
grid-template-columns: 49% 49%
input
width: 60px
height: 40px
.magie
padding-top: 15px
.grid,
.items
grid-template-columns: 150px 70px 70px 70px 50px
.float.tabmenu
margin: 0
display: grid
grid-gap: 5px
&.physisch
grid-template-columns: auto auto
&.magisch
grid-template-columns: auto auto auto auto auto auto auto auto auto
label
text-align: center
display: inline-block
width: 100%
height: 20px
cursor: pointer
#selection-fertigkeiten,
#selection-kampf,
#selection-weisse,
#selection-schwarze,
#selection-wilde,
#selection-elementare,
#selection-freie,
#selection-zeichen,
#selection-wunder,
#selection-barden,
#selection-schamanen
display: none
input#fertigkeiten:checked ~ #selection-fertigkeiten,
input#kampf:checked ~ #selection-kampf,
input#weisse:checked ~ #selection-weisse,
input#schwarze:checked ~ #selection-schwarze,
input#wilde:checked ~ #selection-wilde,
input#elementare:checked ~ #selection-elementare,
input#freie:checked ~ #selection-freie,
input#zeichen:checked ~ #selection-zeichen,
input#wunder:checked ~ #selection-wunder,
input#barden:checked ~ #selection-barden,
input#schamanen:checked ~ #selection-schamanen
display: block
input#fertigkeiten:checked ~ div #label-fertigkeiten,
input#kampf:checked ~ div #label-kampf,
input#weisse:checked ~ div #label-weisse,
input#schwarze:checked ~ div #label-schwarze,
input#wilde:checked ~ div #label-wilde,
input#elementare:checked ~ div #label-elementare,
input#freie:checked ~ div #label-freie,
input#zeichen:checked ~ div #label-zeichen,
input#wunder:checked ~ div #label-wunder,
input#barden:checked ~ div #label-barden,
input#schamanen:checked ~ div #label-schamanen
background-color: firebrick
.fertigkeiten
.grid,
.items,
.repcontainer .repitem
grid-template-columns: 150px 70px 70px 70px 50px
.kampf
.grid,
.repcontainer .repitem
grid-template-columns: 303px 70px 140px 70px 70px 70px 50px 50px
.spruchliste
.grid,
.items,
.repcontainer .repitem
grid-template-columns: 50px 70px 140px 528px 50px
border-bottom: 1px dotted
div
margin: 0
.grid
border: none
.inventar
display: inherit
input[name=attr_ruestung1],
input[name=attr_ruestung2],
input[name=attr_name]
width: 250px
input
width: 84px
.inventar,
.notes
display: inherit
.switch
float: right
position: relative
top: 19px
height: 17px
border: 1px solid #ccc
& .slider
box-shadow: none
& .slider:before
height: 13px
bottom: 2px
input[name=attr_show_inventar]
~div
textarea
display: none
&:checked
~div
textarea
display: inline-block
input[name=attr_show_notes]
~div
textarea
display: none
&:checked
~div
textarea
display: inline-block
.notes-row:hover .options-flag+span,
.inventar-row:hover .options-flag+span
display: block
.version
text-align: right
.sheet-rolltemplate-magie
.sheet-container
background-color: #ffffff
border-top-left-radius: 10px
border-bottom-right-radius: 10px
width: 240px
.sheet-header
background-color: red
color: white
text-align: left
border: 1px solid red
border-bottom: 1px solid white
font-weight: bold
padding-left: 5px
span
text-transform: uppercase
.sheet-content
div
padding: 5px
&:nth-child(even)
background: #EEE
span
margin-left: 15px
font-weight: bold
div.sheet-ergebnis
text-align: left
div.sheet-desc_title
padding-top: 10px
padding-left: 20px
font-weight: bold
text-align: left
.sheet-desc
padding: 5px
padding-top: 0
text-align: center
.inlinerollresult
background-color: transparent
border: none
position: relative
right: 30px
float: right
margin: 0
&.fullcrit
color: #3FB315
&.fullfail
color: #B31515
&.importandivoll
color: #4A57ED