From b8d339fe67ab2e24b320fda5d819e94b4b5b0c05 Mon Sep 17 00:00:00 2001 From: Tealk <12276250+Tealk@users.noreply.github.com> Date: Mon, 17 Aug 2020 18:42:36 +0200 Subject: [PATCH] [Aborea] bugfix & improvements (#7170) * expand text fields individually * fix list macro fix issue #1 --- Aborea_new/aborea.css | 2 +- Aborea_new/aborea.html | 33 +++++++------------------------ Aborea_new/aborea.less | 44 +++++++++++++++++++++++++++++++++++++++++- 3 files changed, 51 insertions(+), 28 deletions(-) diff --git a/Aborea_new/aborea.css b/Aborea_new/aborea.css index 08d6445443..9243cc7303 100644 --- a/Aborea_new/aborea.css +++ b/Aborea_new/aborea.css @@ -1 +1 @@ -.sheet-container{width:870px}.sheet-container input{background:transparent;width:100%;border:1px solid #ddd;border-radius:3px;}.sheet-container select{background:transparent;width:100%;border:1px solid #ddd;border-radius:3px;}.sheet-container input[type=number]{text-align:center;-moz-appearance:textfield;-webkit-appearance:textfield;}.sheet-container input[type=checkbox]{width:auto;}.sheet-container textarea{margin:0;width:100%;height:65px;resize:vertical;box-sizing:border-box;border:1px solid #ddd;border-radius:3px;}.sheet-container select{margin:0;}.sheet-container span{text-transform:uppercase;}.sheet-container label{width:auto;display:block;margin-top:-19px;margin-bottom:0;font-weight:normal;padding:0;font-size:15px;}.sheet-container .sheet-input_label{cursor:pointer;}.sheet-container .sheet-redbg{background-color:red;color:white;border:1px solid red;border-bottom:1px solid white;font-weight:bold;padding-left:5px;}.sheet-container strong{font-weight:900;}.sheet-container .sheet-textcenter{text-align:center;}.sheet-container .sheet-float{float:left;box-sizing:border-box;width:99%;margin:10px 5px 10px 0;}.sheet-container .sheet-noborder{border:none;}.sheet-container .sheet-half{max-width:49%;}.sheet-container .sheet-twice{display:grid;grid-template-columns:49% 49%;grid-gap:5px;}.sheet-container .sheet-clear{clear:both;overflow:auto;}.sheet-container .sheet-row{padding-top:30px;}.sheet-container .sheet-row.sheet-small{padding-top:10px;}.sheet-container .sheet-row:first-child{padding-top:0;}.sheet-container .sheet-grid,.sheet-container .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem{display:grid;grid-gap:5px;}.sheet-container .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem{margin-top:5px;}.sheet-container .sheet-grid>div{background-color:#f00;color:#FFF;font-weight:bold;text-align:center;}.sheet-container .sheet-gridplace .repcontainer .repitem input,.sheet-container .sheet-gridplace .repcontainer .repitem select,.sheet-container .sheet-gridplace .repcontainer .repitem button,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem input,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem select,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem button{width:-webkit-fill-available;width:-moz-available;}.sheet-container .sheet-gridplace .repcontainer .repitem button.repcontrol_del{width:auto;}.sheet-container .sheet-gridplace .repcontainer .repitem div,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem div{margin:auto 0;text-align:center;}.sheet-container .sheet-switch{position:relative;display:inline-block;width:40px;height:24px;}.sheet-container .sheet-switch input{opacity:0;width:0;height:0;}.sheet-container .sheet-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s;}.sheet-container .sheet-slider:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:white;-webkit-transition:.4s;transition:.4s;}.sheet-container input:checked + .sheet-slider{background-color:#f00;}.sheet-container input:focus + .sheet-slider{box-shadow:0 0 1px #f00;}.sheet-container input:checked + .sheet-slider:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px);}.sheet-container .sheet-main .sheet-ep{width:190px;float:left;}.sheet-container .sheet-main .sheet-ep input,.sheet-container .sheet-main .sheet-ep label{float:left;margin-right:5px;}.sheet-container .sheet-main .sheet-ep input:last-child,.sheet-container .sheet-main .sheet-ep label:last-child{margin-right:0;}.sheet-container .sheet-main .sheet-ep input{width:50px;height:40px;}.sheet-container .sheet-main .sheet-ep label[for="sheet-Stufe"],.sheet-container .sheet-main .sheet-ep label[for="sheet-AP"]{width:50px;text-align:center;}.sheet-container .sheet-main .sheet-ep input[name="attr_ep"],.sheet-container .sheet-main .sheet-ep label[for="attr_ep"]{width:80px;text-align:center;}.sheet-container .sheet-main .sheet-vermoegen{width:210px;float:right;padding-top:0;}.sheet-container .sheet-main .sheet-vermoegen div{width:100%;}.sheet-container .sheet-main .sheet-vermoegen input,.sheet-container .sheet-main .sheet-vermoegen label{float:left;margin-left:5px;}.sheet-container .sheet-main .sheet-vermoegen input:first-child,.sheet-container .sheet-main .sheet-vermoegen label:first-child{margin-left:0;}.sheet-container .sheet-main .sheet-vermoegen input{width:40px;height:40px;}.sheet-container .sheet-main .sheet-vermoegen label[for="attr_tt"],.sheet-container .sheet-main .sheet-vermoegen label[for="attr_kl"],.sheet-container .sheet-main .sheet-vermoegen label[for="attr_mu"]{width:40px;text-align:center;}.sheet-container .sheet-main .sheet-vermoegen input[name="attr_gf"],.sheet-container .sheet-main .sheet-vermoegen label[for="attr_gf"]{width:70px;text-align:center;}.sheet-container .sheet-main .sheet-stats{width:210px;float:left;}.sheet-container .sheet-main .sheet-stats>input,.sheet-container .sheet-main .sheet-stats>label,.sheet-container .sheet-main .sheet-stats>div{float:left;margin-right:5px;}.sheet-container .sheet-main .sheet-stats input:last-child,.sheet-container .sheet-main .sheet-stats label:last-child,.sheet-container .sheet-main .sheet-stats div:last-child{margin-right:0;}.sheet-container .sheet-main .sheet-stats label[for="attr_leben"]{text-align:center;float:none;width:110px;}.sheet-container .sheet-main .sheet-stats input{width:50px;height:40px;}.sheet-container .sheet-main .sheet-gmroll{width:210px;float:right;}.sheet-container .sheet-main .sheet-gmroll select{float:right;width:175px;}.sheet-container .sheet-main .sheet-beruf select[name=attr_beruf]{display:none;}.sheet-container .sheet-main .sheet-beruf .sheet-switch{float:right;position:relative;height:17px;border:1px solid #ccc;}.sheet-container .sheet-main .sheet-beruf .sheet-switch .sheet-slider{box-shadow:none;}.sheet-container .sheet-main .sheet-beruf .sheet-switch .sheet-slider:before{height:13px;bottom:2px;}.sheet-container .sheet-main .sheet-beruf input[name=attr_toggle_beruf]:checked ~ input{display:none;}.sheet-container .sheet-main .sheet-beruf input[name=attr_toggle_beruf]:checked ~ select{display:inherit;}.sheet-container .sheet-main .sheet-settings{padding-top:10px;display:grid;grid-template-columns:49% 49%;grid-gap:5px;}.sheet-container .sheet-main .sheet-gott{width:180px;float:left;}.sheet-container .sheet-main .sheet-gott div{width:auto;margin-left:20px;}.sheet-container .sheet-main .sheet-gott input{width:auto;margin-left:10px;}.sheet-container .sheet-main .sheet-gott input[name="attr_1"]{margin-left:35px;}.sheet-container .sheet-main .sheet-mana{width:135px;float:right;margin-top:10px;}.sheet-container .sheet-main .sheet-mana label{text-align:center;}.sheet-container .sheet-main .sheet-mana input{width:60px;height:40px;}.sheet-container .sheet-main .sheet-magie .sheet-grid,.sheet-container .sheet-main .sheet-magie .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-main .sheet-magie .sheet-gridplace .sheet-repcontainer .sheet-repitem{grid-template-columns:220px 70px 70px 50px;}.sheet-container .sheet-main .sheet-attribut .sheet-grid,.sheet-container .sheet-main .sheet-attribut .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-main .sheet-attribut .sheet-gridplace .sheet-repcontainer .sheet-repitem{grid-template-columns:220px 70px 22px 42px 50px;}.sheet-container .sheet-main .sheet-attribut .sheet-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;}.sheet-container .sheet-main .sheet-attribut label{position:relative;left:-95px;top:7px;}.sheet-container .sheet-main .sheet-fertigkeiten .sheet-grid,.sheet-container .sheet-main .sheet-fertigkeiten .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-main .sheet-fertigkeiten .sheet-gridplace .sheet-repcontainer .sheet-repitem{grid-template-columns:220px 70px 70px 50px;}.sheet-container .sheet-main .sheet-kampf .sheet-grid,.sheet-container .sheet-main .sheet-kampf .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-main .sheet-kampf .sheet-gridplace .sheet-repcontainer .sheet-repitem{grid-template-columns:303px 70px 140px 70px 70px 70px 50px 50px;}.sheet-container .sheet-main .sheet-inventar{display:inherit;}.sheet-container .sheet-main .sheet-inventar input:first-child{width:250px;}.sheet-container .sheet-main .sheet-inventar input{width:84px;}.sheet-container .sheet-main .sheet-inventar,.sheet-container .sheet-main .sheet-notes{display:inherit;}.sheet-container .sheet-main .sheet-inventar .sheet-switch,.sheet-container .sheet-main .sheet-notes .sheet-switch{float:right;position:relative;top:19px;height:17px;border:1px solid #ccc;}.sheet-container .sheet-main .sheet-inventar .sheet-switch .sheet-slider,.sheet-container .sheet-main .sheet-notes .sheet-switch .sheet-slider{box-shadow:none;}.sheet-container .sheet-main .sheet-inventar .sheet-switch .sheet-slider:before,.sheet-container .sheet-main .sheet-notes .sheet-switch .sheet-slider:before{height:13px;bottom:2px;}.sheet-container .sheet-main .sheet-inventar input[name=attr_show_inventar] ~ div textarea,.sheet-container .sheet-main .sheet-notes input[name=attr_show_inventar] ~ div textarea{display:none;}.sheet-container .sheet-main .sheet-inventar input[name=attr_show_inventar]:checked ~ div textarea,.sheet-container .sheet-main .sheet-notes input[name=attr_show_inventar]:checked ~ div textarea{display:inline-block;}.sheet-container .sheet-main .sheet-inventar input[name=attr_show_notes] ~ div textarea,.sheet-container .sheet-main .sheet-notes input[name=attr_show_notes] ~ div textarea{display:none;}.sheet-container .sheet-main .sheet-inventar input[name=attr_show_notes]:checked ~ div textarea,.sheet-container .sheet-main .sheet-notes input[name=attr_show_notes]:checked ~ div textarea{display:inline-block;} \ No newline at end of file +.sheet-container{width:870px}.sheet-container input{background:transparent;width:100%;border:1px solid #ddd;border-radius:3px;}.sheet-container select{background:transparent;width:100%;border:1px solid #ddd;border-radius:3px;}.sheet-container input[type=number]{text-align:center;-moz-appearance:textfield;-webkit-appearance:textfield;}.sheet-container input[type=checkbox]{width:auto;}.sheet-container textarea{margin:0;width:100%;height:65px;resize:vertical;box-sizing:border-box;border:1px solid #ddd;border-radius:3px;}.sheet-container select{margin:0;}.sheet-container span{text-transform:uppercase;}.sheet-container label{width:auto;display:block;margin-top:-19px;margin-bottom:0;font-weight:normal;padding:0;font-size:15px;}.sheet-container .sheet-input_label{cursor:pointer;}.sheet-container .sheet-redbg{background-color:red;color:white;border:1px solid red;border-bottom:1px solid white;font-weight:bold;padding-left:5px;}.sheet-container strong{font-weight:900;}.sheet-container .sheet-textcenter{text-align:center;}.sheet-container .sheet-float{float:left;box-sizing:border-box;width:99%;margin:10px 5px 10px 0;}.sheet-container .sheet-noborder{border:none;}.sheet-container .sheet-half{max-width:49%;}.sheet-container .sheet-twice{display:grid;grid-template-columns:49% 49%;grid-gap:5px;}.sheet-container .sheet-clear{clear:both;overflow:auto;}.sheet-container .sheet-row{padding-top:30px;}.sheet-container .sheet-row.sheet-small{padding-top:10px;}.sheet-container .sheet-row:first-child{padding-top:0;}.sheet-container .sheet-options-flag,.sheet-container .sheet-options-flag + span{position:absolute;top:-10px;left:-10px;}.sheet-container .sheet-options-flag{opacity:0;width:16px!important;min-height:16px;z-index:2;}.sheet-container .sheet-options-flag + 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;}.sheet-container .sheet-options-flag ~ textarea{display:none;}.sheet-container .sheet-options-flag:checked ~ textarea{display:inherit;}.sheet-container .sheet-grid,.sheet-container .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem{display:grid;grid-gap:5px;}.sheet-container .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem{margin-top:5px;}.sheet-container .sheet-grid>div{background-color:#f00;color:#FFF;font-weight:bold;text-align:center;}.sheet-container .sheet-gridplace .repcontainer .repitem input,.sheet-container .sheet-gridplace .repcontainer .repitem select,.sheet-container .sheet-gridplace .repcontainer .repitem button,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem input,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem select,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem button{width:-webkit-fill-available;width:-moz-available;}.sheet-container .sheet-gridplace .repcontainer .repitem button.repcontrol_del{width:auto;}.sheet-container .sheet-gridplace .repcontainer .repitem div,.sheet-container .sheet-gridplace .sheet-repcontainer .sheet-repitem div{margin:auto 0;text-align:center;}.sheet-container .sheet-switch{position:relative;display:inline-block;width:40px;height:24px;}.sheet-container .sheet-switch input{opacity:0;width:0;height:0;}.sheet-container .sheet-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s;}.sheet-container .sheet-slider:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:white;-webkit-transition:.4s;transition:.4s;}.sheet-container input:checked + .sheet-slider{background-color:#f00;}.sheet-container input:focus + .sheet-slider{box-shadow:0 0 1px #f00;}.sheet-container input:checked + .sheet-slider:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px);}.sheet-container .sheet-main .sheet-ep{width:190px;float:left;}.sheet-container .sheet-main .sheet-ep input,.sheet-container .sheet-main .sheet-ep label{float:left;margin-right:5px;}.sheet-container .sheet-main .sheet-ep input:last-child,.sheet-container .sheet-main .sheet-ep label:last-child{margin-right:0;}.sheet-container .sheet-main .sheet-ep input{width:50px;height:40px;}.sheet-container .sheet-main .sheet-ep label[for="sheet-Stufe"],.sheet-container .sheet-main .sheet-ep label[for="sheet-AP"]{width:50px;text-align:center;}.sheet-container .sheet-main .sheet-ep input[name="attr_ep"],.sheet-container .sheet-main .sheet-ep label[for="attr_ep"]{width:80px;text-align:center;}.sheet-container .sheet-main .sheet-vermoegen{width:210px;float:right;padding-top:0;}.sheet-container .sheet-main .sheet-vermoegen div{width:100%;}.sheet-container .sheet-main .sheet-vermoegen input,.sheet-container .sheet-main .sheet-vermoegen label{float:left;margin-left:5px;}.sheet-container .sheet-main .sheet-vermoegen input:first-child,.sheet-container .sheet-main .sheet-vermoegen label:first-child{margin-left:0;}.sheet-container .sheet-main .sheet-vermoegen input{width:40px;height:40px;}.sheet-container .sheet-main .sheet-vermoegen label[for="attr_tt"],.sheet-container .sheet-main .sheet-vermoegen label[for="attr_kl"],.sheet-container .sheet-main .sheet-vermoegen label[for="attr_mu"]{width:40px;text-align:center;}.sheet-container .sheet-main .sheet-vermoegen input[name="attr_gf"],.sheet-container .sheet-main .sheet-vermoegen label[for="attr_gf"]{width:70px;text-align:center;}.sheet-container .sheet-main .sheet-stats{width:210px;float:left;}.sheet-container .sheet-main .sheet-stats>input,.sheet-container .sheet-main .sheet-stats>label,.sheet-container .sheet-main .sheet-stats>div{float:left;margin-right:5px;}.sheet-container .sheet-main .sheet-stats input:last-child,.sheet-container .sheet-main .sheet-stats label:last-child,.sheet-container .sheet-main .sheet-stats div:last-child{margin-right:0;}.sheet-container .sheet-main .sheet-stats label[for="attr_leben"]{text-align:center;float:none;width:110px;}.sheet-container .sheet-main .sheet-stats input{width:50px;height:40px;}.sheet-container .sheet-main .sheet-gmroll{width:210px;float:right;}.sheet-container .sheet-main .sheet-gmroll select{float:right;width:175px;}.sheet-container .sheet-main .sheet-beruf select[name=attr_beruf]{display:none;}.sheet-container .sheet-main .sheet-beruf .sheet-switch{float:right;position:relative;height:17px;border:1px solid #ccc;}.sheet-container .sheet-main .sheet-beruf .sheet-switch .sheet-slider{box-shadow:none;}.sheet-container .sheet-main .sheet-beruf .sheet-switch .sheet-slider:before{height:13px;bottom:2px;}.sheet-container .sheet-main .sheet-beruf input[name=attr_toggle_beruf]:checked ~ input{display:none;}.sheet-container .sheet-main .sheet-beruf input[name=attr_toggle_beruf]:checked ~ select{display:inherit;}.sheet-container .sheet-main .sheet-settings{padding-top:10px;display:grid;grid-template-columns:49% 49%;grid-gap:5px;}.sheet-container .sheet-main .sheet-gott{width:180px;float:left;}.sheet-container .sheet-main .sheet-gott div{width:auto;margin-left:20px;}.sheet-container .sheet-main .sheet-gott input{width:auto;margin-left:10px;}.sheet-container .sheet-main .sheet-gott input[name="attr_1"]{margin-left:35px;}.sheet-container .sheet-main .sheet-mana{width:135px;float:right;margin-top:10px;}.sheet-container .sheet-main .sheet-mana label{text-align:center;}.sheet-container .sheet-main .sheet-mana input{width:60px;height:40px;}.sheet-container .sheet-main .sheet-magie .sheet-grid,.sheet-container .sheet-main .sheet-magie .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-main .sheet-magie .sheet-gridplace .sheet-repcontainer .sheet-repitem{grid-template-columns:220px 70px 70px 50px;}.sheet-container .sheet-main .sheet-attribut .sheet-grid,.sheet-container .sheet-main .sheet-attribut .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-main .sheet-attribut .sheet-gridplace .sheet-repcontainer .sheet-repitem{grid-template-columns:220px 70px 22px 42px 50px;}.sheet-container .sheet-main .sheet-attribut .sheet-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;}.sheet-container .sheet-main .sheet-attribut label{position:relative;left:-95px;top:7px;}.sheet-container .sheet-main .sheet-fertigkeiten .sheet-grid,.sheet-container .sheet-main .sheet-fertigkeiten .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-main .sheet-fertigkeiten .sheet-gridplace .sheet-repcontainer .sheet-repitem{grid-template-columns:220px 70px 70px 50px;}.sheet-container .sheet-main .sheet-kampf .sheet-grid,.sheet-container .sheet-main .sheet-kampf .sheet-gridplace .repcontainer .repitem,.sheet-container .sheet-main .sheet-kampf .sheet-gridplace .sheet-repcontainer .sheet-repitem{grid-template-columns:303px 70px 140px 70px 70px 70px 50px 50px;}.sheet-container .sheet-main .sheet-inventar{display:inherit;}.sheet-container .sheet-main .sheet-inventar input[name=attr_ruestung1],.sheet-container .sheet-main .sheet-inventar input[name=attr_ruestung2],.sheet-container .sheet-main .sheet-inventar input[name=attr_name]{width:250px;}.sheet-container .sheet-main .sheet-inventar input{width:84px;}.sheet-container .sheet-main .sheet-inventar,.sheet-container .sheet-main .sheet-notes{display:inherit;}.sheet-container .sheet-main .sheet-inventar .sheet-switch,.sheet-container .sheet-main .sheet-notes .sheet-switch{float:right;position:relative;top:19px;height:17px;border:1px solid #ccc;}.sheet-container .sheet-main .sheet-inventar .sheet-switch .sheet-slider,.sheet-container .sheet-main .sheet-notes .sheet-switch .sheet-slider{box-shadow:none;}.sheet-container .sheet-main .sheet-inventar .sheet-switch .sheet-slider:before,.sheet-container .sheet-main .sheet-notes .sheet-switch .sheet-slider:before{height:13px;bottom:2px;}.sheet-container .sheet-main .sheet-inventar input[name=attr_show_inventar] ~ div textarea,.sheet-container .sheet-main .sheet-notes input[name=attr_show_inventar] ~ div textarea{display:none;}.sheet-container .sheet-main .sheet-inventar input[name=attr_show_inventar]:checked ~ div textarea,.sheet-container .sheet-main .sheet-notes input[name=attr_show_inventar]:checked ~ div textarea{display:inline-block;}.sheet-container .sheet-main .sheet-inventar input[name=attr_show_notes] ~ div textarea,.sheet-container .sheet-main .sheet-notes input[name=attr_show_notes] ~ div textarea{display:none;}.sheet-container .sheet-main .sheet-inventar input[name=attr_show_notes]:checked ~ div textarea,.sheet-container .sheet-main .sheet-notes input[name=attr_show_notes]:checked ~ div textarea{display:inline-block;}.sheet-container .sheet-main .sheet-inventar .sheet-notes-row:hover .sheet-options-flag + span,.sheet-container .sheet-main .sheet-notes .sheet-notes-row:hover .sheet-options-flag + span,.sheet-container .sheet-main .sheet-inventar .sheet-inventar-row:hover .sheet-options-flag + span,.sheet-container .sheet-main .sheet-notes .sheet-inventar-row:hover .sheet-options-flag + span{display:block;} \ No newline at end of file diff --git a/Aborea_new/aborea.html b/Aborea_new/aborea.html index bde311c531..9b7168a4c8 100644 --- a/Aborea_new/aborea.html +++ b/Aborea_new/aborea.html @@ -49,7 +49,6 @@ Beruf - Barde @@ -264,7 +263,7 @@ + value="@{abilityroll} würfelt List mit dem Ergebnis [[1d10! + @{list_attribut} + @{list} + ?{Modifier?|0}]]"> @@ -401,28 +400,13 @@ - - - - - Inventar - - - - - - - - - - - - - - + y + + @@ -430,14 +414,11 @@ - - - - - Notizen + y diff --git a/Aborea_new/aborea.less b/Aborea_new/aborea.less index 30f45d0943..ab3a0a366a 100644 --- a/Aborea_new/aborea.less +++ b/Aborea_new/aborea.less @@ -113,6 +113,41 @@ } } + .sheet-options-flag, + .sheet-options-flag+span { + position: absolute; + top : -10px; + left : -10px; + } + + .sheet-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; + } + } + /* Tabelle */ .sheet-grid, .sheet-gridplace .repcontainer .repitem, @@ -450,7 +485,9 @@ .sheet-inventar { display: inherit; - input:first-child { + input[name=attr_ruestung1], + input[name=attr_ruestung2], + input[name=attr_name] { width: 250px; } @@ -513,6 +550,11 @@ } } } + + .sheet-notes-row:hover .sheet-options-flag+span, + .sheet-inventar-row:hover .sheet-options-flag+span { + display: block; + } } } } \ No newline at end of file