
Security News
Static vs. Runtime Reachability: Insights from Latio’s On the Record Podcast
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
CSS framework for desktop web-apps
The style layout.css
contains the common layout styles, especially the flexbox styles. To create
an iTunes like interface with an action bar, a scrolling sidebar with a list of sources, and a primary table view,
and a status bar; use a nested set of hboxes and vboxes like this:
<div class='fill vbox'>
<!-- action bar -->
<div class='hbox'>
<button>play</button>
<label>song name</label>
<span class='grow'></span> <!-- spacer -->
<input type='search' placeholder='search for songs'/>
</div>
<!-- the middle section. takes up most of the space -->
<div class='hbox grow'>
<!-- sources pane -->
<div class='vbox'>
<h3>sources</h3>
<div class='scroll grow'>
<ul>
<li>All songs</li>
<li>Artists</li>
<li>Albums</li>
<li>Genres</li>
</ul>
</div>
</div>
<!-- main table view -->
<div class='grow scroll'>
<table>
<tbody>
.... table of songs
</tbody>
</table>
</div>
</div>
<!-- the status bar -->
<div class='hbox'>
<label>Songs in library: 23,000</label>
</div>
</div>
Primary layout classes, import src/layout.css
hbox
creates a horizontal box. By default everything is aligned to the leftvbox
creates a vertical box. by default everything is aligned to the topgrow
makes the element take up all extra space from it's siblings. ex: list takes up all space, but header and footer are still visible. ex: toolbar with invisible spacers to take up extra space and force some buttons to the right.scroll
makes the element scroll it's content. if you want to have a scrolling list, put scroll
on the parent container of the list.fill
makes the element be absolutely positioned and take all space. Generally used only for the top level container.debug
gives the element a 1px red borderhidden
sets display none. good for conditionally hiding elements.You can make a great number of layouts with just these basics.
FAQs
CSS framework for desktop-style web-apps
The npm package appy-style receives a total of 1 weekly downloads. As such, appy-style popularity was classified as not popular.
We found that appy-style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.