-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbutton.html
125 lines (90 loc) · 4.44 KB
/
button.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
<!DOCTYPE html>
<html lang="en" class="normal green">
<head>
<meta charset="UTF-8">
<meta name="description" content="Buttons, Turbo C/C++ simple basic web site theme." />
<meta name="author" content="Fatih Tatoğlu" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Turbo C Theme - Buttons</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet">
<link rel="canonical" href="https://blog.tatoglu.net/blog-theme-turboc" />
<link rel="home" href="https://blog.tatoglu.net/blog-theme-turboc" />
<link rel="apple-touch-icon" sizes="180x180" href="images/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/favicon/favicon-16x16.png">
<link rel="manifest" href="images/favicon/site.webmanifest">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="./css/main.css">
<script src="node_modules/mustache/mustache.min.js"></script>
<script src="./js/main.js"></script>
</head>
<body>
<header>
<span class="site-name">Turbo C Theme - Buttons</span>
</header>
<nav id="navigation"></nav>
<main>
<article>
<header>
<h1>Buttons</h1>
<button>#</button>
</header>
<h2>Colors</h2>
<p>Color options of the buttons. For details, you can hold your mouse cursor on <strong>TEXT</strong>
content.</p>
<div class="color-box button" title="selected: Butona focus yapıldığında.">
<pre class="selected">TEXT TEXT</pre>
<pre class="selected">TEXT TEXT</pre>
</div>
<div class="color-box button"
title="default: bir dialog içinde varsayılan aksiyon butonu varsa onun rengi.">
<pre class="default">TEXT TEXT</pre>
<pre class="default">TEXT TEXT</pre>
</div>
<div class="color-box button" title="active: Buton kullanılabilir olduğundaki hali.">
<pre class="active">TEXT TEXT</pre>
<pre class="active">TEXT TEXT</pre>
</div>
<div class="color-box button" title="disabled: Buton kullanılmadığında seçilecek.">
<pre class="disabled">TEXT TEXT</pre>
<pre class="disabled">TEXT TEXT</pre>
</div>
<h2>Button</h2>
<button>OK</button>
<button>Cancel</button>
<button disabled>Disabled</button>
<h2>Links</h2>
<a href="javascript:;" class="tc-btn">OK</a>
<a href="javascript:;" class="tc-btn">Cancel</a>
<!-- For giving same behaviour .disabled class and tabindex must be added. -->
<a href="javascript:;" class="tc-btn disabled" tabindex="-1">Disabled</a>
<h2>Access Key With Buttons</h2>
<button accesskey="o"><u>O</u>K</button>
<button accesskey="c"><u>C</u>ancel</button>
<!-- Without accesskey u element will not work. -->
<button>Hel<u>p</u></button>
<h2>Access Key With Links</h2>
<a href="javascript:;" class="tc-btn" accesskey="k">O<u>K</u></a>
<a href="javascript:;" class="tc-btn"><u>C</u>ancel</a>
<h2>Default Button</h2>
<button class="default" accesskey="o"><u>O</u>K</button>
<button accesskey="c"><u>C</u>ancel</button>
<button>Help</button>
<br />
<a href="javascript:;" class="tc-btn" accesskey="k">O<u>K</u></a>
<a href="javascript:;" class="tc-btn default" accesskey="l">Cance<u>l</u></a>
<a href="javascript:;" class="tc-btn">Help</a>
</article>
</main>
<footer>
<span class="credits">By <a href="https://github.com/fatihtatoglu" target="_new" rel="external"
title="Developed by Fatih Tatoğlu">Fatih
Tatoğlu</a> - 2022</span>
</footer>
</body>
</html>