-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
189 lines (177 loc) · 10.8 KB
/
index.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
183
184
185
186
187
188
189
<!DOCTYPE html>
<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" />
<title>Excel Clone</title>
<link href="style.css" rel="stylesheet" />
<link rel="preload" href="https://fonts.googleapis.com/icon?family=Material+Icons" as="style" onload="this.onload = null; this.rel ='stylesheet' "/>
<script defer src="script.js"></script>
<script defer src="cell-properties.js"></script>
</head>
<body>
<div class="bg"><div class="title-bar">
<div class="quick-access-toolbar">
<span class="save">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
<path class="save-icon fill-white"
d="M180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h478q12.444 0 23.722 5T701-822l121 121q8 8 13 19.278 5 11.278 5 23.722v478q0 24-18 42t-42 18H180Zm299.765-125Q523-245 553.5-275.265q30.5-30.264 30.5-73.5Q584-392 553.735-422.5q-30.264-30.5-73.5-30.5Q437-453 406.5-422.735q-30.5 30.264-30.5 73.5Q376-306 406.265-275.5q30.264 30.5 73.5 30.5ZM263-584h298q12.75 0 21.375-8.625T591-614v-83q0-12.75-8.625-21.375T561-727H263q-12.75 0-21.375 8.625T233-697v83q0 12.75 8.625 21.375T263-584Z" />
</svg></span>
<span><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
<path class="fill-white"
d="M289-200q-13 0-21.5-8.5T259-230q0-13 8.5-21.5T289-260h280q70 0 120.5-46.5T740-422q0-69-50.5-115.5T569-584H274l93 93q9 9 9 21t-9 21q-9 9-21 9t-21-9L181-593q-5-5-7-10t-2-11q0-6 2-11t7-10l144-144q9-9 21-9t21 9q9 9 9 21t-9 21l-93 93h294q95 0 163.5 64T800-422q0 94-68.5 158T568-200H289Z" />
</svg></span>
<span><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
<path class="fill-white"
d="M686-584H391q-70 0-120.5 46.5T220-422q0 69 50.5 115.5T391-260h280q13 0 21.5 8.5T701-230q0 13-8.5 21.5T671-200H392q-95 0-163.5-64T160-422q0-94 68.5-158T392-644h294l-93-93q-9-9-9-21t9-21q9-9 21-9t21 9l144 144q5 5 7 10t2 11q0 6-2 11t-7 10L635-449q-9 9-21 9t-21-9q-9-9-9-21t9-21l93-93Z" />
</svg></span>
</div>
<div class="sheet-title">Book 1 - Excel</div>
</div>
<div class="menu-bar">
<div class="menu-action">File</div>
<div class="menu-action menu-action-active">Home</div>
<div class="menu-action">Insert</div>
<div class="menu-action">Draw</div>
<div class="menu-action">Page Layout</div>
<div class="menu-action">Formulas</div>
<div class="menu-action">Help</div>
</div></div>
<!-- <div class="title-bar">
<div class="quick-access-toolbar">
<span class="save">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
<path class="save-icon fill-white"
d="M180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h478q12.444 0 23.722 5T701-822l121 121q8 8 13 19.278 5 11.278 5 23.722v478q0 24-18 42t-42 18H180Zm299.765-125Q523-245 553.5-275.265q30.5-30.264 30.5-73.5Q584-392 553.735-422.5q-30.264-30.5-73.5-30.5Q437-453 406.5-422.735q-30.5 30.264-30.5 73.5Q376-306 406.265-275.5q30.264 30.5 73.5 30.5ZM263-584h298q12.75 0 21.375-8.625T591-614v-83q0-12.75-8.625-21.375T561-727H263q-12.75 0-21.375 8.625T233-697v83q0 12.75 8.625 21.375T263-584Z" />
</svg></span>
<span><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
<path class="fill-white"
d="M289-200q-13 0-21.5-8.5T259-230q0-13 8.5-21.5T289-260h280q70 0 120.5-46.5T740-422q0-69-50.5-115.5T569-584H274l93 93q9 9 9 21t-9 21q-9 9-21 9t-21-9L181-593q-5-5-7-10t-2-11q0-6 2-11t7-10l144-144q9-9 21-9t21 9q9 9 9 21t-9 21l-93 93h294q95 0 163.5 64T800-422q0 94-68.5 158T568-200H289Z" />
</svg></span>
<span><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
<path class="fill-white"
d="M686-584H391q-70 0-120.5 46.5T220-422q0 69 50.5 115.5T391-260h280q13 0 21.5 8.5T701-230q0 13-8.5 21.5T671-200H392q-95 0-163.5-64T160-422q0-94 68.5-158T392-644h294l-93-93q-9-9-9-21t9-21q9-9 21-9t21 9l144 144q5 5 7 10t2 11q0 6-2 11t-7 10L635-449q-9 9-21 9t-21-9q-9-9-9-21t9-21l93-93Z" />
</svg></span>
</div>
<div class="sheet-title">Book 1 - Excel</div>
</div>
<div class="menu-bar">
<div class="menu-action">File</div>
<div class="menu-action menu-action-active">Home</div>
<div class="menu-action">Insert</div>
<div class="menu-action">Draw</div>
<div class="menu-action">Page Layout</div>
<div class="menu-action">Formulas</div>
<div class="menu-action">Help</div>
</div> -->
<div class="menu-action-container">
<div class="file-container hidden"></div>
<div class="home-container">
<div class="clipboard-container">
<!--Cut Copy Paste-->
<div class="paste-btn"><svg xmlns="http://www.w3.org/2000/svg" height="48" viewBox="0 -960 960 960" width="48">
<path class="paste"
d="M180-120q-26 0-43-17t-17-43v-600q0-26 17-43t43-17h202q7-35 34.5-57.5T480-920q36 0 63.5 22.5T578-840h202q26 0 43 17t17 43v600q0 26-17 43t-43 17H180Zm0-60h600v-600h-60v60q0 12.75-8.625 21.375T690-690H270q-12.75 0-21.375-8.625T240-720v-60h-60v600Zm300-600q17 0 28.5-11.5T520-820q0-17-11.5-28.5T480-860q-17 0-28.5 11.5T440-820q0 17 11.5 28.5T480-780Z" />
</svg>
<div>Paste</div>
</div>
<div class="align-cut-copy">
<div class="cut"> <svg xmlns="http://www.w3.org/2000/svg" height="22" viewBox="0 -960 960 960" width="22">
<path class="cut size-24"
d="M782-114 481-415 364-298q11 17 13.5 33t2.5 35q0 64-43 107T230-80q-64 0-107-43T80-230q0-64 43-107t107-43q18 0 35.5 5t36.5 15l116-116-118-118q-17 8-34.5 11t-35.5 3q-64 0-107-43T80-730q0-64 43-107t107-43q64 0 107 43t43 107q0 19-2.5 36T367-662l514 514v34h-99ZM599-527l-66-66 249-249h99v33L599-527ZM230-640q38 0 64-26t26-64q0-38-26-64t-64-26q-38 0-64 26t-26 64q0 38 26 64t64 26Zm253 183q8 0 13.5-5.5T502-476q0-8-5.5-13.5T483-495q-8 0-13.5 5.5T464-476q0 8 5.5 13.5T483-457ZM230-140q38 0 64-26t26-64q0-38-26-64t-64-26q-38 0-64 26t-26 64q0 38 26 64t64 26Z" />
</svg>
<span>Cut</span>
</div>
<div class="copy"><svg xmlns="http://www.w3.org/2000/svg" height="22" viewBox="0 -960 960 960" width="22">
<path class="copy size-24"
d="M180-81q-24 0-42-18t-18-42v-573q0-13 8.5-21.5T150-744q13 0 21.5 8.5T180-714v573h444q13 0 21.5 8.5T654-111q0 13-8.5 21.5T624-81H180Zm120-120q-24 0-42-18t-18-42v-560q0-24 18-42t42-18h440q24 0 42 18t18 42v560q0 24-18 42t-42 18H300Z" />
</svg>
<span>Copy</span>
</div>
</div>
</div>
<div class="font-format-container">
<div class="select-container">
<select name="fonts" class="font-style-selected" id="font">
<option style="font-family: Noto Sans;" value="Noto Sans">Noto Sans</option>
<option style="font-family: Arial;" value="Arial">Arial</option>
<option style="font-family: Comic Sans MS;" value="Comic Sans MS">Comic Sans MS</option>
<option style="font-family: Calibri;" value="Calibri">Calibri</option>
<option style="font-family: Verdana;" value="Verdana">Verdana</option>
<option style="font-family: Impact;" value="Impact">Impact</option>
<option style="font-family: Courier New;" value="Courier New">Courier New</option>
</select>
<select class="select" name="font-size" id="font-size">
<option value=8>8</option>
<option value=9>9</option>
<option value=10>10</option>
<option value=11>11</option>
<option value=12>12</option>
<option value=14>14</option>
<option value=16>16</option>
<option value=18>18</option>
<option value=20>20</option>
<option value=22>22</option>
<option value=24>24</option>
<option value=26>26</option>
<option value=28>28</option>
<option value=36>36</option>
<option value=48>48</option>
<option value=72>72</option>
</select>
</div>
<!--Bold Italic Underline-->
<div class="text-style-container">
<div class="text-style">
<span><svg xmlns="http://www.w3.org/2000/svg" height="22" viewBox="0 -960 960 960" width="22">
<path class="bold size-24"
d="M335-200q-25 0-42.5-17.5T275-260v-440q0-25 17.5-42.5T335-760h168q66 0 114.5 42T666-612q0 38-21 70t-56 49v6q43 14 69.5 50t26.5 81q0 68-52.5 112T510-200H335Zm26-76h144q38 0 66-25t28-63q0-37-28-62t-66-25H361v175Zm0-247h136q35 0 60.5-23t25.5-58q0-35-25.5-58.5T497-686H361v163Z" />
</svg>
</span>
<span><svg xmlns="http://www.w3.org/2000/svg" height="22" viewBox="0 -960 960 960" width="22">
<path class="italic size-24" d="M224-199v-80h134l139-409H338v-80h380v80H584L445-279h159v80H224Z" />
</svg>
</span>
<span><svg xmlns="http://www.w3.org/2000/svg" height="22" viewBox="0 -960 960 960" width="22">
<path class="underline"
d="M200-140v-60h560v60H200Zm280-140q-100 0-156.5-58.5T267-497v-343h83v343q0 63 34 101t96 38q62 0 96-38t34-101v-343h83v343q0 100-56.5 158.5T480-280Z" />
</svg>
</span>
</div>
<span class="color">
<svg xmlns="http://www.w3.org/2000/svg" height="22" viewBox="0 -960 960 960" width="22">
<path class="size-24"
d="M80 0v-160h800V0H80Zm140-280 220-560h80l220 560h-75l-57-150H352l-57 150h-75Zm156-214h208L482-765h-4L376-494Z" />
</svg>
</span>
</div>
</div>
</div>
<div class="insert-container hidden"></div>
<div class="draw-container hidden"></div>
<div class="layout-container hidden"></div>
<div class="formulas-container hidden"></div>
<div class="help-container hidden"></div>
</div>
<!-- <div class="action-bar">
<div class="copy-bar"></div>
<div class="format-box"></div>
<div class="alignment-box"></div>
</div> -->
<div class="formula-actions-container">
<input type="text" readonly class="address-bar">
<span class="formula-icon-cont"><img class="formula-icon svg-fill" src="https://img.icons8.com/ios/50/000000/formula-fx.png" /></span>
<input type="text" class="formula-bar">
</div>
<div class="data-container">
<div class="select-all"></div>
<div class="row-name-container"></div>
<div class="column-cell-container">
<div class="column-name-container"></div>
<div class="rows-container"></div>
</div>
</div>
<!-- <div class="sheets-container">SHeet 1 SHeet 2</div> -->
</body>
</html>