-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathselectbox.html
156 lines (126 loc) · 5.93 KB
/
selectbox.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
<!DOCTYPE html>
<html lang="en" class="normal green">
<head>
<meta charset="UTF-8">
<meta name="description" content="Selectbox, 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 - Selectbox</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>
<style>
select,
input[type=text] {
min-width: 250px;
}
</style>
</head>
<body>
<header>
<span class="site-name">Turbo C Theme - Selectbox</span>
</header>
<nav id="navigation"></nav>
<main>
<article>
<header>
<h1>Selectbox</h1>
<button>#</button>
</header>
<h2>Colors</h2>
<p>Color options of the selectbox. For details, you can hold your mouse cursor on <strong>TEXT</strong>
content.</p>
<div class="color-box selectbox" title="active: Selectbox'ın itemdeki item'ın hali.">
<pre class="active">TEXT TEXT</pre>
<pre class="active">TEXT TEXT</pre>
</div>
<div class="color-box selectbox" title="default: Selectbox'ın içindeki item seçildiğindeki hali.">
<pre class="default">TEXT TEXT</pre>
<pre class="default">TEXT TEXT</pre>
</div>
<div class="color-box selectbox" title="selected: Selectbox içindeki bir itema focuslandığındaki hali.">
<pre class="selected">TEXT TEXT</pre>
<pre class="selected">TEXT TEXT</pre>
</div>
<div class="color-box selectbox" title="disabled: Selectbox kullanılmadığında atanacak.">
<pre class="disabled">TEXT TEXT</pre>
<pre class="disabled">TEXT TEXT</pre>
</div>
<h2>Normal Selectbox</h2>
<select size="4">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
<option value="subaru">Subaru</option>
<option value="toyota">Toyota</option>
<option value="bmw">BMW</option>
<option value="ford">Ford</option>
<option value="renault">Renault</option>
<option value="honda">Honda</option>
<option value="mazda">Mazda</option>
</select>
<h2>Normal Selectbox With Disabled Option</h2>
<select size="4">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes" disabled>Mercedes</option>
<option value="audi">Audi</option>
<option value="subaru">Subaru</option>
<option value="toyota">Toyota</option>
<option value="bmw">BMW</option>
<option value="ford">Ford</option>
<option value="renault">Renault</option>
<option value="honda">Honda</option>
<option value="mazda">Mazda</option>
</select>
<h2>Multiple Selectbox</h2>
<select size="4" multiple>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
<option value="subaru">Subaru</option>
<option value="toyota">Toyota</option>
<option value="bmw">BMW</option>
<option value="ford">Ford</option>
<option value="renault">Renault</option>
<option value="honda">Honda</option>
<option value="mazda">Mazda</option>
</select>
<h2>Disabled Selectbox</h2>
<select size="4" disabled>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
<option value="subaru">Subaru</option>
<option value="toyota">Toyota</option>
<option value="bmw">BMW</option>
<option value="ford">Ford</option>
<option value="renault">Renault</option>
<option value="honda">Honda</option>
<option value="mazda">Mazda</option>
</select>
</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>