diff --git a/_locales/en_US/messages.json b/_locales/en_US/messages.json index 4d4c8cb..027fe17 100644 --- a/_locales/en_US/messages.json +++ b/_locales/en_US/messages.json @@ -31,5 +31,32 @@ }, "deletesuccess": { "message": "Bookmark deletes success" + }, + "previewtext": { + "message": "You are visiting " + }, + "closepreivew": { + "message": "Close Preview" + }, + "openpreview": { + "message": "Open Preview" + }, + "donate": { + "message": "Donate" + }, + "openinnewtab": { + "message": "Open In a New Tab" + }, + "block": { + "message": "Block" + }, + "blocklist": { + "message": "Block List" + }, + "blockmsg": { + "message": "Success!" + }, + "nouse": { + "message": "No use,Delete it" } } diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index 8a92fee..86f6157 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -31,5 +31,32 @@ }, "deletesuccess": { "message": "书签删除成功" + }, + "previewtext": { + "message": "您正在访问 " + }, + "closepreivew": { + "message": "关闭预览" + }, + "openpreview": { + "message": "打开预览" + }, + "donate": { + "message": "捐助" + }, + "openinnewtab": { + "message": "在新标签页打开" + }, + "block": { + "message": "不再提醒" + }, + "blocklist": { + "message": "不再提醒列表" + }, + "blockmsg": { + "message": "操作成功" + }, + "nouse": { + "message": "没用了,删掉它" } } diff --git a/css/default.css b/css/default.css index 37c7374..eb5a8ae 100644 --- a/css/default.css +++ b/css/default.css @@ -1,234 +1,73 @@ -@import url(http://fonts.useso.com/css?family=Raleway:200,500,700,800); -@font-face { - font-family: 'icomoon'; - src:url('../fonts/icomoon.eot?rretjt'); - src:url('../fonts/icomoon.eot?#iefixrretjt') format('embedded-opentype'), - url('../fonts/icomoon.woff?rretjt') format('woff'), - url('../fonts/icomoon.ttf?rretjt') format('truetype'), - url('../fonts/icomoon.svg?rretjt#icomoon') format('svg'); - font-weight: normal; - font-style: normal; -} - -[class^="icon-"], [class*=" icon-"] { - font-family: 'icomoon'; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - - /* Better Font Rendering =========== */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -body, html { font-size: 100%; padding: 0; margin: 0;} - -/* Reset */ -*, -*:after, -*:before { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */ -.clearfix:before, -.clearfix:after { - content: " "; - display: table; -} - -.clearfix:after { - clear: both; -} - -body{ - font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif; -} -a{color: #2fa0ec;text-decoration: none;outline: none;} -a:hover,a:focus{color:#74777b;} - -.htmleaf-container{ - margin: 0 auto; - text-align: center; - overflow: hidden; -} -.htmleaf-content { - height: 100%; - padding: 1em 0; -} - -.bgcolor-1 { background: #f0efee; } -.bgcolor-2 { background: #f9f9f9; } -.bgcolor-3 { background: #e8e8e8; }/*light grey*/ -.bgcolor-4 { background: #2f3238; color: #fff; }/*Dark grey*/ -.bgcolor-5 { background: #df6659; color: #521e18; }/*pink1*/ -.bgcolor-6 { background: #2fa8ec; }/*sky blue*/ -.bgcolor-7 { background: #d0d6d6; }/*White tea*/ -.bgcolor-8 { background: #3d4444; color: #fff; }/*Dark grey2*/ -.bgcolor-9 { background: #ef3f52; color: #fff;}/*pink2*/ -.bgcolor-10{ background: #64448f; color: #fff;}/*Violet*/ -.bgcolor-11{ background: #3755ad; color: #fff;}/*dark blue*/ -.bgcolor-12{ background: #3498DB; color: #fff;}/*light blue*/ -/* Header */ -.htmleaf-header{ - padding: 1em 190px 1em; - letter-spacing: -1px; - text-align: center; -} -.htmleaf-header h1 { - font-weight: 600; - font-size: 2em; - line-height: 1; - margin-bottom: 0; - font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif; -} -.htmleaf-header h1 span { - font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif; - display: block; - font-size: 60%; - font-weight: 400; - padding: 0.8em 0 0.5em 0; - color: #c3c8cd; -} -/*nav*/ -.htmleaf-demo a{color: #1d7db1;text-decoration: none;} -.htmleaf-demo{width: 100%;padding-bottom: 1.2em;} -.htmleaf-demo a{display: inline-block;margin: 0.5em;padding: 0.6em 1em;border: 3px solid #1d7db1;font-weight: 700;} -.htmleaf-demo a:hover{opacity: 0.6;} -.htmleaf-demo a.current{background:#1d7db1;color: #fff; } -/* Top Navigation Style */ -.htmleaf-links { - position: relative; - display: inline-block; - white-space: nowrap; - font-size: 1.5em; - text-align: center; -} - -.htmleaf-links::after { - position: absolute; - top: 0; - left: 50%; - margin-left: -1px; - width: 2px; - height: 100%; - background: #dbdbdb; - content: ''; - -webkit-transform: rotate3d(0,0,1,22.5deg); - transform: rotate3d(0,0,1,22.5deg); -} - -.htmleaf-icon { - display: inline-block; - margin: 0.5em; - padding: 0em 0; - width: 1.5em; - text-decoration: none; -} - -.htmleaf-icon span { - display: none; -} - -.htmleaf-icon:before { - margin: 0 5px; - text-transform: none; - font-weight: normal; - font-style: normal; - font-variant: normal; - font-family: 'icomoon'; - line-height: 1; - speak: none; - -webkit-font-smoothing: antialiased; -} -/* footer */ -.htmleaf-footer{width: 100%;padding-top: 10px;} -.htmleaf-small{font-size: 0.8em;} -.center{text-align: center;} -/****/ -.related { - width: 100%; - color: #fff; - background: #333; - text-align: center; - font-size: 1.25em; - padding: 0.5em 0; - overflow: hidden; -} - -.related > a { - vertical-align: top; - width: calc(100% - 20px); - max-width: 340px; - display: inline-block; - text-align: center; - margin: 20px 10px; - padding: 25px; - font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", "FontAwesome", sans-serif; -} -.related a { - display: inline-block; - text-align: left; - margin: 20px auto; - padding: 10px 20px; - opacity: 0.8; - -webkit-transition: opacity 0.3s; - transition: opacity 0.3s; - -webkit-backface-visibility: hidden; -} - -.related a:hover, -.related a:active { - opacity: 1; -} - -.related a img { - max-width: 100%; - opacity: 0.8; - border-radius: 4px; -} -.related a:hover img, -.related a:active img { - opacity: 1; -} -.related h3{font-family: "Microsoft YaHei", sans-serif;} -.related a h3 { - font-weight: 300; - margin-top: 0.15em; - color: #fff; -} -/* icomoon */ -.icon-htmleaf-home-outline:before { - content: "\e5000"; -} - -.icon-htmleaf-arrow-forward-outline:before { - content: "\e5001"; -} - -@media screen and (max-width: 50em) { - .htmleaf-header { - padding: 3em 10% 4em; - } - .htmleaf-header h1 { - font-size:2em; - } -} - - -@media screen and (max-width: 40em) { - .htmleaf-header h1 { - font-size: 1.5em; - } -} - -@media screen and (max-width: 30em) { - .htmleaf-header h1 { - font-size:1.2em; - } -} \ No newline at end of file +hr{ + border: 0; +} +.button-success, +.button-error, +.button-warning, +.button-secondary { + color: white; + border-radius: 4px; + text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); +} + +.button-success { + background: rgb(28, 184, 65); /* this is a green */ +} + +.button-error { + background: rgb(202, 60, 60); /* this is a maroon */ +} + +.button-warning { + background: rgb(223, 117, 20); /* this is an orange */ +} + +.button-secondary { + background: rgb(66, 184, 221); /* this is a light blue */ +} +.bigbox{ + top: 0; + bottom: 0; + left: 0; + right: 0; + position: absolute; + width: 100%; + height: 100%; + overflow: hidden; +} +.title{ + border-bottom: 1px solid #ddd; +} +#screen{ + height: 100%; + overflow: hidden; +} +#blocklist{ + height: 100%; + overflow-y: scroll; + overflow-x: hidden; +} +.appname{ + padding: 0 30px 0 20px; + letter-spacing: .1em; +} +.bookmark_info{ + letter-spacing: .1em; + padding: 10px; +} +#frame{ + top: 0; + bottom: 0; + left: 0; + right: 0; + width: 100%; + height: 100%; +} +#frame iframe{ + width:100%; + height:100%; + border: 0; +} +#bookmark_title{ + font-weight: bolder; +} diff --git a/css/font-awesome.min.css b/css/font-awesome.min.css deleted file mode 100644 index 1ab861b..0000000 --- a/css/font-awesome.min.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! - * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.3.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0, 0)}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-genderless:before,.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"} \ No newline at end of file diff --git a/css/normalize.css b/css/normalize.css deleted file mode 100644 index 77feb20..0000000 --- a/css/normalize.css +++ /dev/null @@ -1 +0,0 @@ -article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;} \ No newline at end of file diff --git a/css/pure-min.css b/css/pure-min.css new file mode 100755 index 0000000..f0aa374 --- /dev/null +++ b/css/pure-min.css @@ -0,0 +1,11 @@ +/*! +Pure v0.6.0 +Copyright 2014 Yahoo! Inc. All rights reserved. +Licensed under the BSD License. +https://github.com/yahoo/pure/blob/master/LICENSE.md +*/ +/*! +normalize.css v^3.0 | MIT License | git.io/normalize +Copyright (c) Nicolas Gallagher and Jonathan Neal +*/ +/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.hidden,[hidden]{display:none!important}.pure-img{max-width:100%;height:auto;display:block}.pure-g{letter-spacing:-.31em;*letter-spacing:normal;*word-spacing:-.43em;text-rendering:optimizespeed;font-family:FreeSans,Arimo,"Droid Sans",Helvetica,Arial,sans-serif;display:-webkit-flex;-webkit-flex-flow:row wrap;display:-ms-flexbox;-ms-flex-flow:row wrap;-ms-align-content:flex-start;-webkit-align-content:flex-start;align-content:flex-start}.opera-only :-o-prefocus,.pure-g{word-spacing:-.43em}.pure-u{display:inline-block;*display:inline;zoom:1;letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-g [class *="pure-u"]{font-family:sans-serif}.pure-u-1,.pure-u-1-1,.pure-u-1-2,.pure-u-1-3,.pure-u-2-3,.pure-u-1-4,.pure-u-3-4,.pure-u-1-5,.pure-u-2-5,.pure-u-3-5,.pure-u-4-5,.pure-u-5-5,.pure-u-1-6,.pure-u-5-6,.pure-u-1-8,.pure-u-3-8,.pure-u-5-8,.pure-u-7-8,.pure-u-1-12,.pure-u-5-12,.pure-u-7-12,.pure-u-11-12,.pure-u-1-24,.pure-u-2-24,.pure-u-3-24,.pure-u-4-24,.pure-u-5-24,.pure-u-6-24,.pure-u-7-24,.pure-u-8-24,.pure-u-9-24,.pure-u-10-24,.pure-u-11-24,.pure-u-12-24,.pure-u-13-24,.pure-u-14-24,.pure-u-15-24,.pure-u-16-24,.pure-u-17-24,.pure-u-18-24,.pure-u-19-24,.pure-u-20-24,.pure-u-21-24,.pure-u-22-24,.pure-u-23-24,.pure-u-24-24{display:inline-block;*display:inline;zoom:1;letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-u-1-24{width:4.1667%;*width:4.1357%}.pure-u-1-12,.pure-u-2-24{width:8.3333%;*width:8.3023%}.pure-u-1-8,.pure-u-3-24{width:12.5%;*width:12.469%}.pure-u-1-6,.pure-u-4-24{width:16.6667%;*width:16.6357%}.pure-u-1-5{width:20%;*width:19.969%}.pure-u-5-24{width:20.8333%;*width:20.8023%}.pure-u-1-4,.pure-u-6-24{width:25%;*width:24.969%}.pure-u-7-24{width:29.1667%;*width:29.1357%}.pure-u-1-3,.pure-u-8-24{width:33.3333%;*width:33.3023%}.pure-u-3-8,.pure-u-9-24{width:37.5%;*width:37.469%}.pure-u-2-5{width:40%;*width:39.969%}.pure-u-5-12,.pure-u-10-24{width:41.6667%;*width:41.6357%}.pure-u-11-24{width:45.8333%;*width:45.8023%}.pure-u-1-2,.pure-u-12-24{width:50%;*width:49.969%}.pure-u-13-24{width:54.1667%;*width:54.1357%}.pure-u-7-12,.pure-u-14-24{width:58.3333%;*width:58.3023%}.pure-u-3-5{width:60%;*width:59.969%}.pure-u-5-8,.pure-u-15-24{width:62.5%;*width:62.469%}.pure-u-2-3,.pure-u-16-24{width:66.6667%;*width:66.6357%}.pure-u-17-24{width:70.8333%;*width:70.8023%}.pure-u-3-4,.pure-u-18-24{width:75%;*width:74.969%}.pure-u-19-24{width:79.1667%;*width:79.1357%}.pure-u-4-5{width:80%;*width:79.969%}.pure-u-5-6,.pure-u-20-24{width:83.3333%;*width:83.3023%}.pure-u-7-8,.pure-u-21-24{width:87.5%;*width:87.469%}.pure-u-11-12,.pure-u-22-24{width:91.6667%;*width:91.6357%}.pure-u-23-24{width:95.8333%;*width:95.8023%}.pure-u-1,.pure-u-1-1,.pure-u-5-5,.pure-u-24-24{width:100%}.pure-button{display:inline-block;zoom:1;line-height:normal;white-space:nowrap;vertical-align:middle;text-align:center;cursor:pointer;-webkit-user-drag:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.pure-button::-moz-focus-inner{padding:0;border:0}.pure-button{font-family:inherit;font-size:100%;padding:.5em 1em;color:#444;color:rgba(0,0,0,.8);border:1px solid #999;border:0 rgba(0,0,0,0);background-color:#E6E6E6;text-decoration:none;border-radius:2px}.pure-button-hover,.pure-button:hover,.pure-button:focus{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000', GradientType=0);background-image:-webkit-gradient(linear,0 0,0 100%,from(transparent),color-stop(40%,rgba(0,0,0,.05)),to(rgba(0,0,0,.1)));background-image:-webkit-linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1));background-image:-moz-linear-gradient(top,rgba(0,0,0,.05) 0,rgba(0,0,0,.1));background-image:-o-linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1));background-image:linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1))}.pure-button:focus{outline:0}.pure-button-active,.pure-button:active{box-shadow:0 0 0 1px rgba(0,0,0,.15) inset,0 0 6px rgba(0,0,0,.2) inset;border-color:#000\9}.pure-button[disabled],.pure-button-disabled,.pure-button-disabled:hover,.pure-button-disabled:focus,.pure-button-disabled:active{border:0;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);filter:alpha(opacity=40);-khtml-opacity:.4;-moz-opacity:.4;opacity:.4;cursor:not-allowed;box-shadow:none}.pure-button-hidden{display:none}.pure-button::-moz-focus-inner{padding:0;border:0}.pure-button-primary,.pure-button-selected,a.pure-button-primary,a.pure-button-selected{background-color:#0078e7;color:#fff}.pure-form input[type=text],.pure-form input[type=password],.pure-form input[type=email],.pure-form input[type=url],.pure-form input[type=date],.pure-form input[type=month],.pure-form input[type=time],.pure-form input[type=datetime],.pure-form input[type=datetime-local],.pure-form input[type=week],.pure-form input[type=number],.pure-form input[type=search],.pure-form input[type=tel],.pure-form input[type=color],.pure-form select,.pure-form textarea{padding:.5em .6em;display:inline-block;border:1px solid #ccc;box-shadow:inset 0 1px 3px #ddd;border-radius:4px;vertical-align:middle;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.pure-form input:not([type]){padding:.5em .6em;display:inline-block;border:1px solid #ccc;box-shadow:inset 0 1px 3px #ddd;border-radius:4px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.pure-form input[type=color]{padding:.2em .5em}.pure-form input[type=text]:focus,.pure-form input[type=password]:focus,.pure-form input[type=email]:focus,.pure-form input[type=url]:focus,.pure-form input[type=date]:focus,.pure-form input[type=month]:focus,.pure-form input[type=time]:focus,.pure-form input[type=datetime]:focus,.pure-form input[type=datetime-local]:focus,.pure-form input[type=week]:focus,.pure-form input[type=number]:focus,.pure-form input[type=search]:focus,.pure-form input[type=tel]:focus,.pure-form input[type=color]:focus,.pure-form select:focus,.pure-form textarea:focus{outline:0;border-color:#129FEA}.pure-form input:not([type]):focus{outline:0;border-color:#129FEA}.pure-form input[type=file]:focus,.pure-form input[type=radio]:focus,.pure-form input[type=checkbox]:focus{outline:thin solid #129FEA;outline:1px auto #129FEA}.pure-form .pure-checkbox,.pure-form .pure-radio{margin:.5em 0;display:block}.pure-form input[type=text][disabled],.pure-form input[type=password][disabled],.pure-form input[type=email][disabled],.pure-form input[type=url][disabled],.pure-form input[type=date][disabled],.pure-form input[type=month][disabled],.pure-form input[type=time][disabled],.pure-form input[type=datetime][disabled],.pure-form input[type=datetime-local][disabled],.pure-form input[type=week][disabled],.pure-form input[type=number][disabled],.pure-form input[type=search][disabled],.pure-form input[type=tel][disabled],.pure-form input[type=color][disabled],.pure-form select[disabled],.pure-form textarea[disabled]{cursor:not-allowed;background-color:#eaeded;color:#cad2d3}.pure-form input:not([type])[disabled]{cursor:not-allowed;background-color:#eaeded;color:#cad2d3}.pure-form input[readonly],.pure-form select[readonly],.pure-form textarea[readonly]{background-color:#eee;color:#777;border-color:#ccc}.pure-form input:focus:invalid,.pure-form textarea:focus:invalid,.pure-form select:focus:invalid{color:#b94a48;border-color:#e9322d}.pure-form input[type=file]:focus:invalid:focus,.pure-form input[type=radio]:focus:invalid:focus,.pure-form input[type=checkbox]:focus:invalid:focus{outline-color:#e9322d}.pure-form select{height:2.25em;border:1px solid #ccc;background-color:#fff}.pure-form select[multiple]{height:auto}.pure-form label{margin:.5em 0 .2em}.pure-form fieldset{margin:0;padding:.35em 0 .75em;border:0}.pure-form legend{display:block;width:100%;padding:.3em 0;margin-bottom:.3em;color:#333;border-bottom:1px solid #e5e5e5}.pure-form-stacked input[type=text],.pure-form-stacked input[type=password],.pure-form-stacked input[type=email],.pure-form-stacked input[type=url],.pure-form-stacked input[type=date],.pure-form-stacked input[type=month],.pure-form-stacked input[type=time],.pure-form-stacked input[type=datetime],.pure-form-stacked input[type=datetime-local],.pure-form-stacked input[type=week],.pure-form-stacked input[type=number],.pure-form-stacked input[type=search],.pure-form-stacked input[type=tel],.pure-form-stacked input[type=color],.pure-form-stacked input[type=file],.pure-form-stacked select,.pure-form-stacked label,.pure-form-stacked textarea{display:block;margin:.25em 0}.pure-form-stacked input:not([type]){display:block;margin:.25em 0}.pure-form-aligned input,.pure-form-aligned textarea,.pure-form-aligned select,.pure-form-aligned .pure-help-inline,.pure-form-message-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle}.pure-form-aligned textarea{vertical-align:top}.pure-form-aligned .pure-control-group{margin-bottom:.5em}.pure-form-aligned .pure-control-group label{text-align:right;display:inline-block;vertical-align:middle;width:10em;margin:0 1em 0 0}.pure-form-aligned .pure-controls{margin:1.5em 0 0 11em}.pure-form input.pure-input-rounded,.pure-form .pure-input-rounded{border-radius:2em;padding:.5em 1em}.pure-form .pure-group fieldset{margin-bottom:10px}.pure-form .pure-group input,.pure-form .pure-group textarea{display:block;padding:10px;margin:0 0 -1px;border-radius:0;position:relative;top:-1px}.pure-form .pure-group input:focus,.pure-form .pure-group textarea:focus{z-index:3}.pure-form .pure-group input:first-child,.pure-form .pure-group textarea:first-child{top:1px;border-radius:4px 4px 0 0;margin:0}.pure-form .pure-group input:first-child:last-child,.pure-form .pure-group textarea:first-child:last-child{top:1px;border-radius:4px;margin:0}.pure-form .pure-group input:last-child,.pure-form .pure-group textarea:last-child{top:-2px;border-radius:0 0 4px 4px;margin:0}.pure-form .pure-group button{margin:.35em 0}.pure-form .pure-input-1{width:100%}.pure-form .pure-input-2-3{width:66%}.pure-form .pure-input-1-2{width:50%}.pure-form .pure-input-1-3{width:33%}.pure-form .pure-input-1-4{width:25%}.pure-form .pure-help-inline,.pure-form-message-inline{display:inline-block;padding-left:.3em;color:#666;vertical-align:middle;font-size:.875em}.pure-form-message{display:block;color:#666;font-size:.875em}@media only screen and (max-width :480px){.pure-form button[type=submit]{margin:.7em 0 0}.pure-form input:not([type]),.pure-form input[type=text],.pure-form input[type=password],.pure-form input[type=email],.pure-form input[type=url],.pure-form input[type=date],.pure-form input[type=month],.pure-form input[type=time],.pure-form input[type=datetime],.pure-form input[type=datetime-local],.pure-form input[type=week],.pure-form input[type=number],.pure-form input[type=search],.pure-form input[type=tel],.pure-form input[type=color],.pure-form label{margin-bottom:.3em;display:block}.pure-group input:not([type]),.pure-group input[type=text],.pure-group input[type=password],.pure-group input[type=email],.pure-group input[type=url],.pure-group input[type=date],.pure-group input[type=month],.pure-group input[type=time],.pure-group input[type=datetime],.pure-group input[type=datetime-local],.pure-group input[type=week],.pure-group input[type=number],.pure-group input[type=search],.pure-group input[type=tel],.pure-group input[type=color]{margin-bottom:0}.pure-form-aligned .pure-control-group label{margin-bottom:.3em;text-align:left;display:block;width:100%}.pure-form-aligned .pure-controls{margin:1.5em 0 0}.pure-form .pure-help-inline,.pure-form-message-inline,.pure-form-message{display:block;font-size:.75em;padding:.2em 0 .8em}}.pure-menu{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.pure-menu-fixed{position:fixed;left:0;top:0;z-index:3}.pure-menu-list,.pure-menu-item{position:relative}.pure-menu-list{list-style:none;margin:0;padding:0}.pure-menu-item{padding:0;margin:0;height:100%}.pure-menu-link,.pure-menu-heading{display:block;text-decoration:none;white-space:nowrap}.pure-menu-horizontal{width:100%;white-space:nowrap}.pure-menu-horizontal .pure-menu-list{display:inline-block}.pure-menu-horizontal .pure-menu-item,.pure-menu-horizontal .pure-menu-heading,.pure-menu-horizontal .pure-menu-separator{display:inline-block;*display:inline;zoom:1;vertical-align:middle}.pure-menu-item .pure-menu-item{display:block}.pure-menu-children{display:none;position:absolute;left:100%;top:0;margin:0;padding:0;z-index:3}.pure-menu-horizontal .pure-menu-children{left:0;top:auto;width:inherit}.pure-menu-allow-hover:hover>.pure-menu-children,.pure-menu-active>.pure-menu-children{display:block;position:absolute}.pure-menu-has-children>.pure-menu-link:after{padding-left:.5em;content:"\25B8";font-size:small}.pure-menu-horizontal .pure-menu-has-children>.pure-menu-link:after{content:"\25BE"}.pure-menu-scrollable{overflow-y:scroll;overflow-x:hidden}.pure-menu-scrollable .pure-menu-list{display:block}.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list{display:inline-block}.pure-menu-horizontal.pure-menu-scrollable{white-space:nowrap;overflow-y:hidden;overflow-x:auto;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;padding:.5em 0}.pure-menu-horizontal.pure-menu-scrollable::-webkit-scrollbar{display:none}.pure-menu-separator{background-color:#ccc;height:1px;margin:.3em 0}.pure-menu-horizontal .pure-menu-separator{width:1px;height:1.3em;margin:0 .3em}.pure-menu-heading{text-transform:uppercase;color:#565d64}.pure-menu-link{color:#777}.pure-menu-children{background-color:#fff}.pure-menu-link,.pure-menu-disabled,.pure-menu-heading{padding:.5em 1em}.pure-menu-disabled{opacity:.5}.pure-menu-disabled .pure-menu-link:hover{background-color:transparent}.pure-menu-active>.pure-menu-link,.pure-menu-link:hover,.pure-menu-link:focus{background-color:#eee}.pure-menu-selected .pure-menu-link,.pure-menu-selected .pure-menu-link:visited{color:#000}.pure-table{border-collapse:collapse;border-spacing:0;empty-cells:show;border:1px solid #cbcbcb}.pure-table caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.pure-table td,.pure-table th{border-left:1px solid #cbcbcb;border-width:0 0 0 1px;font-size:inherit;margin:0;overflow:visible;padding:.5em 1em}.pure-table td:first-child,.pure-table th:first-child{border-left-width:0}.pure-table thead{background-color:#e0e0e0;color:#000;text-align:left;vertical-align:bottom}.pure-table td{background-color:transparent}.pure-table-odd td{background-color:#f2f2f2}.pure-table-striped tr:nth-child(2n-1) td{background-color:#f2f2f2}.pure-table-bordered td{border-bottom:1px solid #cbcbcb}.pure-table-bordered tbody>tr:last-child>td{border-bottom-width:0}.pure-table-horizontal td,.pure-table-horizontal th{border-width:0 0 1px;border-bottom:1px solid #cbcbcb}.pure-table-horizontal tbody>tr:last-child>td{border-bottom-width:0} \ No newline at end of file diff --git a/css/styles.css b/css/styles.css deleted file mode 100644 index aef6b3c..0000000 --- a/css/styles.css +++ /dev/null @@ -1,594 +0,0 @@ -*, *:after, *:before { - box-sizing: border-box; -} - -body { - text-align: center; - background: #eee; -} - -section { - float: left; - min-width: 150px; - width: 33.33%; - padding: 25px 0; - min-height: 100px; -} - -#msg { - visibility: hidden; - color: red; - font-size: 9px; -} - -.btn-group { - margin: 10px 0; -} - -.btn { - -webkit-appearance: none; - -webkit-user-select: none; - align-items: flex-start; - background-color: #329043; - background-image: none; - border-bottom-color: #329043; - border-bottom-left-radius: 4px; - border-bottom-right-radius: 4px; - border-bottom-style: solid; - border-bottom-width: 1px; - border-image-outset: 0px; - border-image-repeat: stretch; - border-image-slice: 100%; - border-image-source: none; - border-image-width: 1; - border-left-color: #329043; - border-left-style: solid; - border-left-width: 1px; - border-right-color: #329043; - border-right-style: solid; - border-right-width: 1px; - border-top-color: #329043; - border-top-left-radius: 4px; - border-top-right-radius: 4px; - border-top-style: solid; - border-top-width: 1px; - box-sizing: border-box; - color: rgb(255, 255, 255); - cursor: pointer; - display: inline-block; - font-family: 'Helvetica Neue', Helvetica, 'Microsoft Yahei', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif; - font-size: 14px; - font-stretch: normal; - font-style: normal; - font-variant: normal; - font-weight: normal; - height: 34px; - letter-spacing: normal; - line-height: 20px; - margin-bottom: 5px; - margin-left: 0px; - margin-right: 0px; - margin-top: 5px; - overflow-x: visible; - overflow-y: visible; - padding-bottom: 6px; - padding-left: 12px; - padding-right: 12px; - padding-top: 6px; - text-align: center; - text-decoration: none; - text-indent: 0px; - text-rendering: auto; - text-shadow: none; - text-transform: none; - touch-action: manipulation; - vertical-align: middle; - white-space: nowrap; - width: 90px; - word-spacing: 0px; - writing-mode: lr-tb; - -webkit-writing-mode: horizontal-tb; -} - -.btn_grey{ - background-color: #777; - border-color: #777; -} - -/*=====================*/ -.checkbox { - position: relative; - display: inline-block; -} -.checkbox:after, .checkbox:before { - font-family: FontAwesome; - -webkit-font-feature-settings: normal; - -moz-font-feature-settings: normal; - font-feature-settings: normal; - -webkit-font-kerning: auto; - -moz-font-kerning: auto; - font-kerning: auto; - -webkit-font-language-override: normal; - -moz-font-language-override: normal; - font-language-override: normal; - font-stretch: normal; - font-style: normal; - font-synthesis: weight style; - font-variant: normal; - font-weight: normal; - text-rendering: auto; -} -.checkbox label { - width: 90px; - height: 42px; - background: #ccc; - position: relative; - display: inline-block; - border-radius: 46px; - -webkit-transition: 0.4s; - transition: 0.4s; -} -.checkbox label:after { - content: ''; - position: absolute; - width: 50px; - height: 50px; - border-radius: 100%; - left: 0; - top: -5px; - z-index: 2; - background: #fff; - box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); - -webkit-transition: 0.4s; - transition: 0.4s; -} -.checkbox input { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - z-index: 5; - opacity: 0; - cursor: pointer; -} -.checkbox input:hover + label:after { - box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.15); -} -.checkbox input:checked + label:after { - left: 40px; -} - -.model-1 .checkbox input:checked + label { - background: #376ecb; -} -.model-1 .checkbox input:checked + label:after { - background: #4285F4; -} - -.model-2 .checkbox label { - width: 75px; -} -.model-2 .checkbox label:after { - top: 0; - width: 42px; - height: 42px; -} -.model-2 .checkbox input:checked + label { - background: #4BD865; -} -.model-2 .checkbox input:checked + label:after { - left: 35px; -} - -.model-3 .checkbox label { - background: #fff; - border: 1px solid #eee; - height: 38px; -} -.model-3 .checkbox label:after { - background: #bbb; - top: 3px; - left: 5px; - width: 30px; - height: 30px; -} -.model-3 .checkbox input:checked + label:after { - background: #3eb454; - left: 55px; -} - -.model-4 .checkbox label { - background: #bbb; - height: 25px; - width: 75px; -} -.model-4 .checkbox label:after { - background: #fff; - top: -8px; - width: 38px; - height: 38px; -} -.model-4 .checkbox input:checked + label { - background: #77C2BB; -} -.model-4 .checkbox input:checked + label:after { - background: #009688; - left: 40px; -} - -.model-5 .checkbox label { - background: #bbb; - height: 15px; - width: 85px; -} -.model-5 .checkbox label:after { - background: #fff; - top: -12px; - width: 36px; - height: 36px; -} -.model-5 .checkbox input:hover + label:after { - -ms-transform: scale(1.4, 1.4); - -webkit-transform: scale(1.4, 1.4); - transform: scale(1.4, 1.4); -} -.model-5 .checkbox input:checked + label { - background: #b66c0a; -} -.model-5 .checkbox input:checked + label:after { - background: #FF980F; - left: 50px; -} - -.model-6 .checkbox label { - background: #bbb; - height: 2px; - width: 60px; -} -.model-6 .checkbox label:after { - background: #bbb; - top: -16px; - width: 32px; - height: 32px; -} -.model-6 .checkbox input:checked + label { - background: #376ecb; -} -.model-6 .checkbox input:checked + label:after { - background: #4285F4; - left: 40px; -} - -.model-7 .checkbox label { - background: none; - border: 5px solid #555; - height: 42px; -} -.model-7 .checkbox label:after { - background: #555; - box-shadow: none; - top: 2px; - left: 2px; - width: 28px; - height: 28px; -} -.model-7 .checkbox input:checked + label { - border-color: #329043; -} -.model-7 .checkbox input:checked + label:after { - background: #3eb454; - left: 50px; -} - -.model-8 .checkbox label { - background: #ddd; - width: 95px; - border-radius: 10px; -} -.model-8 .checkbox label:after { - background: #fff; - border-radius: 10px; - top: 0; - width: 60px; - height: 42px; -} -.model-8 .checkbox input:checked + label { - background: #FF980F; -} -.model-8 .checkbox input:checked + label:after { - left: 35px; -} - -.model-9 .checkbox label { - background: #aaa; - width: 90px; - height: 32px; - border-radius: 20px; -} -.model-9 .checkbox label:after { - border-radius: 20px; - top: 0; - width: 50px; - height: 32px; -} -.model-9 .checkbox input:checked + label { - background: #256c32; -} -.model-9 .checkbox input:checked + label:after { - background: #359a48; - left: 40px; -} - -.model-10 .checkbox:after { - content: '\f00d'; - color: #aaa; - position: relative; - right: 30px; - bottom: 15px; -} -.model-10 .checkbox:before { - content: '\f00c'; - position: relative; - left: 35px; - bottom: 15px; - color: #fff; - z-index: 1; -} -.model-10 .checkbox label { - width: 80px; - background: #EAEAEA; - box-shadow: 0 0 1px 2px rgba(0, 0, 0, 0.15); -} -.model-10 .checkbox label:after { - top: 0; - width: 42px; - height: 42px; -} -.model-10 .checkbox input:checked + label { - background: #4BD865; -} -.model-10 .checkbox input:checked + label:after { - left: 40px; -} - -.model-11 .checkbox:after, .model-11 .checkbox:before { - content: 'OFF'; - position: absolute; - right: 10px; - top: 10px; - font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; - font-size: 12px; - color: #90201F; -} -.model-11 .checkbox:before { - content: 'ON'; - left: -40px; - z-index: 1; - color: #256c32; -} -.model-11 .checkbox label { - background: #E3666C; - height: 32px; - border-radius: 0; - box-shadow: 0 0 1px 2px rgba(0, 0, 0, 0.2); -} -.model-11 .checkbox label:after { - background-color: #ffffff; - *zoom: 1; - filter: progid:DXImageTransform.Microsoft.gradient(gradientType=1, startColorstr='#FFFFFFFF', endColorstr='#FFFFFFFF'); - background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIzMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiLz48c3RvcCBvZmZzZXQ9IjQ1JSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIi8+PHN0b3Agb2Zmc2V0PSI1NSUiIHN0b3AtY29sb3I9IiNkZGRkZGQiLz48c3RvcCBvZmZzZXQ9IjcwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); - background-size: 100%; - background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(30%, #ffffff), color-stop(45%, #dddddd), color-stop(50%, #ffffff), color-stop(55%, #dddddd), color-stop(70%, #ffffff)); - background-image: -webkit-linear-gradient(left, #ffffff 30%, #dddddd 45%, #ffffff 50%, #dddddd 55%, #ffffff 70%); - background-image: linear-gradient(to right, #ffffff 30%, #dddddd 45%, #ffffff 50%, #dddddd 55%, #ffffff 70%); - border-radius: 0; - box-shadow: none !important; - -webkit-transition: 0.1s; - transition: 0.1s; - top: 0; - width: 50px; - height: 32px; -} -.model-11 .checkbox input:checked + label { - background: #4BD865; -} -.model-11 .checkbox input:checked + label:after { - left: 40px; -} - -.model-12 .checkbox { - background: #2B2B2D; - height: 40px; - width: 160px; - border-radius: 50px; -} -.model-12 .checkbox:after, .model-12 .checkbox:before { - content: 'ON'; - font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; - line-height: 40px; - font-size: 12px; -} -.model-12 .checkbox:before { - content: 'OFF'; - z-index: 1; -} -.model-12 .checkbox label { - background: #1E1E1E; - height: 10px; - width: 70px; - margin: 0 5px; - box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.3) inset; -} -.model-12 .checkbox label:after { - background-color: #3F4545; - background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY2NjY2NiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzNmNDU0NSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); - background-size: 100%; - background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #666666), color-stop(100%, #3f4545)); - background-image: -webkit-linear-gradient(top, #666666 0%, #3f4545 100%); - background-image: linear-gradient(to bottom, #666666 0%, #3f4545 100%); - top: -9px; - width: 27px; - height: 27px; -} -.model-12 .checkbox label:before { - content: ''; - position: absolute; - width: 14px; - height: 14px; - border-radius: 100%; - -webkit-transition: 0.4s; - transition: 0.4s; - background: #151515; - z-index: 3; - left: 7px; - top: -2px; -} -.model-12 .checkbox input:checked + label:after { - left: 45px; -} -.model-12 .checkbox input:checked + label:before { - background: #94DA00; - box-shadow: 0 0 5px #94DA00; - left: 52px; -} - -.model-13 .checkbox:after { - content: 'OFF'; - font-family: Arial; - position: absolute; - color: #666; - top: 12px; - right: 15px; -} -.model-13 .checkbox label { - background: none; - border: 3px solid #777; - height: 40px; - border-radius: 20px; -} -.model-13 .checkbox label:after { - content: 'ON'; - font-family: Arial; - color: #fff; - line-height: 28px; - text-indent: 100px; - background: #777; - overflow: hidden; - box-shadow: none; - border-radius: 14px; - -ms-transform: translateX(-50px); - -webkit-transform: translateX(-50px); - transform: translateX(-50px); - -moz-transition: all 0.4s 0.2s, width 0.2s linear, text-indent 0.4s linear; - -o-transition: all 0.4s 0.2s, width 0.2s linear, text-indent 0.4s linear; - -webkit-transition: all 0.4s, width 0.2s linear, text-indent 0.4s linear; - -webkit-transition-delay: 0.2s, 0s, 0s; - -webkit-transition: all 0.4s 0.2s, width 0.2s linear, text-indent 0.4s linear; - transition: all 0.4s 0.2s, width 0.2s linear, text-indent 0.4s linear; - top: 3px; - left: auto; - right: 2px; - width: 28px; - height: 28px; -} -.model-13 .checkbox input:checked + label { - border-color: #329043; -} -.model-13 .checkbox input:checked + label:after { - background: #3eb454; - left: auto; - -ms-transform: translateX(0px); - -webkit-transform: translateX(0px); - transform: translateX(0px); - -moz-transition: all 0.4s, width 0.2s linear 0.4s, text-indent 0.3s linear 0.4s; - -o-transition: all 0.4s, width 0.2s linear 0.4s, text-indent 0.3s linear 0.4s; - -webkit-transition: all 0.4s, width 0.2s linear, text-indent 0.3s linear; - -webkit-transition-delay: 0s, 0.4s, 0.4s; - -webkit-transition: all 0.4s, width 0.2s linear 0.4s, text-indent 0.3s linear 0.4s; - transition: all 0.4s, width 0.2s linear 0.4s, text-indent 0.3s linear 0.4s; - width: 80px; - text-indent: 0; -} - -.model-14 .checkbox:after, .model-14 .checkbox:before { - content: 'OFF'; - position: absolute; - right: 10px; - top: 10px; - font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; - font-size: 12px; - color: #90201F; -} -.model-14 .checkbox:before { - content: 'ON'; - left: -40px; - z-index: 1; - color: #256c32; -} -.model-14 .checkbox label { - background: #fff; - height: 32px; - border-radius: 0; - box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); -} -.model-14 .checkbox label:after { - background: #90201F; - border-radius: 0; - box-shadow: none !important; - -webkit-transition: 0.3s; - transition: 0.3s; - top: 0; - width: 40px; - height: 32px; -} -.model-14 .checkbox input:checked + label:after { - background: #4BD865; - left: 50px; -} - -.model-15 .checkbox { - width: 94px; - height: 34px; - border: 2px solid #ddd; - background: #256c32; - border-radius: 6px; - overflow: hidden; -} -.model-15 .checkbox:after, .model-15 .checkbox label:before { - content: 'ON'; - position: absolute; - left: 10px; - top: 8px; - font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; - font-size: 12px; - color: #fff; -} -.model-15 .checkbox label:before { - content: 'OFF'; - left: auto; - top: 8px; - right: 10px; - z-index: 1; -} -.model-15 .checkbox label { - background: #f00; - width: 90px; - height: 32px; - border-radius: 4px; -} -.model-15 .checkbox label:after { - border-radius: 4px; - box-shadow: none !important; - top: 0; - width: 50px; - height: 32px; -} -.model-15 .checkbox input:checked + label { - -ms-transform: translateX(40px); - -webkit-transform: translateX(40px); - transform: translateX(40px); -} -.model-15 .checkbox input:checked + label:after { - left: 0; -} diff --git a/img/background.png b/img/background.png deleted file mode 100644 index 63e0375..0000000 Binary files a/img/background.png and /dev/null differ diff --git a/js/background.js b/js/background.js index 322ec96..b51fd35 100644 --- a/js/background.js +++ b/js/background.js @@ -1,27 +1,18 @@ -//init popicon -/*var pop_icon = { - "19": "img/icon-19.png", - "38": "img/icon-38.png" -}, -pop_icon_black = { - "19": "img/icon-19-black.png", - "38": "img/icon-38-black.png" -}; -if(ConfigObj.get('isopen')){ - chrome.browserAction.setIcon({path:pop_icon}); -} else { - chrome.browserAction.setIcon({path:pop_icon_black}); +//清空之前版本的数据 +if(window.localStorage.curt_index==undefined){ + window.localStorage.clear(); + indexedDB.deleteDatabase('bookmarks'); } +//google analytics +var cpa_obj = new Cpa(); +var uid = GetUid.get(); - -chrome.bookmarks.onRemoved.addListener(function(){}); -chrome.bookmarks.onChanged.addListener(function(){}); -chrome.bookmarks.onMoved.addListener(function(){}); - -chrome.notifications.onButtonClicked.addListener(function(){}); -chrome.notifications.onClosed.addListener(function(){});*/ -Bookmark.init();//数据初始化 - +//数据初始化 +Bookmark.init(); +if(window.localStorage.preview_switch==undefined){ + window.localStorage.preview_switch = 'on'; +} +//与前端页面通讯 chrome.runtime.onConnect.addListener(function(port) { console.assert(port.name == "bookmark_manager_ety001"); port.onMessage.addListener(function(msg) { @@ -29,16 +20,33 @@ chrome.runtime.onConnect.addListener(function(port) { var cdata = msg.cdata; switch (ctype) { case 'lang': - port.postMessage({ctype:ctype, cdata:chrome.i18n.getMessage(cdata)}); + var res_lang = {}; + for(var i in cdata){ + res_lang[cdata[i]] = chrome.i18n.getMessage(cdata[i]); + } + port.postMessage({ctype:ctype, cdata:res_lang}); break; case 'getbookmark': Bookmark.get_from_local(function(bm){ - console.log('get_bookmark_ok',bm); + //console.log('get_bookmark_ok',bm); + cpa_obj.sendAppView("openbookmark_"+bm.title); port.postMessage({ctype:ctype, cdata: bm}); }); break; + case 'block': + cpa_obj.sendEvent('Block', uid); + Bookmark.set_jump(cdata); + port.postMessage({ctype:ctype, cdata: true}); + break; + case 'remove_bookmark': + cpa_obj.sendEvent('rm_bookmark', uid); + Bookmark.rm_bookmark_by_id(cdata, function(){ + port.postMessage({ctype:ctype, cdata: true}); + }); + break; }; }); }); +//绑定书签事件 chrome.bookmarks.onCreated.addListener(Bookmark.add_bookmark); chrome.bookmarks.onRemoved.addListener(Bookmark.rm_bookmark); diff --git a/js/bookmark.js b/js/bookmark.js index 6ace76a..4f25d14 100644 --- a/js/bookmark.js +++ b/js/bookmark.js @@ -78,7 +78,7 @@ var Bookmark = { if(Bookmark.total==0)return false; //get next index Bookmark.curt_index = Bookmark.find_next_index(); - console.log('index',Bookmark.curt_index); + //console.log('index',Bookmark.curt_index); //get bookmark chrome.bookmarks.get(Bookmark.list[Bookmark.curt_index], callback); //persist @@ -100,8 +100,13 @@ var Bookmark = { } }, //设置一个书签跳过 - set_jump: function(tab_id){ - Bookmark.jump[tab_id] = 1; + set_jump: function(tab_id, val){ + if(val==undefined)val=1; + if(val==1){ + Bookmark.jump[tab_id] = val; + } else { + delete(Bookmark.jump[tab_id]); + } Bookmark.persist_jump(); }, //添加一个书签 @@ -126,6 +131,9 @@ var Bookmark = { } Bookmark.get_bookmark(); }, + rm_bookmark_by_id: function(id, callback){ + chrome.bookmarks.remove(id, callback); + }, //删除书签目录 rm_folder: function(node){ for(var i in node){ diff --git a/js/libs.js b/js/libs.js index 79bafd1..ff47e53 100644 --- a/js/libs.js +++ b/js/libs.js @@ -1,37 +1,10 @@ //google-analytics var Cpa = function(){ var service = analytics.getService('review-bookmarks'); - var tracker = service.getTracker('UA-64832923-1'); + var tracker = service.getTracker('UA-64832923-4'); return tracker; } -var NotificationObj = { - get: function(notification_id){ - var n = window.localStorage.notification_list; - if(n){ - n = JSON.parse( n ); - var r = n[notification_id]; - delete(n[notification_id]); - return r; - } else { - return false; - } - }, - save: function(notification_id, bookmark_data_index){ - if(window.localStorage.notification_list){ - var n = JSON.parse( window.localStorage.notification_list ); - } else { - var n = {}; - } - n[notification_id] = bookmark_data_index; - window.localStorage.notification_list = JSON.stringify( n ); - }, - clearcache: function(){ - var n = {}; - window.localStorage.notification_list = JSON.stringify(n); - } -}; - var Common = { is_debug: true, show_msg: function(title, msg, btn, notification_id, callback){ @@ -82,36 +55,13 @@ var GetUid = { var d = new Date(); var uid = Common.random_str() + d.getSeconds() + d.getMinutes() + d.getMilliseconds(); window.localStorage.uid = uid; + var cpa_obj = new Cpa(); + cpa_obj.sendEvent('Users', uid); } return uid; } } -var ConfigObj = { - save: function(key, val){ - if(window.localStorage.config){ - var c = JSON.parse( window.localStorage.config ); - } else { - var c = {}; - } - c[key] = val; - window.localStorage.config = JSON.stringify( c ); - }, - get: function(key){ - var c = window.localStorage.config; - if(c){ - c = JSON.parse( c ); - return c[key]; - } else { - return false; - } - }, - clearcache: function(){ - var c = {}; - window.localStorage.config = JSON.stringify(c); - } -} - // 对Date的扩展,将 Date 转化为指定格式的String // 月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符, // 年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字) diff --git a/js/popup.js b/js/popup.js deleted file mode 100644 index 580a977..0000000 --- a/js/popup.js +++ /dev/null @@ -1,62 +0,0 @@ -$(function() { - var cpa_obj = new Cpa(); - var pop_icon = { - "19": "img/icon-19.png", - "38": "img/icon-38.png" - }, - pop_icon_black = { - "19": "img/icon-19-black.png", - "38": "img/icon-38-black.png" - }; - - if(ConfigObj.get('isopen')){ - $('#switch').attr('checked', true); - $('#clearbtn').removeClass('btn_grey'); - chrome.browserAction.setIcon({path:pop_icon}); - } else { - $('#switch').attr('checked', false); - $('#clearbtn').addClass('btn_grey'); - chrome.browserAction.setIcon({path:pop_icon_black}); - } - - $('#clearbtn').html( chrome.i18n.getMessage('clearbtn') ); - - $('#switch').change(function() { - var s = $(this).is(':checked'); - ConfigObj.save('isopen', s); - //$('#clearbtn').click(clear_func); - if(s){ - cpa_obj.sendEvent('Bookmarks', 'switch_on'); - chrome.browserAction.setIcon({path:pop_icon}); - $('#clearbtn').removeClass('btn_grey'); - Common.show_msg(chrome.i18n.getMessage('appname') , chrome.i18n.getMessage('switch_open_success') ); - } else { - cpa_obj.sendEvent('Bookmarks', 'switch_off'); - chrome.browserAction.setIcon({path:pop_icon_black}); - Common.show_msg(chrome.i18n.getMessage('appname') , chrome.i18n.getMessage('switch_close_success') ); - } - }); - - if(!ConfigObj.get('last_visited_index')){ - $('#clearbtn').addClass('btn_grey'); - } - - var clear_func = function(){ - ConfigObj.clearcache(); - NotificationObj.clearcache(); - AppDB.delAll(function(){}); - if(ConfigObj.get('isopen')){ - $('#switch').attr('checked', true); - $('#clearbtn').removeClass('btn_grey'); - chrome.browserAction.setIcon({path:pop_icon}); - } else { - $('#switch').attr('checked', false); - $('#clearbtn').addClass('btn_grey'); - chrome.browserAction.setIcon({path:pop_icon_black}); - } - Common.show_msg(chrome.i18n.getMessage('appname') , chrome.i18n.getMessage('clearmsg') ); - $(this).off(); - }; - - $('#clearbtn').click(clear_func); -}) diff --git a/js/show.js b/js/show.js index 07aff38..beb13b0 100644 --- a/js/show.js +++ b/js/show.js @@ -1,18 +1,76 @@ $(function(){ - console.log('send'); - /*chrome.runtime.sendMessage({"command": {"ctype":"getbookmark","cdata":false}}, function(response) { - console.log(response.res); - });*/ + $('#openpreview').hide(); + $('#closepreivew').hide(); + var tab_id; + /*if(window.localStorage.preview_switch=='on'){ + $('#openpreview').hide(); + } else { + $('#closepreivew').hide(); + }*/ + + var lang_req = [ + "appname", + "previewtext", + "closepreivew", + "openpreview", + "donate", + "openinnewtab", + "block", + "blocklist", + "blockmsg", + "nouse" + ]; + var port = chrome.runtime.connect({name: "bookmark_manager_ety001"}); - port.postMessage({ctype:"getbookmark",cdata:false}); + $('#block').click(function(){ + port.postMessage({ctype:"block",cdata:tab_id}); + }); + $('#nouse').click(function(){ + port.postMessage({ctype:"remove_bookmark",cdata:tab_id}); + }); + + port.postMessage({ctype:"getbookmark",cdata:false}); + port.postMessage({ctype:"lang", cdata:lang_req}); port.onMessage.addListener(function(msg) { console.log(msg); var ctype = msg.ctype; var cdata = msg.cdata; switch (ctype) { case 'getbookmark': - console.log(cdata); + var title = cdata[0].title; + var url = cdata[0].url; + tab_id = cdata[0].id; + $('#bookmark_title').html(title); + $('iframe').attr('src', url); + $('#openinnewtab').attr('href', url); + break; + case 'lang': + $('#appname').html(cdata.appname); + $('#previewtext').html(cdata.previewtext); + $('#openinnewtab').html(cdata.openinnewtab); + $('#openpreview').html(cdata.openpreview); + $('#closepreivew').html(cdata.closepreivew); + $('#block').html(cdata.block); + $('#donate').html(cdata.donate); + $('#blockmsg').html(cdata.blockmsg); + $('#nouse').html(cdata.nouse); + break; + case 'block': + if(cdata){ + $('#blockmsg').show(); + setTimeout(function(){ + $('#blockmsg').hide(); + },2000); + } + break; + case 'remove_bookmark': + if(cdata){ + $('#blockmsg').show(); + setTimeout(function(){ + $('#blockmsg').hide(); + },2000); + } break; } }); diff --git a/manifest.json b/manifest.json index bf7195a..de220fb 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ "name": "__MSG_appname__", "description": "__MSG_appdesc__", - "version": "2.2", + "version": "2.2.0", "icons": { "16": "img/icon-16.png", @@ -16,17 +16,8 @@ "128": "img/icon-128.png" }, - "browser_action": { - "default_icon": { - "19": "img/icon-19.png", - "38": "img/icon-38.png" - }, - "default_title": "__MSG_appname__", - "default_popup": "popup.html" - }, - "background": { - "scripts": ["js/bookmark.js","js/background.js"], + "scripts": ["js/google-analytics-bundle.js","js/libs.js","js/bookmark.js","js/background.js"], "persistent": false }, diff --git a/popup.html b/popup.html deleted file mode 100644 index 53d7b37..0000000 --- a/popup.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - bookmark - - - - - - - - - -
-
-
- - -
-
-
- -
-
-
- - - - - diff --git a/show.html b/show.html index 21154b2..1c421c9 100644 --- a/show.html +++ b/show.html @@ -4,10 +4,57 @@ + + - hello world +
+
+
+
+

+
+
+
+ + + + + + + +
+
+
+ +
+
+ +