Publish Vulpes Preview 15 sources for desktop, Android and Tundra

Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
OverSu 2026-09-30 23:13:03 +02:00
commit b38dea0597
25901 changed files with 9982925 additions and 369 deletions

View file

@ -0,0 +1,265 @@
/* ----------------------------------
* Confirm
* ---------------------------------- */
/* Main dialog setup */
form[role="dialog"][data-type="confirm"] {
background: #2d2d2d;
overflow: hidden;
position: absolute;
z-index: 100;
top: 0;
left: 0;
right: 0;
bottom: 0;
padding-bottom: 7rem;
font-size: 0;
/* Using font-size: 0; we avoid the unwanted visual space (about 3px)
created by white-spaces and break lines in the code betewen inline-block elements */
color: #fff;
}
html[dir="ltr"] form[role="dialog"][data-type="confirm"] { text-align: left; }
html[dir="rtl"] form[role="dialog"][data-type="confirm"] { text-align: right; }
form[role="dialog"][data-type="confirm"]:before {
content: "";
display: inline-block;
vertical-align: middle;
width: 0.1rem;
height: 100%;
margin-inline-start: -0.1rem;
}
form[role="dialog"][data-type="confirm"] > section {
font-weight: 300;
font-size: 2.2rem;
color: #FAFAFA;
padding: 0 1.5rem;
box-sizing: padding-box;
width: 100%;
display: inline-block;
overflow-y: scroll;
max-height: 100%;
vertical-align: middle;
white-space: normal;
}
form[role="dialog"][data-type="confirm"] h1 {
font-weight: normal;
font-size: 1.6rem;
line-height: 1.5em;
color: #fff;
margin: 0;
padding: 1rem 1.5rem 0;
word-wrap: break-word;
}
/* Menu & buttons setup */
form[role="dialog"][data-type="confirm"] menu {
white-space: nowrap;
margin: 0;
padding: 1.5rem;
background: #4d4d4d;
display: flex;
overflow: hidden;
position: absolute;
left: 0;
right: 0;
bottom: 0;
}
form[role="dialog"][data-type="confirm"] menu button::-moz-focus-inner {
border: none;
outline: none;
margin-top: -0.2rem; /* To fix line-height bug (697451) */
}
form[role="dialog"][data-type="confirm"] menu button {
font-family: sans-serif;
font-style: italic;
width: 100%;
height: 4rem;
margin: 0 0 1rem;
padding: 0 0.2rem;
box-sizing: border-box;
display: inline-block;
vertical-align: middle;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
background: #d8d8d8;
border: none;
border-radius: 2rem;
font-weight: normal;
font-size: 1.6rem;
line-height: 4rem;
color: #333;
text-align: center;
text-shadow: none;
text-decoration: none;
outline: none;
}
/* Recommend */
form[role="dialog"][data-type="confirm"] menu button.recommend {
background-color: #00caf2;
color: #fff;
}
/* Danger */
form[role="dialog"][data-type="confirm"] menu button.danger {
background-color: #e51e1e;
color: #fff;
}
/* Pressed */
form[role="dialog"][data-type="confirm"] menu button:active {
background: #00aacc;
color: #fff;
}
/* Disabled */
form[role="dialog"][data-type="confirm"] > menu > button[disabled] {
background-color: #565656;
color: rgba(255,255,255,0.4);
pointer-events: none;
}
form[role="dialog"][data-type="confirm"] > menu > button[disabled].recommend {
background-color: #006579;
}
form[role="dialog"][data-type="confirm"] > menu > button[disabled].danger {
background-color: #730f0f;
}
button[disabled]::-moz-selection {
-moz-user-select: none;
}
form[role="dialog"][data-type="confirm"] menu button {
margin: 0;
margin-inline-end: 1rem;
}
form[role="dialog"][data-type="confirm"] menu button:last-child {
margin-inline-end: 0;
}
/*
** Specific component code
**
** 1. Text in confirm dialog should not be selectable.
*/
form[role="dialog"][data-type="confirm"] p:nth-child(2) {
margin: 1rem 0 0;
overflow: hidden;
}
form[role="dialog"][data-type="confirm"] p {
word-wrap: break-word;
margin: 0;
padding: 1rem 1.5rem;
border-top: 0.1rem solid #686868;
line-height: 3rem;
-moz-user-select: none; /* 1 */
}
form[role="dialog"][data-type="confirm"] p > span {
font-size: 1.5rem;
display: block;
line-height: 1.7rem;
color: rgba(255,255,255,0.6);
}
form[role="dialog"][data-type="confirm"] p img {
margin-inline-end: 2rem;
}
html[dir="ltr"] form[role="dialog"][data-type="confirm"] p img { float: left; }
html[dir="rtl"] form[role="dialog"][data-type="confirm"] p img { float: right; }
form[role="dialog"][data-type="confirm"] p strong {
display: block;
margin-top: 0.2rem;
font-weight: 300;
}
form[role="dialog"][data-type="confirm"] p small {
font-size: 1.4rem;
font-weight: normal;
color: #cbcbcb;
display: block;
}
form[role="dialog"][data-type="confirm"] dl {
border-top: 0.1rem solid #686868;
margin: 1rem 0 0;
overflow: hidden;
padding-top: 1rem;
font-size: 1.6rem;
line-height: 2.2rem;
}
form[role="dialog"][data-type="confirm"] dl > dt {
clear: both;
width: 7rem;
padding-inline-start: 1.5rem;
font-weight: 500;
text-align: left;
}
html[dir="ltr"] form[role="dialog"][data-type="confirm"] dl > dt { float: left; }
html[dir="rtl"] form[role="dialog"][data-type="confirm"] dl > dt { float: right; text-align: right; }
form[role="dialog"][data-type="confirm"] dl > dd {
padding-inline-end: 1.5rem;
font-weight: 300;
text-overflow: ellipsis;
vertical-align: top;
overflow: hidden;
}
form[role="dialog"][data-type="confirm"] dl > dd > div {
text-overflow: ellipsis;
overflow: hidden;
}
form[role="dialog"][data-type="confirm"] figure {
margin: 1.5rem;
display: flex;
align-items: center;
}
form[role="dialog"][data-type="confirm"] figure img {
padding-inline-end: 1.5rem;
flex-shrink: 0;
}
form[role="dialog"][data-type="confirm"] figure figcaption {
font-size: 2.1rem;
font-weight: 300;
}
form[role="dialog"][data-type="confirm"] ul {
margin: 0;
padding: 2rem 1.5rem;
border-top: 0.1rem solid #686868;
list-style: none;
font-size: 1.6rem;
font-weight: normal;
}
form[role="dialog"][data-type="confirm"] ul li {
word-wrap: break-word;
line-height: 2rem;
padding-bottom: 1.5rem;
}
form[role="dialog"][data-type="confirm"] ul li:last-child {
padding-bottom: 0;
}
form[role="dialog"][data-type="confirm"] ul li ul {
border: none;
margin: 0;
padding: 0;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View file

@ -0,0 +1,65 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Confirm</title>
<meta name="description" content="Prompts user to take action">
<link rel="stylesheet" href="../confirm.css">
<!--
- These <style> and <script> elements are only used for the example code;
- they are not required for the real use case.
-->
<style type="text/css">
html, body {
font-family: sans-serif;
margin: 0;
padding: 0;
font-size: 10px;
background-color: #fff;
}
body {
background: none;
}
#dir {
position: relative;
z-index: 999;
display: block;
direction: ltr;
background-color: white;
}
#dir input {
vertical-align: middle;
}
</style>
<script>
window.onload = function(){
var input = document.querySelector('#dir input');
input.checked = false;
input.onchange = function() {
document.documentElement.dir = this.checked ? 'rtl' : 'ltr';
};
};
</script>
</head>
<body role="application">
<label id="dir">
<input type="checkbox"> RTL mode
</label>
<form role="dialog" data-type="confirm">
<section>
<h1>Confirmation</h1>
<p>Are you sure you want to delete this contact?</p>
</section>
<menu>
<button>Cancel</button>
<button class="danger">Delete</button>
</menu>
</form>
</body>
</html>

View file

@ -0,0 +1,65 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Confirm</title>
<meta name="description" content="Prompts user to take action">
<link rel="stylesheet" href="../confirm.css">
<!--
- These <style> and <script> elements are only used for the example code;
- they are not required for the real use case.
-->
<style type="text/css">
html, body {
font-family: sans-serif;
margin: 0;
padding: 0;
font-size: 10px;
background-color: #fff;
}
body {
background: none;
}
#dir {
position: relative;
z-index: 999;
display: block;
direction: ltr;
background-color: white;
}
#dir input {
vertical-align: middle;
}
</style>
<script>
window.onload = function(){
var input = document.querySelector('#dir input');
input.checked = false;
input.onchange = function() {
document.documentElement.dir = this.checked ? 'rtl' : 'ltr';
};
};
</script>
</head>
<body role="application">
<label id="dir">
<input type="checkbox"> RTL mode
</label>
<form role="dialog" data-type="confirm">
<section>
<h1>Confirmation</h1>
<p dir="auto">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
</section>
<menu>
<button>Cancel</button>
<button class="danger">Delete</button>
</menu>
</form>
</body>
</html>

View file

@ -0,0 +1,64 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Confirm, w/o title</title>
<meta name="description" content="Prompts user to take action">
<link rel="stylesheet" href="../confirm.css">
<!--
- These <style> and <script> elements are only used for the example code;
- they are not required for the real use case.
-->
<style type="text/css">
html, body {
font-family: sans-serif;
margin: 0;
padding: 0;
font-size: 10px;
background-color: #fff;
}
body {
background: none;
}
#dir {
position: relative;
z-index: 999;
display: block;
direction: ltr;
background-color: white;
}
#dir input {
vertical-align: middle;
}
</style>
<script>
window.onload = function(){
var input = document.querySelector('#dir input');
input.checked = false;
input.onchange = function() {
document.documentElement.dir = this.checked ? 'rtl' : 'ltr';
};
};
</script>
</head>
<body role="application">
<label id="dir">
<input type="checkbox"> RTL mode
</label>
<form role="dialog" data-type="confirm">
<section>
<p dir="auto">Are you sure you want to delete this contact?</p>
</section>
<menu>
<button>Cancel</button>
<button class="danger">Delete</button>
</menu>
</form>
</body>
</html>

View file

@ -0,0 +1,242 @@
/* ----------------------------------
* Lists
* ---------------------------------- */
[data-type="list"] {
font-weight: 400;
padding: 0 1.5rem;
}
[data-type="list"] ul {
list-style: none;
margin: 0;
padding: 0;
overflow: hidden;
}
[data-type="list"] strong {
font-weight: 500;
}
/* Title divisors */
[data-type="list"] header {
padding: 0 1.5rem;
margin: 0;
font-size: 1.6rem;
height: 3rem;
line-height: 4rem;
font-weight: normal;
color: #ff4e00;
text-transform: uppercase;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
html[dir="ltr"] [data-type="list"] header { text-align: left; }
html[dir="rtl"] [data-type="list"] header { text-align: right; }
/* List items */
[data-type="list"] li {
width: 100%;
height: 6rem;
box-sizing: border-box;
border-bottom: solid 0.1rem #e7e7e7;
color: #333;
margin: 0;
display: block;
position: relative;
}
[data-type="list"] li:last-child {
border: none;
}
/* Pressed State */
li a:active {
background-color: transparent; /* remove default color for active state */
}
[data-type="list"] li > a {
text-decoration: none;
color: #333;
display: block;
height: 6rem;
position: relative;
border: none;
outline: none;
}
[data-type="list"].active li:after,
[data-type="list"] li > a:after {
content: "";
pointer-events: none;
position: absolute;
left: -1.5rem;
top: 0;
right: -1.5rem;
bottom: 0;
}
[data-type="list"].active li:active:after,
[data-type="list"] li > a:active:after {
background-color: rgba(0,213,255,0.3);
}
/* Disabled */
[data-type="list"] li[aria-disabled="true"] {
pointer-events: none;
opacity: 0.2;
border-color: #888;
}
/* Graphic content */
[data-type="list"] aside {
margin: 0;
margin-inline-end: 0.5rem;
height: 100%;
position: relative;
}
html[dir="ltr"] [data-type="list"] aside { float: left; }
html[dir="rtl"] [data-type="list"] aside { float: right; }
[data-type="list"] li > a aside,
[data-type="list"] li > a aside.icon {
background-color: transparent;
}
[data-type="list"] aside.pack-end {
margin: 0;
margin-inline-start: 0.5rem;
text-align: end;
}
html[dir="ltr"] [data-type="list"] aside.pack-end { float: right; }
html[dir="rtl"] [data-type="list"] aside.pack-end { float: left; }
[data-type="list"] aside.icon {
width: 3rem;
height: 6rem;
background-color: #fff;
background-repeat: no-repeat;
background-size: 100% auto;
font-size: 0;
display: block;
overflow: hidden;
}
html[dir="ltr"] [data-type="list"] aside.icon {
background-position: left center;
}
html[dir="rtl"] [data-type="list"] aside.icon {
background-position: right center;
}
[data-type="list"] aside span[data-type=img],
[data-type="list"] aside img {
display: block;
overflow: hidden;
width: 5rem;
height: 5rem;
border-radius: 2.5rem;
margin-top: 0.5rem;
box-sizing: border-box;
background: transparent center center / cover;
position: relative;
}
[data-type="list"] [data-icon] {
font-size: 0;
}
[data-type="list"] [data-icon]:before {
line-height: 6rem;
text-align: center;
width: 3rem;
color: #333;
}
/* Text content */
[data-type="list"] li p {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
border: none;
display: block;
margin: 0;
color: #858585;
font-size: 1.5rem;
line-height: 2rem;
}
[data-type="list"] li p:first-of-type {
font-size: 1.8rem;
line-height: 2.2rem;
color: #333;
padding: 1rem 0 0;
}
[data-type="list"] li p:only-child,
[data-type="list"] li p:first-of-type:last-of-type {
line-height: 4rem;
}
[data-type="list"] li p em {
font-size: 1.5rem;
font-style: normal;
}
[data-type="list"] li p time {
margin-inline-end: 0.3rem;
text-transform: uppercase;
}
/* Checkable content */
[data-type="list"] li > .pack-checkbox,
[data-type="list"] li > .pack-switch {
pointer-events: none;
position: absolute;
top: -0.1rem;
bottom: 0;
/* Intentionally adding a conflict between right/left here: this will be
* resolved differently whether we're in LTR or RTL mode. */
right: -4rem;
left: -4rem;
width: calc(100% + 4rem);
height: auto;
}
[data-type="list"] li > .pack-checkbox input ~ span:after,
[data-type="list"] li > .pack-switch input ~ span:after {
/* because width is set in switches.css, the conflict between left/right will
* be resolved in favor of "left" in LTR and "right" in RTL */
left: 0;
right: 0;
margin-inline-start: 0;
}
/* Edit mode */
[data-type="list"] [data-type="edit"] li {
padding-inline-start: 4rem;
}
[data-type="list"] [data-type="edit"] li > .pack-checkbox,
[data-type="list"] [data-type="edit"] li > .pack-switch {
pointer-events: auto;
left: 0;
right: 0;
}
[data-type="list"] [data-type="edit"] li > a {
pointer-events: none;
}
[data-type="list"] [data-type="edit"] li > a:active:after,
[data-type="list"] [data-type="edit"] li > a:hover:after {
display: none;
}
[data-type="list"] [data-type="edit"] aside.pack-end {
display: none;
}
/* Themes */
.skin-comms [data-type="list"] header {
color: #4997a7;
}

View file

@ -0,0 +1,209 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Lists</title>
<meta name="description" content="Displaying an enumeration of a set of items ">
<link rel="stylesheet" href="../lists.css">
<!--
- These <style>, <script> and <link> elements are only used for the example
- code, they are not needed for the real case.
-->
<link rel="stylesheet" href="../../style/headers.css">
<link rel="stylesheet" href="../../style/switches.css">
<link rel="stylesheet" href="../../style/buttons.css">
<link rel="stylesheet" href="../../elements/gaia-icons/gaia-icons-embedded.css">
<link rel="stylesheet" href="../../elements/gaia-icons/bidi-helper.css">
<style>
html, body {
margin: 0;
padding: 0;
font-size: 10px;
background-color: #fff;
}
body {
background: none;
}
h2.pack-docs {
font-size: 1.8rem;
font-weight: 300;
color: #666;
margin: -1px 0 0;
background-color: #f5f5f5;
padding: 0.4rem 0.4rem 0.4rem 3rem;
border: solid 1px #e8e8e8;
}
h2.pack-docs:first-child {
margin-top: 0;
}
[data-type="list"] li img[alt="placeholder"] {
background: #ccc url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNS4wLjIsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHdpZHRoPSI1MHB4IiBoZWlnaHQ9IjUwcHgiIHZpZXdCb3g9IjAgMCA1MCA1MCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgNTAgNTAiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIwIiB5MT0iMCIgeDI9IjUwIiB5Mj0iNTAiLz4NCjxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNTAiIHkxPSIwIiB4Mj0iMC4wODIiIHkyPSI0OS45MTkiLz4NCjwvc3ZnPg0K);
background-size: 100% 100%;
font-size: 0;
}
[data-icon]:before {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
[data-type="list"] [data-icon="forward"]:before {
color: #686f72;
}
#settings-list { background-color: #eff0eb; }
#settings-list li { border-color: #dcdcdc; }
#settings-list button { max-width: 8rem; margin: 1rem 1rem 0 0; }
#settings-list aside label { margin: 0 1rem 0 0; height: 100%; }
#settings-list > header h2 { margin: 0 1.5rem; }
</style>
<script>
window.onload = function() {
var dirInput = document.getElementById('dir');
dirInput.checked = false;
dirInput.onchange = function() {
document.documentElement.dir = this.checked ? "rtl" : "ltr";
};
};
</script>
</head>
<body role="application">
<p dir="ltr">
<label class="bb-docs">
<input id="dir" type="checkbox"> RTL mode
</label>
</p>
<section data-type="list">
<header>Title</header>
<ul>
<li>
<p>Margherita <strong>Gomez</strong></p>
</li>
<li>
<a href="#">
<aside class="pack-end" data-icon="forward" data-l10n-id="" aria-label="forward"></aside>
<p>Margherita Clickable <strong>Gomez</strong></p>
</a>
</li>
<li>
<aside class="pack-end">
<img alt="placeholder" src="myimage.jpg">
</aside>
<a href="#">
<p>Margherita <strong>Gomez</strong></p>
<p>Family</p>
</a>
</li>
</ul>
<header>Another title</header>
<ul>
<li aria-disabled="true">
<aside class="pack-end">
<img alt="placeholder" src="myimage.jpg">
</aside>
<a href="#">
<p>Margherita <strong>Gomez</strong></p>
<p>Family</p>
</a>
</li>
<li>
<aside class="pack-end icon icon-nopic"></aside>
<a href="#">
<aside data-icon="call-outgoing" data-l10n-id="" aria-label="outgoing call">
asidecall
</aside>
<p dir="auto">
Margherita <strong>Gomez</strong>
<em>(2)</em>
</p>
<p>
<time datetime="17:43">5:43PM</time>
Mobile, Vivo
</p>
</a>
</li>
</ul>
</section>
<section data-type="list">
<header>Edit mode</header>
<ul data-type="edit">
<li>
<label class="pack-checkbox danger">
<input type="checkbox">
<span></span>
</label>
<aside class="pack-end">
<img alt="placeholder" src="myimage.jpg">
</aside>
<a href="#">
<p>Margherita <strong>Gomez</strong></p>
<p>Family</p>
</a>
</li>
<li>
<label class="pack-checkbox danger">
<input type="checkbox">
<span></span>
</label>
<a href="#">
<aside data-icon="call-outgoing" data-l10n-id="" aria-label="outgoing call"></aside>
<p dir="auto">
Margherita <strong>Gomez</strong>
<em>(2)</em>
</p>
<p>
<time datetime="17:43">5:43PM</time>
Mobile, Vivo
</p>
</a>
</li>
</ul>
</section>
<section id="settings-list" role="region" class="skin-organic">
<section data-type="list">
<ul>
<li>
<a href="#">
<aside data-icon="call-outgoing" data-l10n-id="" aria-label="outgoing call"></aside>
<p>Phone lock</p>
</a>
</li>
</ul>
</section>
<header>
<h2>Settings style</h2>
</header>
<section data-type="list">
<ul>
<li>
<aside class="pack-end">
<button class="icon icon-dialog">Spain</button>
</aside>
<p>Time zone</p>
<p>Choose your country</p>
</li>
<li>
<aside class="pack-end">
<label class="pack-switch">
<input type="checkbox" checked>
<span></span>
</label>
</aside>
<p>Phone lock</p>
</li>
</ul>
</section>
</section>
</body>
</html>

View file

@ -0,0 +1,121 @@
/* ----------------------------------
* Progress + activities
* ---------------------------------- */
/* Spinner */
progress:not([value]) {
background: url(progress_activity/images/ui/default.png) no-repeat center center / 100% auto;
animation: 0.9s rotate infinite steps(30);
width: 2.9rem;
height: 2.9rem;
border: none;
display: inline-block;
vertical-align: middle;
}
progress:not([value]).light {
background-image: url(progress_activity/images/ui/light.png);
}
progress:not([value])::-moz-progress-bar {
background: none;
}
/* Progress bar */
progress[value] {
width: 100%;
background: #333;
border: none;
border-radius: 0;
height: 0.4rem;
display: block;
}
progress[value]::-moz-progress-bar {
background: #01c5ed;
border-radius: 0;
}
/* Progress bar */
progress[value].pack-activity {
background-size: 15rem;
}
html[dir="ltr"] progress[value].pack-activity {
animation: 1.5s move-right steps(15) infinite;
background-image: repeating-linear-gradient(135deg, #92F4FE, #92F4FE 5rem, #00CDF0 5rem, #00CDF0 10rem);
}
html[dir="rtl"] progress[value].pack-activity {
animation: 1.5s move-left steps(15) infinite;
background-image: repeating-linear-gradient(-135deg, #92F4FE, #92F4FE 5rem, #00CDF0 5rem, #00CDF0 10rem);
}
/* Labels */
p[role="status"] {
padding: 0.5rem;
font-weight: 300;
font-size: 2.25rem;
line-height: 1.4em;
color: #fff;
}
p[role="status"] progress:not([value]) {
margin-inline-end: 0.5rem;
}
p[role="status"] progress:not([value]) + span {
margin-bottom: 0;
}
p[role="status"] span {
display: inline-block;
vertical-align: middle;
margin-bottom: 0.5rem;
}
/* Progress steps */
.bb-steps {
position: relative;
height: 0.3rem;
}
html[dir="ltr"] .bb-steps { transform: scaleX(1); }
html[dir="rtl"] .bb-steps { transform: scaleX(-1); }
.bb-steps:before {
position: absolute;
content: "";
height: 0;
left: 0;
top: 0.1rem;
right: 0;
border-top: 0.1rem solid #b7b7b7;
border-bottom: 0.1rem solid #fff;
}
.bb-steps progress[value] {
position: absolute;
height: 0.3rem;
left: 0;
top: 0;
background: #858585;
transition: transform 0.35s cubic-bezier(0, 1, 0.5, 1.1);
}
.bb-steps progress[value]::-moz-progress-bar {
background: none;
}
/* Animations */
@keyframes rotate {
from { transform: rotate(1deg); }
to { transform: rotate(360deg); }
}
@keyframes move-right {
from { background-position: -15rem 0; }
to { background-position: 0 0; }
}
@keyframes move-left {
from { background-position: 0 0; }
to { background-position: -15rem 0; }
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

View file

@ -0,0 +1,155 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Progress & Activity Indicators</title>
<meta name="description" content="Providing user with visual feedback that a process is active">
<link rel="stylesheet" href="../../style/headers.css">
<link rel="stylesheet" href="../../style/confirm.css">
<link rel="stylesheet" href="../progress_activity.css">
<!--
- These <style> and <script> elements are only used for the example code,
- they are not needed for the real use case.
-->
<style>
html, body {
margin: 0;
padding: 0;
font-size: 10px;
background-color: #fff;
}
body { background: none; }
h2.bb-docs {
font-size: 1.8rem;
font-family: sans-serif;
font-weight: 300;
color: #666;
margin: 10px 0;
background-color: #f5f5f5;
padding: 0.4rem;
padding-inline-start: 3rem;
border: solid 1px #e8e8e8;
}
form[role="dialog"][data-type="confirm"] {
position: relative;
height: 30rem;
}
form[role="dialog"][data-type="confirm"] > section {
overflow: hidden;
}
.bb-steps progress[value] {
width: 25%;
transform: translateX(100%);
}
</style>
<script>
window.onload = function(){
document.getElementById('dir').checked = false;
};
</script>
</head>
<body role="application">
<p dir="ltr">
<label class="bb-docs">
<input id="dir" type="checkbox" checked="false"
onchange="document.documentElement.dir = this.checked ? 'rtl' : 'ltr'">
RTL mode
</label>
</p>
<section role="region">
<h2 class="bb-docs">Spinner</h2>
<div style="text-align: center">
<progress></progress>
</div>
<h2 class="bb-docs">Activity bar</h2>
<progress class="pack-activity" value="0" max="100"></progress>
<h2 class="bb-docs">Progress steps</h2>
<p class="bb-steps">
<progress value="2" max="4"></progress>
</p>
<h2 class="bb-docs">Progress bar</h2>
<progress value="80" max="100"></progress>
<h2 class="bb-docs">Progress + activity bar</h2>
<progress class="pack-activity" value="80" max="100"></progress>
</section>
<h2 class="bb-docs">Progress bar + Confirm BB</h2>
<form role="dialog" data-type="confirm">
<section>
<h1>Name of the action</h1>
<p style="text-align: center">
<progress></progress>
</p>
</section>
<menu>
<button class="full">Cancel</button>
</menu>
</form>
<br/>
<form role="dialog" data-type="confirm">
<section>
<h1>Name of the action</h1>
<p role="status">
<span>80%</span>
<progress value="80" max="100"></progress>
</p>
</section>
<menu>
<button class="full">Cancel</button>
</menu>
</form>
<br/>
<form role="dialog" data-type="confirm">
<section>
<h1>Name of the action</h1>
<p role="status">
<progress class="pack-activity" value="0" max="100"></progress>
</p>
</section>
<menu>
<button class="full">Cancel</button>
</menu>
</form>
<h2 class="bb-docs">Progress bar in Headers</h2>
<section role="region">
<header>
<a href="#"><span class="icon icon-back">back</span></a>
<h1>Song title</h1>
</header>
<progress value="80" max="100"></progress>
<header>
<h2>Subheader text</h2>
</header>
</section>
<section role="region">
<header>
<a href="#"><span class="icon icon-back">back</span></a>
<h1>Song title</h1>
</header>
<progress class="pack-activity" value="0" max="100"></progress>
<header>
<h2>Subheader text</h2>
</header>
</section>
</body>
</html>

View file

@ -0,0 +1,31 @@
/* ----------------------------------
* Status
* ---------------------------------- */
html[dir="ltr"] section[role="status"] [dir] { text-align: left; }
html[dir="rtl"] section[role="status"] [dir] { text-align: right; }
section[role="status"] {
background-color: #4d4d4d;
overflow: hidden;
position: absolute;
z-index: 100;
left: 0;
right: 0;
bottom: 0;
color: #fff;
}
html[dir="ltr"] section[role="status"] { background-position: left top; }
html[dir="rtl"] section[role="status"] { background-position: right top; }
section[role="status"] p {
font-size: 1.8rem;
font-weight: normal;
line-height: 2.2rem;
margin: 1rem 3rem;
padding: 0;
}
section[role="status"] p strong {
font-weight: 500;
}

View file

@ -0,0 +1,48 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8">
<title>Status</title>
<meta name="description" content="Most common used after Multi-Select edit, to confirm user action, and optional provide 'Undo' input">
<link rel="stylesheet" href="../status.css">
<!--
This <style>, <script> and <link> are only used for the example code,
they are not needed for the real use case
-->
<style>
html, body {
margin: 0;
padding: 0;
font-size: 10px;
background-color: #fff;
}
body {
background: none;
}
</style>
<script>
window.onload = function(){
document.getElementById('dir').checked = false;
};
</script>
</head>
<body role="application">
<p dir="ltr">
<label>
<input id="dir" type="checkbox"
onchange="document.documentElement.dir = this.checked ? 'rtl' : 'ltr'">
RTL mode
</label>
</p>
<section role="status">
<p>The Alarm is set for <strong>7 hours</strong> and <strong>14 minutes</strong> from now</p>
</section>
</body>
</html>