Permalink
Please sign in to comment.
Showing
with
10,652 additions
and 228 deletions.
- +117 −26 css/main.css
- +148 −16 index.html
- +36 −185 js/main.js
- +260 −0 js/main_.js
- +17 −1 js/slacer/viewer3d.js
- +587 −0 vendor/bootstrap/css/bootstrap-theme.css
- +1 −0 vendor/bootstrap/css/bootstrap-theme.css.map
- +5 −0 vendor/bootstrap/css/bootstrap-theme.min.css
- +6,800 −0 vendor/bootstrap/css/bootstrap.css
- +1 −0 vendor/bootstrap/css/bootstrap.css.map
- +5 −0 vendor/bootstrap/css/bootstrap.min.css
- BIN vendor/bootstrap/fonts/glyphicons-halflings-regular.eot
- +288 −0 vendor/bootstrap/fonts/glyphicons-halflings-regular.svg
- BIN vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf
- BIN vendor/bootstrap/fonts/glyphicons-halflings-regular.woff
- BIN vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2
- +2,363 −0 vendor/bootstrap/js/bootstrap.js
- +7 −0 vendor/bootstrap/js/bootstrap.min.js
- +13 −0 vendor/bootstrap/js/npm.js
- +4 −0 vendor/jquery-2.1.4.min.js
143
css/main.css
@@ -1,42 +1,133 @@ | ||
-html, body { | ||
+/* Navbar */ | ||
+.navbar { | ||
margin: 0; | ||
- padding: 0; | ||
- overflow: hidden; | ||
} | ||
-.box { | ||
- margin: 5px; | ||
+/* Sidebar */ | ||
+#sidebar { | ||
+ position: fixed; | ||
+ top: 51px; | ||
+ bottom: 0; | ||
+ left: 0; | ||
+ width: 300px; | ||
+ padding: 10px; | ||
+ overflow-y: auto; | ||
+ overflow-x: hidden; | ||
+ background-color: #f5f5f5; | ||
+ border-right: 1px solid #eeeeee; | ||
+} | ||
+ | ||
+#sidebar .panel-body { | ||
+ padding-bottom: 0; | ||
+} | ||
+ | ||
+ | ||
+#sidebar .info { | ||
+ margin-bottom: 10px; | ||
+} | ||
+ | ||
+#sidebar .info-label { | ||
+ font-weight: bold; | ||
+} | ||
+ | ||
+#sidebar .info, | ||
+#sidebar .form-group { | ||
+ min-height: 20px; | ||
+} | ||
+ | ||
+#sidebar small { | ||
+ color: #888888; | ||
+ font-weight: normal; | ||
} | ||
-.fl { | ||
+#sidebar label, | ||
+#sidebar .info-label, | ||
+#sidebar .info-value, | ||
+#sidebar .form-control { | ||
+ width: 50%; | ||
float: left; | ||
} | ||
-#mesh ul { | ||
- margin: 0; | ||
- padding: 5px; | ||
- border-radius: 6px; | ||
- list-style-type: none; | ||
- background-color: #000000; | ||
+/* Main */ | ||
+#main { | ||
+ position: fixed; | ||
+ left: 300px; | ||
+ top: 51px; | ||
+ bottom: 0; | ||
+ right: 0; | ||
+} | ||
+ | ||
+/* Button file */ | ||
+.btn-file { | ||
+ position: relative; | ||
+ overflow: hidden; | ||
} | ||
-#mesh .label, | ||
-#mesh .value { | ||
- padding: 2px; | ||
- display: inline-block; | ||
+.btn-file input[type=file] { | ||
+ position: absolute; | ||
+ top: 0; | ||
+ right: 0; | ||
+ min-width: 100%; | ||
+ min-height: 100%; | ||
+ font-size: 100px; | ||
+ text-align: right; | ||
+ filter: alpha(opacity=0); | ||
+ opacity: 0; | ||
+ outline: none; | ||
+ background: white; | ||
+ cursor: inherit; | ||
+ display: block; | ||
} | ||
-#mesh .label { | ||
- width: 80px; | ||
- color: #eeeeee; | ||
+/*input[type="number"].input-sm { | ||
+ width: 60px; | ||
+}*/ | ||
+ | ||
+/*#screen label { | ||
+ float: left; | ||
+ width: 100px; | ||
+ height: 30px; | ||
} | ||
-#mesh .value { | ||
- width: 50px; | ||
+#screen .form-control { | ||
float: right; | ||
- color: #ff0000; | ||
- font-size: 0.8em; | ||
- text-align: right; | ||
- border-radius: 4px; | ||
- background-color: #550000; | ||
+}*/ | ||
+ | ||
+/* Main contents */ | ||
+/*.main { | ||
+ padding: 10px; | ||
+ margin-top: 51px; | ||
+}*/ | ||
+ | ||
+/* Sidebar */ | ||
+/*#sidebar { | ||
+ width: 300px; | ||
+ position: fixed; | ||
+ top: 51px; | ||
+ bottom: 0; | ||
+ left: 0; | ||
+ z-index: 1000; | ||
+ display: block; | ||
+ padding: 10px; | ||
+ overflow-x: hidden; | ||
+ overflow-y: auto; | ||
+ background-color: #f5f5f5; | ||
+ border-right: 1px solid #eee; | ||
+ }*/ | ||
+ | ||
+/* Sidebar navigation */ | ||
+/*.nav-sidebar { | ||
+ margin-right: -21px; | ||
+ margin-bottom: 20px; | ||
+ margin-left: -20px; | ||
+} | ||
+.nav-sidebar > li > a { | ||
+ padding-right: 20px; | ||
+ padding-left: 20px; | ||
} | ||
+.nav-sidebar > .active > a, | ||
+.nav-sidebar > .active > a:hover, | ||
+.nav-sidebar > .active > a:focus { | ||
+ color: #fff; | ||
+ background-color: #428bca; | ||
+}*/ |
164
index.html

Oops, something went wrong.
0 comments on commit
a2e9653