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,45 @@
<!DOCTYPE html>
<html dir="ltr">
<head>
<meta charset="utf-8" />
<title>GaiaSubheader Demo</title>
<meta name="description" content="Demo app for gaia-subheader" />
<style type="text/css">
html,
body {
margin: 0;
padding: 0;
font-size: 10px;
background-color: #fff;
}
</style>
<script src="../../../js/component_utils.js"></script>
<script>window.GaiaSubheaderBaseurl = '../';</script>
<script src="../script.js" type="text/javascript"></script>
<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>
<gaia-subheader>
<span>Default</span>
</gaia-subheader>
<gaia-subheader skin="organic">
<span>Organic</span>
</gaia-subheader>
<gaia-subheader skin="dark">
<span>Dark</span>
</gaia-subheader>
</body>
</html>

View file

@ -0,0 +1,18 @@
'use strict';
/* global ComponentUtils */
window.GaiaSubheader = (function(win) {
// Extend from the HTMLElement prototype
var proto = Object.create(HTMLElement.prototype);
// Allow baseurl to be overridden (used for demo page)
var baseurl = window.GaiaSubheaderBaseurl ||
'/shared/elements/gaia_subheader/';
proto.createdCallback = function() {
ComponentUtils.style.call(this, baseurl);
};
// Register and return the constructor
return document.registerElement('gaia-subheader', { prototype: proto });
})(window);

View file

@ -0,0 +1,40 @@
gaia-subheader[hidden] {
display: none;
}
/**
* Gaia Subheader
*
* Dividing header usually found
* heading and separating lists.
*/
gaia-subheader {
display: block;
padding: 0.8rem 3rem;
border-bottom: solid 0.1rem #e6e6e6;
color: #424242;
font-size: 1.5rem;
line-height: 1.8rem;
text-align: start;
}
/**
* [data-skin="organic"]
*/
gaia-subheader[skin="organic"] {
border: 0;
background-color: #e7e7e7;
color: #4d4d4d;
}
/**
* [data-skin="dark"]
*/
gaia-subheader[skin="dark"] {
border: 0;
background-color: #2c353b;
color: #fff;
}