This repository has been archived by the owner on Nov 27, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ds-components.html
182 lines (136 loc) · 7.04 KB
/
ds-components.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!DOCTYPE html>
<html lang="en" dir="ltr">
<meta charset="UTF-8">
<title>DS-42 - Allied Electronics and Automation</title>
<!--DS42 sass-->
<link rel="stylesheet" href="scss/ds-42.css">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Lato" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="manifest" href="./manifest.json">
<link rel="shortcut icon" href="./images/favicon.ico" />
<link rel="shortcut icon" href="./images/favicon.svg" />
<link rel="icon" type="image/favicon.svg" href="./images/favicon.svg">
<link rel="icon" type="image/x-icon" href="./images/favicon.svg">
<link rel="icon" href="./images/favicon.svg" />
<!--Icon Font-->
<link rel="stylesheet" href="styles/icon-style.css">
<!-- reuse same icon for Safari -->
<link rel="apple-touch-icon" href="./images/app-images/images/icons/icon-192x192.png">
<meta name="Description" content="DS 42 is a design system for Allied Electronics & Automation. It is in it's infancy but it is growing with support.">
<script>
$(function(){
$("#ds42-nav").load("nav.html");
});
</script>
<meta name="theme-color" content="#001d2c"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>
$(function () {
$("#ds42-nav").load("nav.html");
});
</script>
</head>
<body>
<div class="ds42-main-grid">
<!-- Sidebar Holder -->
<a class="toggle open" href="#ds42-nav"><img src="./images/menu.svg" alt="menu icon" /></a>
<div id="ds42-nav">
<!--NAV will display here-->
</div>
<div class="prog-bar">
<div class="progress-container">
<div class="progress-bar" id="myBar"></div>
</div>
</div>
<div class="ds42-body">
<!-- Page Content Holder -->
<div class="ds42-body">
<div class="page-grid">
<div class="page-overview green-gradient">
<div class="content-column-left">
<div>
<h2>Components Overview</h2>
<p>The components makeup the parts and elements of the visual aspect of our front-end
applications.</p>
<p>
By ulitlizing these appropriately we will make visually consistent applications for our
users.
</p>
</div>
<div>
<img alt="Components Overview" class="overview-image" src="./images/components-overview.svg">
</div>
</div>
</div>
<div class="page-content">
<div class="four-column-layout">
<a href="ds-component-accordions.html">
<div class="overview-section-cta">
<img alt="Accordian" src="./images/accordion-preview.svg">
<h4>Accordions</h4>
<p class="overview-section-desc">Accordions allow the user to expance and collapse large amount of content.</p>
</div>
</a>
<a href="ds-component-buttons.html">
<div class="overview-section-cta">
<img alt="Buttons" src="./images/buttons-preview.svg">
<h4>Buttons</h4>
<p class="overview-section-desc">Buttons communicate the action that will occur when the
user touches them.</p>
</div>
</a>
<a href="ds-component-data-tables.html">
<div class="overview-section-cta">
<img alt="Tables" src="./images/data-tables-preview.svg">
<h4>Data Tables</h4>
<p class="overview-section-desc">Datatables allow the user to scan and digest large amounts of data quickly.</p>
</div>
</a>
<a href="ds-component-date-picker.html">
<div class="overview-section-cta">
<img alt="Tables" src="./images/date-picker-preview.svg">
<h4>Date Pickers</h4>
<p class="overview-section-desc">Date Pickers allow the user to input a date or a range of dates into our UI.</p>
</div>
</a>
<a href="ds-component-formfields.html">
<div class="overview-section-cta">
<img alt="Forms" src="./images/forms-preview.svg">
<h4>Form Fields</h4>
<p class="overview-section-desc">Form fields allow the user to input data into our UI.</p>
</div>
</a>
<a href="ds-component-selection-controls.html">
<div class="overview-section-cta">
<img alt="Selection Controls" src="./images/selection-controls-preview.svg">
<h4>Selection Controls</h4>
<p class="overview-section-desc">Selection controls allow users to complete tasks that involve making choices.</p>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<script>
// When the user scrolls the page, execute myFunction
window.onscroll = function() {myFunction()};
function myFunction() {
var winScroll = document.body.scrollTop || document.documentElement.scrollTop;
var height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
var scrolled = (winScroll / height) * 100;
document.getElementById("myBar").style.width = scrolled + "%";
}
</script>
<script>
if('serviceWorker' in navigator) {
navigator.serviceWorker
.register('/sw.js')
//.then(function() { console.log("Service Worker Registered"); });
.then(reg => {reg.update();});
}
</script>
</body>
</html>