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.
BIN
gaia/shared/style/switches/images/check/danger.png
Executable file
|
After Width: | Height: | Size: 583 B |
BIN
gaia/shared/style/switches/images/check/danger@1.5x.png
Executable file
|
After Width: | Height: | Size: 946 B |
BIN
gaia/shared/style/switches/images/check/danger@2.25x.png
Executable file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
gaia/shared/style/switches/images/check/danger@2x.png
Executable file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
gaia/shared/style/switches/images/check/default.png
Executable file
|
After Width: | Height: | Size: 583 B |
BIN
gaia/shared/style/switches/images/check/default@1.5x.png
Executable file
|
After Width: | Height: | Size: 946 B |
BIN
gaia/shared/style/switches/images/check/default@2.25x.png
Executable file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
gaia/shared/style/switches/images/check/default@2x.png
Executable file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
gaia/shared/style/switches/images/switch/background.png
Executable file
|
After Width: | Height: | Size: 755 B |
BIN
gaia/shared/style/switches/images/switch/background@1.5x.png
Executable file
|
After Width: | Height: | Size: 1 KiB |
BIN
gaia/shared/style/switches/images/switch/background@2.25x.png
Executable file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
gaia/shared/style/switches/images/switch/background_off.png
Executable file
|
After Width: | Height: | Size: 475 B |
BIN
gaia/shared/style/switches/images/switch/background_off@1.5x.png
Executable file
|
After Width: | Height: | Size: 616 B |
BIN
gaia/shared/style/switches/images/switch/background_off@2.25x.png
Executable file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
gaia/shared/style/switches/images/switch/background_on@2.25x.png
Executable file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
gaia/shared/style/switches/images/switch/background_rtl.png
Executable file
|
After Width: | Height: | Size: 748 B |
BIN
gaia/shared/style/switches/images/switch/background_rtl@1.5x.png
Executable file
|
After Width: | Height: | Size: 1 KiB |
BIN
gaia/shared/style/switches/images/switch/background_rtl@2.25x.png
Executable file
|
After Width: | Height: | Size: 3.1 KiB |
83
gaia/shared/style/switches/index.html
Executable file
|
|
@ -0,0 +1,83 @@
|
|||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Switches</title>
|
||||
<meta name="description" content="Activates/Deactivates a given item. It's also used to select an element within a list">
|
||||
<link rel="stylesheet" href="../switches.css">
|
||||
<!--
|
||||
- These <style> elements are only used for the example code;
|
||||
- they are not required for the real use case.
|
||||
-->
|
||||
<style type="text/css">
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 10px;
|
||||
background-color: #fff;
|
||||
}
|
||||
body {
|
||||
background: none;
|
||||
}
|
||||
h2.bb-docs {
|
||||
font-size: 1.8rem;
|
||||
font-weight: 300;
|
||||
color: #666;
|
||||
margin: -1px 0 0;
|
||||
background-color: #f5f5f5;
|
||||
padding: 0.4rem;
|
||||
padding-inline-start: 3rem;
|
||||
border: solid 1px #e8e8e8;
|
||||
}
|
||||
label {
|
||||
margin-inline-start: 2rem;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
window.onload = function() {
|
||||
document.getElementById('dir').checked = false;
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body role="application">
|
||||
<p dir="ltr">
|
||||
<label>
|
||||
<input type="checkbox"
|
||||
onchange="document.documentElement.dir = this.checked ? 'rtl' : 'ltr'">
|
||||
RTL mode
|
||||
</label>
|
||||
</p>
|
||||
|
||||
<h2 class="bb-docs">Checkbox, commonly used in edit mode</h2>
|
||||
<label class="pack-checkbox">
|
||||
<input type="checkbox" checked>
|
||||
<span></span>
|
||||
</label>
|
||||
|
||||
<label class="pack-checkbox">
|
||||
<input type="checkbox">
|
||||
<span></span>
|
||||
</label>
|
||||
|
||||
<label class="pack-checkbox danger">
|
||||
<input type="checkbox" checked>
|
||||
<span></span>
|
||||
</label>
|
||||
|
||||
<label class="pack-checkbox danger">
|
||||
<input type="checkbox">
|
||||
<span></span>
|
||||
</label>
|
||||
|
||||
<h2 class="bb-docs">Switch, commonly used in settings</h2>
|
||||
<label class="pack-switch">
|
||||
<input type="checkbox" checked>
|
||||
<span></span>
|
||||
</label>
|
||||
|
||||
<label class="pack-switch">
|
||||
<input type="checkbox">
|
||||
<span></span>
|
||||
</label>
|
||||
</body>
|
||||
</html>
|
||||