-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfav_buttons.html
More file actions
162 lines (145 loc) · 5.88 KB
/
fav_buttons.html
File metadata and controls
162 lines (145 loc) · 5.88 KB
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
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="author" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<title>SeamlessHR Design System</title>
<link href="" rel="shortcut icon" type="image/x-icon" />
<link href="bootstrap_css/bootstrap.css" rel="stylesheet" />
<link href="bootstrap_css/docs.css" rel="stylesheet" />
<link rel="stylesheet" href="shr_style.css">
</head>
<body>
<div id="header_nav">
<div class="container-xxl my-md-4 bd-layout">
<aside id="sidebar"></aside>
<main class="bd-main order-1">
<div class="bd-intro ps-lg-4">
<div class="
d-md-flex
flex-md-row-reverse
align-items-center
justify-content-between
">
<h1 class="bd-title" id="content">Fav Buttons</h1>
</div>
<p class="bd-lead">
Fav Buttons express what action will occur either by text, icon, or both in a card
</p>
</div>
<div class="bd-toc mt-4 mb-5 my-md-0 ps-xl-3 mb-lg-5 text-muted">
<strong class="d-block h6 my-2 pb-2 border-bottom">On this page</strong>
<nav id="TableOfContents">
<ul>
<li><a href="#default_filled_buttons">Default filled buttons
</a></li>
<li>
<a href="#large_outline_buttons">Large outline buttons
</a>
</li>
<li><a href="#default_filled_buttons_with_icons">Default filled buttons with icons
</a></li>
<li><a href="#button_css">Button CSS
</a></li>
</ul>
</nav>
</div>
<div class="bd-content ps-lg-4">
<h2 id="default_filled_buttons">Examples</h2>
<p>
Fav Buttons
</p>
<div class="bd-example">
<div class="shr_favbuttons_wrapper">
<div class="shr_favbuttons_icon">
<img src="fingerprint_icon.svg" />
</div>
<div class="shr_favbuttons_text">
Human Resource Information
</div>
</div>
<div class="highlight">
<pre class="chroma"><code class="language-html" data-lang="html">
<div class="shr_favbuttons_wrapper"> <div class="shr_favbuttons_icon"> <img src="fingerprint_icon.svg" /> </div> <div class="shr_favbuttons_text"> Human Resource Information </div> </div>
</code>
</pre>
</div>
<h2 id="button_css">FavButton CSS</h2>
<pre class="chroma">
<code class="language-html" data-lang="html"><span class="p">
/* Fav Buttons */
.shr_favbuttons_wrapper {
display: flex;
flex-direction: row;
/* White */
background: #ffffff;
/* Blue/LT2 */
border: 1px solid #d8e4f1;
box-sizing: border-box;
/* Shadows/Card/Default-1 */
box-shadow: 0px 3px 7px rgba(19, 50, 82, 0.07);
border-radius: 5px;
padding: 1.25rem 1.875rem;
align-items: center;
width: fit-content;
transition: 0.25s ease-in;
}
.shr_favbuttons_wrapper:hover {
padding: 1.875rem 1.875rem;
box-shadow: 0px 6px 12px rgba(19, 50, 82, 0.1);
}
.shr_favbuttons_wrapper > div {
margin: 0 1.25rem;
}
.shr_favbuttons_icon {
max-width: 56px;
}
.shr_favbuttons_text {
font-family: Avenir;
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 27px;
letter-spacing: 0px;
text-align: left;
}
</code>
</pre>
</div>
</main>
</div>
</div>
<script>
const xhttp = new XMLHttpRequest();
xhttp.onload = function() {
header_nav = document.getElementById("header_nav")
// document.getElementById("header_sidebar").innerHTML =
// this.responseText;
header_nav.insertAdjacentHTML('afterbegin', this.responseText);;
}
xhttp.open("GET", "component_header_plus_sidebar.html");
xhttp.send();
</script>
<script>
const xhr = new XMLHttpRequest();
xhr.onload = function() {
sidebar = document.getElementById("sidebar")
// document.getElementById("header_sidebar").innerHTML =
// this.responseText;
sidebar.insertAdjacentHTML('beforebegin', this.responseText);;
}
xhr.open("GET", "sidebar.html");
xhr.send();
</script>
<script src="/docs/5.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
<script src="/docs/5.0/assets/js/docs.min.js"></script>
<script src="bootstrap_js/bootstrap.js"></script>
</body>
</html>