ada-ui 4.5.0-beta.1 → 4.5.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/ada.css +1 -1
- package/index.html +3 -29
- package/package.json +1 -1
- package/scss/_corner.scss +37 -6
- package/scss/_panel.scss +4 -20
- package/scss/_tile.scss +25 -38
package/css/ada.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
html{font-size:14px;font-family:"Open Sans",sans-serif;font-weight:400}@media screen and (max-width: 1199px){html{font-size:12px}}html,body{height:100%;min-height:100%;margin:0;padding:0;background:var(--bg);color:var(--fg)}body{font-size:1rem;-webkit-tap-highlight-color:transparent;box-sizing:border-box;padding:.5rem}h1{font-size:3rem}.command-bar:not(.vertical),h2{font-size:2rem}.tile>header,.panel>header,h3{font-size:1.5rem}.panel>footer.command-bar,h4{font-weight:400;font-size:1.2rem}h1,.command-bar:not(.vertical),h2,.tile>header,.panel>header,h3,.panel>footer.command-bar,h4{font-weight:300;text-shadow:0 0 4px var(--light-alpha40);color:var(--fg)}h1{margin:1rem 0 2rem 0}h1.m-0{margin:0}h2{margin:1rem 0 1.5rem 0}h2.m-0{margin:0}h3{margin:.5rem 0 1.5rem 0}h3.m-0{margin:0}h4{margin:.5rem 0 .5rem 0}h4.m-0{margin:0}.tile>footer:after,.panel>footer:after,.tile>footer:before,.panel>footer:before,.tile>header:after,.panel>header:after,.tile>header:before,.panel>header:before{content:"";border-style:solid;border-color:var(--default);position:absolute;height:1rem;width:1rem;z-index:2}.tile>footer:after,.tile>footer:before,.tile>header:after,.tile>header:before{border-color:var(--light-alpha40);height:.75rem;width:.75rem}.tile,.panel{background:var(--panel-background);box-shadow:0 0 10px 0 rgba(0,0,0,.4);border-radius:.3rem;display:grid;grid-template-rows:auto 1fr auto;overflow:auto;margin:.5rem}.tile>header,.panel>header{position:relative;padding:.4rem .6rem}.tile>header:before,.panel>header:before{border-width:2px 0 0 2px;border-radius:.3rem 0 0 0;left:0;top:0}.tile>header:after,.panel>header:after{border-width:2px 2px 0 0;border-radius:0 .3rem 0 0;right:0;top:0}.tile>header:empty,.panel>header:empty{padding:.2rem}.tile>article,.panel>article{z-index:1;padding:0 .6rem;overflow:auto}.tile>article::-webkit-scrollbar,.panel>article::-webkit-scrollbar{width:2px;background:transparent}.tile>article::-webkit-scrollbar-thumb,.panel>article::-webkit-scrollbar-thumb{min-width:1rem;border-style:solid;border-color:transparent;border-width:2px 2px 1px 2px;background:var(--default);box-sizing:border-box;background-clip:border-box}.tile>footer,.panel>footer{position:relative;color:var(--footer-color);padding:.4rem .6rem;font-size:.75rem;text-align:right}.tile>footer:before,.panel>footer:before{border-width:0 0 2px 2px;border-radius:0 0 0 .3rem;left:0;bottom:0}.tile>footer:after,.panel>footer:after{border-width:0 2px 2px 0;border-radius:0 0 .3rem 0;right:0;bottom:0}.tile>footer:empty,.panel>footer:empty{padding:.2rem}.panel>header.command-bar{margin:0;margin-bottom:1rem;padding-top:0;padding-bottom:0}.panel>header.command-bar:before,.panel>header.command-bar:after{border:none;height:auto}.panel>header.command-bar:before{border-radius:.3rem 0 0 0}.panel>header.command-bar:after{border-radius:0 .3rem 0 0}.panel>footer.command-bar{margin:0;margin-top:1rem;padding-top:0;padding-bottom:0;line-height:2rem;height:2rem}.panel>footer.command-bar:before,.panel>footer.command-bar:after{border:none;height:auto}.panel>footer.command-bar:before{border-radius:0 0 0 .3rem}.panel>footer.command-bar:after{border-radius:0 0 .3rem 0}.panel>footer.command-bar>.command{height:2rem;font-size:.9rem}.tile>footer:after,.tile>footer:before,.tile>header:after,.tile>header:before,.panel>header:before,.panel>header:after,.panel>footer:before,.panel>footer:after{content:"";border-style:solid;border-color:var(--default);position:absolute;height:1rem;width:1rem;z-index:2}.tile>footer:after,.tile>footer:before,.tile>header:after,.tile>header:before{border-color:var(--light-alpha40);height:.75rem;width:.75rem}.tile{background:var(--tile-background);margin:.8rem}.tile>header:before{border-width:1px 0 0 1px}.tile>header:after{border-width:1px 1px 0 0}.tile>article{color:var(--fg)}.tile>footer:before{border-width:0 0 1px 1px}.tile>footer:after{border-width:0 1px 1px 0}.tile.inset{box-shadow:inset 0 0 10px 0 rgba(0,0,0,.4)}.tile.inset>header{text-shadow:none}.tile.inset>header:before,.tile.inset>header:after{opacity:.6}.tile.inset footer:before,.tile.inset footer:after{opacity:.6}.blubb{display:inline-grid;grid-template-columns:1fr auto;margin:.8rem;grid-auto-flow:column;align-items:stretch;column-gap:.3rem}.blubb>.tile{margin:0;border-radius:.3rem 0 0 .3rem}.blubb>.tile>header:after{border:none}.blubb>.tile>article{padding:.4rem .8rem;font-size:1.2rem}.blubb>.tile>footer:after{border:none}.blubb>aside{display:grid;grid-auto-flow:column;column-gap:.3rem}.blubb>aside>.command{background-color:var(--default-alpha40);min-width:2.5rem}.blubb>aside>.command:last-of-type{border-radius:0 .3rem .3rem 0}.command:not(.spacer),.button{overflow:hidden;outline:none;color:var(--fg);font-family:inherit;cursor:pointer;user-select:none;vertical-align:middle;transition:border-color .15s ease-in-out,background-color .15s ease-in-out}.command:disabled:not(.spacer),.button:disabled{opacity:.4;filter:saturate(0.6);cursor:default;pointer-events:none}.button{white-space:nowrap;text-overflow:ellipsis;border-radius:.3rem;box-shadow:0 0 10px 0 rgba(0,0,0,.4);border:1px solid var(--light-alpha40);background-color:transparent;min-height:min-content;min-width:8rem;padding:.8rem 1.6rem;margin:.8rem;font-size:1.1rem}.button.small{min-width:0;padding:.8rem}.button.fill{background-color:var(--default)}.button:focus{border:1px solid var(--light-alpha70)}.button:active{background-color:var(--light);border:1px solid var(--default-alpha40)}.command-bar{position:relative;display:grid;gap:.5rem;margin:.5rem}.command-bar:before,.command-bar:after{box-shadow:0 0 10px 0 rgba(0,0,0,.4);position:absolute;content:"";background:var(--default-alpha70)}.command-bar:not(.vertical){grid-auto-flow:column;text-align:center;align-items:center;line-height:3.6rem;height:3.6rem;padding-left:1.5rem;padding-right:1.5rem}.command-bar:not(.vertical):before,.command-bar:not(.vertical):after{width:1rem;top:0;bottom:0}.command-bar:not(.vertical):before{border-radius:.3rem 0 0 .3rem;left:0}.command-bar:not(.vertical):after{border-radius:0 .3rem .3rem 0;right:0}.command-bar:not(.vertical)>.command{height:3.6rem}.command-bar.vertical{grid-auto-flow:row;min-width:12rem;padding-top:1.5rem;padding-bottom:1.5rem}.command-bar.vertical:before,.command-bar.vertical:after{height:1rem;left:0;right:0}.command-bar.vertical:before{border-radius:.3rem .3rem 0 0;top:0}.command-bar.vertical:after{border-radius:0 0 .3rem .3rem;bottom:0}.command-bar.vertical>.command{min-height:3.6rem}.command{box-sizing:border-box;background-color:var(--default-alpha70);box-shadow:0 0 10px 0 rgba(0,0,0,.4)}.command:not(.spacer){min-width:6rem;display:grid;align-items:end;justify-items:end;text-align:end;font-size:1.1rem;border-style:solid;border-color:transparent;border-width:0 0 0 2px;padding:.2rem .4rem}.command:not(.spacer).small{min-width:.5rem}.command:not(.spacer).flash{animation:flash 1s ease-in-out infinite}.command:not(.spacer):focus{border-color:var(--light-alpha70)}.command:not(.spacer):active{background-color:var(--light-alpha70);animation-play-state:paused}.command.spacer{min-width:.5rem}@keyframes flash{50%{background-color:var(--light-alpha70)}}.input{border-radius:.3rem;box-shadow:0 0 10px 0 rgba(0,0,0,.4);outline:none;border:1px solid var(--light-alpha40);color:var(--fg);font-family:inherit;background-color:transparent;transition:border-color .15s ease-in-out;padding:.8rem 1.6rem;margin:.8rem;font-size:1.1rem}.input:focus{border:1px solid var(--light-alpha70)}.input:disabled{opacity:.4;filter:saturate(0.6);cursor:default;pointer-events:none}.spinner{margin:.3rem;display:inline-grid;justify-items:center;align-items:center;width:1em;height:1em;position:relative;box-sizing:border-box;animation:6s .5s rotate ease-in-out alternate infinite}.spinner:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-style:solid;border-width:.05em;border-radius:50%;border-color:var(--light-alpha40) transparent;animation:4s .5s inset1 ease-in-out infinite;box-shadow:0px 12px 10px -12px #000a,0px -12px 10px -12px #000a}.spinner:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-style:solid;border-width:.05em;border-radius:50%;border-color:transparent var(--light-alpha70);animation:4s .5s inset2 ease-in-out infinite;box-shadow:12px 0px 10px -12px #000a,-12px 0px 10px -12px #000a}@keyframes rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes inset1{0%{top:0;left:0;right:0;bottom:0;transform:rotate(0)}12.5%{top:.2em;left:.2em;right:.2em;bottom:.2em;transform:rotate(0)}37.5%{top:.2em;left:.2em;right:.2em;bottom:.2em;transform:rotate(180deg)}50%{top:0;left:0;right:0;bottom:0;transform:rotate(180deg)}100%{top:0;left:0;right:0;bottom:0;transform:rotate(180deg)}}@keyframes inset2{0%{top:0;left:0;right:0;bottom:0;transform:rotate(0)}50%{top:0;left:0;right:0;bottom:0;transform:rotate(0)}62.5%{top:.2em;left:.2em;right:.2em;bottom:.2em;transform:rotate(0)}87.5%{top:.2em;left:.2em;right:.2em;bottom:.2em;transform:rotate(180deg)}100%{top:0;left:0;right:0;bottom:0;transform:rotate(180deg)}}
|
|
1
|
+
html{font-size:14px;font-family:"Open Sans",sans-serif;font-weight:400}@media screen and (max-width: 1199px){html{font-size:12px}}html,body{height:100%;min-height:100%;margin:0;padding:0;background:var(--bg);color:var(--fg)}body{font-size:1rem;-webkit-tap-highlight-color:transparent;box-sizing:border-box;padding:.5rem}h1{font-size:3rem}.command-bar:not(.vertical),h2{font-size:2rem}.tile>header,.panel>header,h3{font-size:1.5rem}.panel>footer.command-bar,h4{font-weight:400;font-size:1.2rem}h1,.command-bar:not(.vertical),h2,.tile>header,.panel>header,h3,.panel>footer.command-bar,h4{font-weight:300;text-shadow:0 0 4px var(--light-alpha40);color:var(--fg)}h1{margin:1rem 0 2rem 0}h1.m-0{margin:0}h2{margin:1rem 0 1.5rem 0}h2.m-0{margin:0}h3{margin:.5rem 0 1.5rem 0}h3.m-0{margin:0}h4{margin:.5rem 0 .5rem 0}h4.m-0{margin:0}.blubb.tile:after,.blubb.tile:before,.tile>footer:after,.panel>footer:after,.tile>footer:before,.panel>footer:before,.tile>header:after,.panel>header:after,.tile>header:before,.panel>header:before{--border-width: 2px;content:"";border-style:solid;border-color:var(--default);position:absolute;height:1rem;width:1rem;z-index:2}.blubb.tile:after,.blubb.tile:before,.tile>footer:after,.panel>footer.light:after,.tile>footer:before,.panel>footer.light:before,.tile>header:after,.panel>header.light:after,.tile>header:before,.panel>header.light:before{--border-width: 1px;border-color:var(--light-alpha40);height:.75rem;width:.75rem}.top-left.blubb.tile:after,.blubb.tile:before,.tile>footer.top-left:after,.panel>footer.top-left:after,.tile>footer.top-left:before,.panel>footer.top-left:before,.tile>header.top-left:after,.panel>header.top-left:after,.tile>header:before,.panel>header:before{border-width:var(--border-width) 0 0 var(--border-width);border-radius:.3rem 0 0 0;left:0;top:0}.top-right.blubb.tile:after,.top-right.blubb.tile:before,.tile>footer.top-right:after,.panel>footer.top-right:after,.tile>footer.top-right:before,.panel>footer.top-right:before,.tile>header:after,.panel>header:after,.tile>header.top-right:before,.panel>header.top-right:before{border-width:var(--border-width) var(--border-width) 0 0;border-radius:0 .3rem 0 0;right:0;top:0}.blubb.tile:after,.bottom-left.blubb.tile:before,.tile>footer.bottom-left:after,.panel>footer.bottom-left:after,.tile>footer:before,.panel>footer:before,.tile>header.bottom-left:after,.panel>header.bottom-left:after,.tile>header.bottom-left:before,.panel>header.bottom-left:before{border-width:0 0 var(--border-width) var(--border-width);border-radius:0 0 0 .3rem;left:0;bottom:0}.bottom-right.blubb.tile:after,.bottom-right.blubb.tile:before,.tile>footer:after,.panel>footer:after,.tile>footer.bottom-right:before,.panel>footer.bottom-right:before,.tile>header.bottom-right:after,.panel>header.bottom-right:after,.tile>header.bottom-right:before,.panel>header.bottom-right:before{border-width:0 var(--border-width) var(--border-width) 0;border-radius:0 0 .3rem 0;right:0;bottom:0}.tile,.panel{background:var(--panel-background);box-shadow:0 0 10px 0 rgba(0,0,0,.4);border-radius:.3rem;display:grid;grid-template-rows:auto 1fr auto;overflow:auto;margin:.5rem}.tile>header,.panel>header{position:relative;padding:.4rem .6rem}.tile>header:empty,.panel>header:empty{padding:.2rem}.tile>article,.panel>article{z-index:1;padding:0 .6rem;overflow:auto}.tile>article::-webkit-scrollbar,.panel>article::-webkit-scrollbar{width:2px;background:transparent}.tile>article::-webkit-scrollbar-thumb,.panel>article::-webkit-scrollbar-thumb{min-width:1rem;border-style:solid;border-color:transparent;border-width:2px 2px 1px 2px;background:var(--default);box-sizing:border-box;background-clip:border-box}.tile>footer,.panel>footer{position:relative;color:var(--footer-color);padding:.4rem .6rem;font-size:.75rem;text-align:right}.tile>footer:empty,.panel>footer:empty{padding:.2rem}.panel>header.command-bar{margin:0;margin-bottom:1rem;padding-top:0;padding-bottom:0}.panel>header.command-bar:before,.panel>header.command-bar:after{border:none;height:auto}.panel>header.command-bar:before{border-radius:.3rem 0 0 0}.panel>header.command-bar:after{border-radius:0 .3rem 0 0}.panel>footer.command-bar{margin:0;margin-top:1rem;padding-top:0;padding-bottom:0;line-height:2rem;height:2rem}.panel>footer.command-bar:before,.panel>footer.command-bar:after{border:none;height:auto}.panel>footer.command-bar:before{border-radius:0 0 0 .3rem}.panel>footer.command-bar:after{border-radius:0 0 .3rem 0}.panel>footer.command-bar>.command{height:2rem;font-size:.9rem}.blubb.tile:after,.blubb.tile:before,.tile>header:before,.tile>header:after,.tile>footer:before,.tile>footer:after,.panel>header:before,.panel>header:after,.panel>footer:before,.panel>footer:after{--border-width: 2px;content:"";border-style:solid;border-color:var(--default);position:absolute;height:1rem;width:1rem;z-index:2}.blubb.tile:after,.blubb.tile:before,.tile>header:before,.tile>header:after,.tile>footer:before,.tile>footer:after,.panel>header.light:before,.panel>header.light:after,.panel>footer.light:before,.panel>footer.light:after{--border-width: 1px;border-color:var(--light-alpha40);height:.75rem;width:.75rem}.top-left.blubb.tile:after,.blubb.tile:before,.tile>header.top-left:after,.tile>footer.top-left:before,.tile>footer.top-left:after,.panel>header.top-left:after,.panel>footer.top-left:before,.panel>footer.top-left:after,.tile>header:before,.panel>header:before{border-width:var(--border-width) 0 0 var(--border-width);border-radius:.3rem 0 0 0;left:0;top:0}.top-right.blubb.tile:after,.top-right.blubb.tile:before,.tile>header.top-right:before,.tile>footer.top-right:before,.tile>footer.top-right:after,.panel>header.top-right:before,.panel>footer.top-right:before,.panel>footer.top-right:after,.tile>header:after,.panel>header:after{border-width:var(--border-width) var(--border-width) 0 0;border-radius:0 .3rem 0 0;right:0;top:0}.blubb.tile:after,.bottom-left.blubb.tile:before,.tile>header.bottom-left:before,.tile>header.bottom-left:after,.tile>footer.bottom-left:after,.panel>header.bottom-left:before,.panel>header.bottom-left:after,.panel>footer.bottom-left:after,.tile>footer:before,.panel>footer:before{border-width:0 0 var(--border-width) var(--border-width);border-radius:0 0 0 .3rem;left:0;bottom:0}.bottom-right.blubb.tile:after,.bottom-right.blubb.tile:before,.tile>header.bottom-right:before,.tile>header.bottom-right:after,.tile>footer.bottom-right:before,.panel>header.bottom-right:before,.panel>header.bottom-right:after,.panel>footer.bottom-right:before,.tile>footer:after,.panel>footer:after{border-width:0 var(--border-width) var(--border-width) 0;border-radius:0 0 .3rem 0;right:0;bottom:0}.tile{background:var(--tile-background);margin:.8rem}.tile>article{color:var(--fg)}.tile.inset{box-shadow:inset 0 0 10px 0 rgba(0,0,0,.4)}.tile.inset>header{text-shadow:none}.tile.inset>header:before,.tile.inset>header:after{opacity:.6}.tile.inset footer:before,.tile.inset footer:after{opacity:.6}.blubb.tile{display:inline-grid;align-items:stretch;grid-template-columns:1fr auto;position:relative}.blubb.tile>article{padding:.8rem;font-size:1.2rem}.blubb.tile>aside{display:grid;grid-auto-flow:column;column-gap:.5rem}.blubb.tile>aside>.command{min-width:2.5rem}.blubb.tile>aside>.command:last-of-type{border-radius:0 .3rem .3rem 0}.command:not(.spacer),.button{overflow:hidden;outline:none;color:var(--fg);font-family:inherit;cursor:pointer;user-select:none;vertical-align:middle;transition:border-color .15s ease-in-out,background-color .15s ease-in-out}.command:disabled:not(.spacer),.button:disabled{opacity:.4;filter:saturate(0.6);cursor:default;pointer-events:none}.button{white-space:nowrap;text-overflow:ellipsis;border-radius:.3rem;box-shadow:0 0 10px 0 rgba(0,0,0,.4);border:1px solid var(--light-alpha40);background-color:transparent;min-height:min-content;min-width:8rem;padding:.8rem 1.6rem;margin:.8rem;font-size:1.1rem}.button.small{min-width:0;padding:.8rem}.button.fill{background-color:var(--default)}.button:focus{border:1px solid var(--light-alpha70)}.button:active{background-color:var(--light);border:1px solid var(--default-alpha40)}.command-bar{position:relative;display:grid;gap:.5rem;margin:.5rem}.command-bar:before,.command-bar:after{box-shadow:0 0 10px 0 rgba(0,0,0,.4);position:absolute;content:"";background:var(--default-alpha70)}.command-bar:not(.vertical){grid-auto-flow:column;text-align:center;align-items:center;line-height:3.6rem;height:3.6rem;padding-left:1.5rem;padding-right:1.5rem}.command-bar:not(.vertical):before,.command-bar:not(.vertical):after{width:1rem;top:0;bottom:0}.command-bar:not(.vertical):before{border-radius:.3rem 0 0 .3rem;left:0}.command-bar:not(.vertical):after{border-radius:0 .3rem .3rem 0;right:0}.command-bar:not(.vertical)>.command{height:3.6rem}.command-bar.vertical{grid-auto-flow:row;min-width:12rem;padding-top:1.5rem;padding-bottom:1.5rem}.command-bar.vertical:before,.command-bar.vertical:after{height:1rem;left:0;right:0}.command-bar.vertical:before{border-radius:.3rem .3rem 0 0;top:0}.command-bar.vertical:after{border-radius:0 0 .3rem .3rem;bottom:0}.command-bar.vertical>.command{min-height:3.6rem}.command{box-sizing:border-box;background-color:var(--default-alpha70);box-shadow:0 0 10px 0 rgba(0,0,0,.4)}.command:not(.spacer){min-width:6rem;display:grid;align-items:end;justify-items:end;text-align:end;font-size:1.1rem;border-style:solid;border-color:transparent;border-width:0 0 0 2px;padding:.2rem .4rem}.command:not(.spacer).small{min-width:.5rem}.command:not(.spacer).flash{animation:flash 1s ease-in-out infinite}.command:not(.spacer):focus{border-color:var(--light-alpha70)}.command:not(.spacer):active{background-color:var(--light-alpha70);animation-play-state:paused}.command.spacer{min-width:.5rem}@keyframes flash{50%{background-color:var(--light-alpha70)}}.input{border-radius:.3rem;box-shadow:0 0 10px 0 rgba(0,0,0,.4);outline:none;border:1px solid var(--light-alpha40);color:var(--fg);font-family:inherit;background-color:transparent;transition:border-color .15s ease-in-out;padding:.8rem 1.6rem;margin:.8rem;font-size:1.1rem}.input:focus{border:1px solid var(--light-alpha70)}.input:disabled{opacity:.4;filter:saturate(0.6);cursor:default;pointer-events:none}.spinner{margin:.3rem;display:inline-grid;justify-items:center;align-items:center;width:1em;height:1em;position:relative;box-sizing:border-box;animation:6s .5s rotate ease-in-out alternate infinite}.spinner:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-style:solid;border-width:.05em;border-radius:50%;border-color:var(--light-alpha40) transparent;animation:4s .5s inset1 ease-in-out infinite;box-shadow:0px 12px 10px -12px #000a,0px -12px 10px -12px #000a}.spinner:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;border-style:solid;border-width:.05em;border-radius:50%;border-color:transparent var(--light-alpha70);animation:4s .5s inset2 ease-in-out infinite;box-shadow:12px 0px 10px -12px #000a,-12px 0px 10px -12px #000a}@keyframes rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes inset1{0%{top:0;left:0;right:0;bottom:0;transform:rotate(0)}12.5%{top:.2em;left:.2em;right:.2em;bottom:.2em;transform:rotate(0)}37.5%{top:.2em;left:.2em;right:.2em;bottom:.2em;transform:rotate(180deg)}50%{top:0;left:0;right:0;bottom:0;transform:rotate(180deg)}100%{top:0;left:0;right:0;bottom:0;transform:rotate(180deg)}}@keyframes inset2{0%{top:0;left:0;right:0;bottom:0;transform:rotate(0)}50%{top:0;left:0;right:0;bottom:0;transform:rotate(0)}62.5%{top:.2em;left:.2em;right:.2em;bottom:.2em;transform:rotate(0)}87.5%{top:.2em;left:.2em;right:.2em;bottom:.2em;transform:rotate(180deg)}100%{top:0;left:0;right:0;bottom:0;transform:rotate(180deg)}}
|
package/index.html
CHANGED
|
@@ -71,35 +71,9 @@
|
|
|
71
71
|
<article style="display: grid; grid-auto-rows: max-content">
|
|
72
72
|
<div class="panel">
|
|
73
73
|
<header>Lab</header>
|
|
74
|
-
<article
|
|
75
|
-
<div class="blubb">
|
|
76
|
-
<
|
|
77
|
-
<header></header>
|
|
78
|
-
<article>Tile Content</article>
|
|
79
|
-
<footer></footer>
|
|
80
|
-
</div>
|
|
81
|
-
<aside>
|
|
82
|
-
<button class="command shade2"></button>
|
|
83
|
-
<button style="width: 4rem" class="command"></button>
|
|
84
|
-
</aside>
|
|
85
|
-
</div>
|
|
86
|
-
<div class="blubb">
|
|
87
|
-
<div class="tile">
|
|
88
|
-
<header></header>
|
|
89
|
-
<article>Tile Content</article>
|
|
90
|
-
<footer></footer>
|
|
91
|
-
</div>
|
|
92
|
-
<aside>
|
|
93
|
-
<button class="command shade2"></button>
|
|
94
|
-
<button style="width: 4rem" class="command"></button>
|
|
95
|
-
</aside>
|
|
96
|
-
</div>
|
|
97
|
-
<div class="blubb">
|
|
98
|
-
<div class="tile">
|
|
99
|
-
<header></header>
|
|
100
|
-
<article>Tile Content</article>
|
|
101
|
-
<footer></footer>
|
|
102
|
-
</div>
|
|
74
|
+
<article>
|
|
75
|
+
<div class="tile blubb">
|
|
76
|
+
<article>Tile Content</article>
|
|
103
77
|
<aside>
|
|
104
78
|
<button class="command shade2"></button>
|
|
105
79
|
<button style="width: 4rem" class="command"></button>
|
package/package.json
CHANGED
package/scss/_corner.scss
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
%corner {
|
|
2
|
+
--border-width: 2px;
|
|
3
|
+
|
|
2
4
|
content: "";
|
|
3
5
|
border-style: solid;
|
|
4
6
|
border-color: var(--default);
|
|
@@ -6,11 +8,40 @@
|
|
|
6
8
|
height: 1rem;
|
|
7
9
|
width: 1rem;
|
|
8
10
|
z-index: 2;
|
|
9
|
-
}
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
&.light {
|
|
13
|
+
--border-width: 1px;
|
|
14
|
+
|
|
15
|
+
border-color: var(--light-alpha40);
|
|
16
|
+
height: 0.75rem;
|
|
17
|
+
width: 0.75rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&.top-left {
|
|
21
|
+
border-width: var(--border-width) 0 0 var(--border-width);
|
|
22
|
+
border-radius: 0.3rem 0 0 0;
|
|
23
|
+
left: 0;
|
|
24
|
+
top: 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.top-right {
|
|
28
|
+
border-width: var(--border-width) var(--border-width) 0 0;
|
|
29
|
+
border-radius: 0 0.3rem 0 0;
|
|
30
|
+
right: 0;
|
|
31
|
+
top: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.bottom-left {
|
|
35
|
+
border-width: 0 0 var(--border-width) var(--border-width);
|
|
36
|
+
border-radius: 0 0 0 0.3rem;
|
|
37
|
+
left: 0;
|
|
38
|
+
bottom: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.bottom-right {
|
|
42
|
+
border-width: 0 var(--border-width) var(--border-width) 0;
|
|
43
|
+
border-radius: 0 0 0.3rem 0;
|
|
44
|
+
right: 0;
|
|
45
|
+
bottom: 0;
|
|
46
|
+
}
|
|
16
47
|
}
|
package/scss/_panel.scss
CHANGED
|
@@ -15,18 +15,10 @@
|
|
|
15
15
|
padding: 0.4rem 0.6rem;
|
|
16
16
|
|
|
17
17
|
&:before {
|
|
18
|
-
@extend %corner;
|
|
19
|
-
border-width: 2px 0 0 2px;
|
|
20
|
-
border-radius: 0.3rem 0 0 0;
|
|
21
|
-
left: 0;
|
|
22
|
-
top: 0;
|
|
18
|
+
@extend %corner, .top-left;
|
|
23
19
|
}
|
|
24
20
|
&:after {
|
|
25
|
-
@extend %corner;
|
|
26
|
-
border-width: 2px 2px 0 0;
|
|
27
|
-
border-radius: 0 0.3rem 0 0;
|
|
28
|
-
right: 0;
|
|
29
|
-
top: 0;
|
|
21
|
+
@extend %corner, .top-right;
|
|
30
22
|
}
|
|
31
23
|
|
|
32
24
|
&:empty {
|
|
@@ -62,18 +54,10 @@
|
|
|
62
54
|
text-align: right;
|
|
63
55
|
|
|
64
56
|
&:before {
|
|
65
|
-
@extend %corner;
|
|
66
|
-
border-width: 0 0 2px 2px;
|
|
67
|
-
border-radius: 0 0 0 0.3rem;
|
|
68
|
-
left: 0;
|
|
69
|
-
bottom: 0;
|
|
57
|
+
@extend %corner, .bottom-left;
|
|
70
58
|
}
|
|
71
59
|
&:after {
|
|
72
|
-
@extend %corner;
|
|
73
|
-
border-width: 0 2px 2px 0;
|
|
74
|
-
border-radius: 0 0 0.3rem 0;
|
|
75
|
-
right: 0;
|
|
76
|
-
bottom: 0;
|
|
60
|
+
@extend %corner, .bottom-right;
|
|
77
61
|
}
|
|
78
62
|
|
|
79
63
|
&:empty {
|
package/scss/_tile.scss
CHANGED
|
@@ -7,12 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
> header {
|
|
9
9
|
&:before {
|
|
10
|
-
@extend
|
|
11
|
-
border-width: 1px 0 0 1px;
|
|
10
|
+
@extend .light;
|
|
12
11
|
}
|
|
13
12
|
&:after {
|
|
14
|
-
@extend
|
|
15
|
-
border-width: 1px 1px 0 0;
|
|
13
|
+
@extend .light;
|
|
16
14
|
}
|
|
17
15
|
}
|
|
18
16
|
|
|
@@ -22,12 +20,10 @@
|
|
|
22
20
|
|
|
23
21
|
> footer {
|
|
24
22
|
&:before {
|
|
25
|
-
@extend
|
|
26
|
-
border-width: 0 0 1px 1px;
|
|
23
|
+
@extend .light;
|
|
27
24
|
}
|
|
28
25
|
&:after {
|
|
29
|
-
@extend
|
|
30
|
-
border-width: 0 1px 1px 0;
|
|
26
|
+
@extend .light;
|
|
31
27
|
}
|
|
32
28
|
}
|
|
33
29
|
|
|
@@ -52,46 +48,37 @@
|
|
|
52
48
|
}
|
|
53
49
|
|
|
54
50
|
.blubb {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
column-gap: 0.3rem;
|
|
51
|
+
&.tile {
|
|
52
|
+
display: inline-grid;
|
|
53
|
+
align-items: stretch;
|
|
54
|
+
grid-template-columns: 1fr auto;
|
|
55
|
+
position: relative;
|
|
61
56
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
&:before {
|
|
58
|
+
@extend %corner, .light, .top-left;
|
|
59
|
+
}
|
|
65
60
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
border: none;
|
|
69
|
-
}
|
|
61
|
+
&:after {
|
|
62
|
+
@extend %corner, .light, .bottom-left;
|
|
70
63
|
}
|
|
71
64
|
|
|
72
65
|
> article {
|
|
73
|
-
padding: 0.
|
|
66
|
+
padding: 0.8rem;
|
|
74
67
|
font-size: 1.2rem;
|
|
75
68
|
}
|
|
76
69
|
|
|
77
|
-
>
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
> aside {
|
|
85
|
-
display: grid;
|
|
86
|
-
grid-auto-flow: column;
|
|
87
|
-
column-gap: 0.3rem;
|
|
70
|
+
> aside {
|
|
71
|
+
display: grid;
|
|
72
|
+
grid-auto-flow: column;
|
|
73
|
+
column-gap: 0.5rem;
|
|
88
74
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
75
|
+
> .command {
|
|
76
|
+
//background-color: var(--default-alpha40);
|
|
77
|
+
min-width: 2.5rem;
|
|
92
78
|
|
|
93
|
-
|
|
94
|
-
|
|
79
|
+
&:last-of-type {
|
|
80
|
+
border-radius: 0 0.3rem 0.3rem 0;
|
|
81
|
+
}
|
|
95
82
|
}
|
|
96
83
|
}
|
|
97
84
|
}
|