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.
48
gaia/shared/style/action_menu/header_actions.html
Executable file
|
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Action menu</title>
|
||||
<meta name="description" content="Presenting a list of actions related to the App content">
|
||||
|
||||
<link rel="stylesheet" href="../action_menu.css">
|
||||
<!--
|
||||
- This <style> element is only used for the example code;
|
||||
- it is 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;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body role="application">
|
||||
<p dir="ltr">
|
||||
<label>
|
||||
<input type="checkbox"
|
||||
onchange="document.documentElement.dir = this.checked ? 'rtl' : 'ltr'">
|
||||
RTL mode
|
||||
</label>
|
||||
</p>
|
||||
|
||||
<form role="dialog" data-type="action">
|
||||
<header>
|
||||
<button><span class="icon icon-close">close</span></button>
|
||||
<menu type="toolbar">
|
||||
<button>done</button>
|
||||
</menu>
|
||||
<h1>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</h1>
|
||||
</header>
|
||||
<section>
|
||||
<p>Curabitur condimentum diam mollis lacus hendrerit congue. Phasellus porttitor orci elit, ac consequat est mollis ut. Ut consequat ipsum a ullamcorper aliquam.</p>
|
||||
</section>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
BIN
gaia/shared/style/action_menu/images/icons/close.png
Executable file
|
After Width: | Height: | Size: 245 B |
BIN
gaia/shared/style/action_menu/images/icons/close@1.5x.png
Executable file
|
After Width: | Height: | Size: 321 B |
BIN
gaia/shared/style/action_menu/images/icons/close@2.25x.png
Executable file
|
After Width: | Height: | Size: 562 B |
BIN
gaia/shared/style/action_menu/images/icons/close@2x.png
Executable file
|
After Width: | Height: | Size: 674 B |
BIN
gaia/shared/style/action_menu/images/icons/left.png
Executable file
|
After Width: | Height: | Size: 178 B |
BIN
gaia/shared/style/action_menu/images/icons/left@1.5x.png
Executable file
|
After Width: | Height: | Size: 218 B |
BIN
gaia/shared/style/action_menu/images/icons/left@2.25x.png
Executable file
|
After Width: | Height: | Size: 378 B |
BIN
gaia/shared/style/action_menu/images/icons/left@2x.png
Executable file
|
After Width: | Height: | Size: 485 B |
BIN
gaia/shared/style/action_menu/images/icons/right.png
Executable file
|
After Width: | Height: | Size: 178 B |
BIN
gaia/shared/style/action_menu/images/icons/right@1.5x.png
Executable file
|
After Width: | Height: | Size: 220 B |
BIN
gaia/shared/style/action_menu/images/icons/right@2.25x.png
Executable file
|
After Width: | Height: | Size: 316 B |
BIN
gaia/shared/style/action_menu/images/icons/right@2x.png
Executable file
|
After Width: | Height: | Size: 420 B |
51
gaia/shared/style/action_menu/index.html
Executable file
|
|
@ -0,0 +1,51 @@
|
|||
<!DOCTYPE html>
|
||||
<html dir="ltr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Action menu</title>
|
||||
<meta name="description" content="Presenting a list of actions related to the App content">
|
||||
|
||||
<link rel="stylesheet" href="../action_menu.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;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
window.onkeypress = event => {
|
||||
var dir = document.documentElement.dir;
|
||||
document.documentElement.dir = (dir === 'ltr') ? 'rtl' : 'ltr';
|
||||
};
|
||||
</script>
|
||||
</head>
|
||||
<body role="application">
|
||||
<form role="dialog" data-type="action">
|
||||
<header><span class="icon icon-back"></span>Title</header> <!-- this header is optional -->
|
||||
<menu type="toolbar">
|
||||
<button>Action 1</button>
|
||||
<button disabled> Action 2 (disabled) </button>
|
||||
<button> Action 3. </button>
|
||||
<button> الولايات 4</button>
|
||||
<button disabled> Action 5 (disabled) </button>
|
||||
<button> Action 6 </button>
|
||||
<button> Action 7 </button>
|
||||
<button disabled> Action 8 (disabled) </button>
|
||||
<button> Action 9 </button>
|
||||
<button> Cancel </button>
|
||||
</menu>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||