mm_os 1.3.4 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +36 -0
- package/README.md +25 -166
- package/conf.json +3 -0
- package/core/base/index.js +29 -0
- package/core/base/mqtt/index.js +268 -0
- package/core/base/mqtt/lib.js +40 -0
- package/core/base/web/index.js +110 -0
- package/core/com/api/com.json +4 -0
- package/{bin → core}/com/api/config.tpl.json +9 -7
- package/{bin → core}/com/api/drive.js +239 -64
- package/{bin → core}/com/api/index.js +8 -9
- package/{bin → core}/com/api/oauth.js +23 -14
- package/core/com/api/script.js +32 -0
- package/core/com/db/com.json +4 -0
- package/{bin → core}/com/db/drive.js +99 -65
- package/{bin → core}/com/db/index.js +2 -2
- package/core/com/event/com.json +4 -0
- package/{bin → core}/com/event/config.tpl.json +2 -2
- package/core/com/event/drive.js +125 -0
- package/{bin → core}/com/event/index.js +5 -10
- package/core/com/event/script.js +26 -0
- package/core/com/eventer/com.js +450 -0
- package/core/com/eventer/com.json +4 -0
- package/core/com/middleware/com.js +128 -0
- package/core/com/middleware/com.json +4 -0
- package/core/com/middleware/config.tpl.json +8 -0
- package/core/com/middleware/script.js +9 -0
- package/core/com/mqtt/com.json +4 -0
- package/core/com/mqtt/config.tpl.json +12 -0
- package/core/com/mqtt/drive.js +139 -0
- package/core/com/mqtt/index.js +138 -0
- package/core/com/mqtt/script.js +33 -0
- package/core/com/msg/com.js +296 -0
- package/core/com/msg/com.json +4 -0
- package/{bin → core}/com/nav/drive.js +42 -17
- package/{bin → core}/com/nav/index.js +4 -4
- package/core/com/nav/tpl/admin_pc/page_channel.vue +299 -0
- package/core/com/nav/tpl/admin_pc/page_config.vue +279 -0
- package/core/com/nav/tpl/admin_pc/page_config_form.vue +194 -0
- package/core/com/nav/tpl/admin_pc/page_default.vue +287 -0
- package/core/com/nav/tpl/admin_pc/page_form.vue +180 -0
- package/core/com/nav/tpl/admin_pc/page_lang.vue +265 -0
- package/core/com/nav/tpl/admin_pc/page_nav.vue +313 -0
- package/core/com/nav/tpl/admin_pc/page_table.vue +285 -0
- package/core/com/nav/tpl/admin_pc/page_type.vue +313 -0
- package/core/com/nav/tpl/dev_pc/page_channel.vue +253 -0
- package/core/com/nav/tpl/dev_pc/page_config.vue +253 -0
- package/core/com/nav/tpl/dev_pc/page_default.vue +247 -0
- package/core/com/nav/tpl/dev_pc/page_form.vue +162 -0
- package/core/com/nav/tpl/dev_pc/page_nav.vue +253 -0
- package/core/com/nav/tpl/dev_pc/page_table.vue +247 -0
- package/core/com/nav/tpl/dev_pc/page_type.vue +253 -0
- package/{bin/com/nav/tpl/home_phone → core/com/nav/tpl/home_pc}/page_channel.vue +231 -231
- package/{bin/com/nav/tpl/home_phone → core/com/nav/tpl/home_pc}/page_default.vue +231 -231
- package/{bin → core}/com/nav/tpl/home_pc/page_form.vue +9 -9
- package/{bin → core}/com/nav/tpl/home_pc/page_list.vue +231 -231
- package/{bin → core}/com/nav/tpl/home_pc/page_nav.vue +221 -221
- package/{bin/com/nav/tpl/home_phone → core/com/nav/tpl/home_pc}/page_type.vue +231 -231
- package/{bin → core}/com/nav/tpl/home_pc/page_view.vue +8 -8
- package/{bin/com/nav/tpl/home_pc → core/com/nav/tpl/home_phone}/page_channel.vue +231 -231
- package/{bin/com/nav/tpl/home_pc → core/com/nav/tpl/home_phone}/page_default.vue +231 -231
- package/{bin → core}/com/nav/tpl/home_phone/page_form.vue +9 -9
- package/{bin → core}/com/nav/tpl/home_phone/page_list.vue +231 -231
- package/{bin/com/nav/tpl/admin_pc → core/com/nav/tpl/home_phone}/page_nav.vue +236 -220
- package/{bin/com/nav/tpl/home_pc → core/com/nav/tpl/home_phone}/page_type.vue +231 -231
- package/{bin → core}/com/nav/tpl/home_phone/page_view.vue +8 -8
- package/core/com/nav/viewmodel.js +296 -0
- package/{bin → core}/com/param/config.tpl.json +24 -0
- package/{bin → core}/com/param/drive.js +47 -15
- package/core/com/plugin/com.json +4 -0
- package/core/com/plugin/config.tpl.json +20 -0
- package/{bin → core}/com/plugin/drive.js +5 -8
- package/{bin → core}/com/plugin/index.js +11 -56
- package/core/com/socket/README.md +47 -0
- package/core/com/socket/com.json +4 -0
- package/core/com/socket/config.tpl.json +14 -0
- package/{bin → core}/com/socket/drive.js +74 -51
- package/{bin → core}/com/socket/index.js +4 -2
- package/{bin → core}/com/socket/script.js +8 -6
- package/core/com/sql/config.tpl.json +70 -0
- package/{bin → core}/com/sql/drive.js +281 -58
- package/core/com/static/com.json +4 -0
- package/core/com/static/config.tpl.json +20 -0
- package/{bin → core}/com/static/drive.js +6 -4
- package/{bin → core}/com/static/index.js +5 -1
- package/core/com/task/com.json +4 -0
- package/core/com/task/config.tpl.json +24 -0
- package/core/com/task/drive.js +374 -0
- package/{bin → core}/com/task/index.js +14 -20
- package/core/com/task/script.js +37 -0
- package/core/com/timer/com.js +217 -0
- package/core/com/timer/com.json +4 -0
- package/core/com/tpl/com.js +19 -0
- package/core/com/tpl/com.json +4 -0
- package/index.js +161 -740
- package/lib/actions.js +50 -0
- package/lib/app.js +73 -0
- package/lib/base.js +355 -0
- package/lib/com.js +31 -0
- package/lib/game.js +31 -0
- package/lib/ref.js +121 -0
- package/middleware/cors/index.js +57 -0
- package/middleware/cors/middleware.json +7 -0
- package/middleware/mqtt_base/index.js +10 -0
- package/middleware/mqtt_base/middleware.json +8 -0
- package/{waf.js → middleware/waf/index.js} +12 -2
- package/middleware/waf/middleware.json +9 -0
- package/middleware/web_base/index.js +67 -0
- package/middleware/web_base/middleware.json +9 -0
- package/middleware/web_event/index.js +411 -0
- package/middleware/web_event/middleware.json +10 -0
- package/middleware/web_proxy/index.js +24 -0
- package/middleware/web_proxy/middleware.json +9 -0
- package/middleware/web_router/index.js +33 -0
- package/middleware/web_router/middleware.json +10 -0
- package/middleware/web_socket/index.js +21 -0
- package/middleware/web_socket/middleware.json +9 -0
- package/middleware/web_static/index.js +26 -0
- package/middleware/web_static/middleware.json +9 -0
- package/nodemon.json +12 -2
- package/package.json +56 -66
- package/.gitattributes +0 -5
- package/bin/com/README.md +0 -2
- package/bin/com/api/script.js +0 -14
- package/bin/com/cmd/README.md +0 -3
- package/bin/com/cmd/config.tpl.json +0 -41
- package/bin/com/cmd/drive.js +0 -512
- package/bin/com/cmd/index.js +0 -213
- package/bin/com/cmd/old/5w2h.js +0 -54
- package/bin/com/cmd/old/drive.js +0 -423
- package/bin/com/cmd/script.js +0 -11
- package/bin/com/event/drive.js +0 -69
- package/bin/com/event/script.js +0 -12
- package/bin/com/nav/tpl/admin_pc/page_channel.vue +0 -234
- package/bin/com/nav/tpl/admin_pc/page_default.vue +0 -236
- package/bin/com/nav/tpl/admin_pc/page_form.vue +0 -152
- package/bin/com/nav/tpl/admin_pc/page_table.vue +0 -236
- package/bin/com/nav/tpl/admin_pc/page_type.vue +0 -234
- package/bin/com/nav/tpl/home_phone/page_nav.vue +0 -221
- package/bin/com/nav/viewmodel.js +0 -161
- package/bin/com/plugin/config.tpl.json +0 -11
- package/bin/com/socket/config.tpl.json +0 -8
- package/bin/com/sql/config.tpl.json +0 -34
- package/bin/com/static/config.tpl.json +0 -11
- package/bin/com/task/config.tpl.json +0 -13
- package/bin/com/task/drive.js +0 -288
- package/bin/com/task/script.js +0 -38
- package/bin/com.js +0 -74
- package/bin/mm.conf +0 -48
- package/bin/static/404.html +0 -52
- package/bin/static/README.md +0 -1
- package/bin/static/css/font-awesome.min.css +0 -7
- package/bin/static/css/mm_base.css +0 -220
- package/bin/static/css/mm_common.css +0 -518
- package/bin/static/css/mm_component.css +0 -307
- package/bin/static/css/mm_expand.css +0 -634
- package/bin/static/css/mm_theme.css +0 -291
- package/bin/static/css/new_file.css +0 -79
- package/bin/static/css/swiper.min.css +0 -12
- package/bin/static/favicon.ico +0 -0
- package/bin/static/font/FontAwesome.otf +0 -0
- package/bin/static/font/HelveticaNeue.eot +0 -0
- package/bin/static/font/HelveticaNeue.otf +0 -0
- package/bin/static/font/HelveticaNeue.svg +0 -1273
- package/bin/static/font/HelveticaNeue.woff +0 -0
- package/bin/static/font/HelveticaNeue.woff2 +0 -0
- package/bin/static/font/fontawesome-webfont.eot +0 -0
- package/bin/static/font/fontawesome-webfont.svg +0 -2671
- package/bin/static/font/fontawesome-webfont.ttf +0 -0
- package/bin/static/font/fontawesome-webfont.woff +0 -0
- package/bin/static/font/fontawesome-webfont.woff2 +0 -0
- package/bin/static/h5.html +0 -325
- package/bin/static/highlight/highlight.pack.js +0 -2
- package/bin/static/highlight/styles/a11y-dark.css +0 -99
- package/bin/static/highlight/styles/a11y-light.css +0 -99
- package/bin/static/highlight/styles/agate.css +0 -108
- package/bin/static/highlight/styles/an-old-hope.css +0 -89
- package/bin/static/highlight/styles/androidstudio.css +0 -66
- package/bin/static/highlight/styles/arduino-light.css +0 -88
- package/bin/static/highlight/styles/arta.css +0 -73
- package/bin/static/highlight/styles/ascetic.css +0 -45
- package/bin/static/highlight/styles/atelier-cave-dark.css +0 -83
- package/bin/static/highlight/styles/atelier-cave-light.css +0 -85
- package/bin/static/highlight/styles/atelier-dune-dark.css +0 -69
- package/bin/static/highlight/styles/atelier-dune-light.css +0 -69
- package/bin/static/highlight/styles/atelier-estuary-dark.css +0 -84
- package/bin/static/highlight/styles/atelier-estuary-light.css +0 -84
- package/bin/static/highlight/styles/atelier-forest-dark.css +0 -69
- package/bin/static/highlight/styles/atelier-forest-light.css +0 -69
- package/bin/static/highlight/styles/atelier-heath-dark.css +0 -69
- package/bin/static/highlight/styles/atelier-heath-light.css +0 -69
- package/bin/static/highlight/styles/atelier-lakeside-dark.css +0 -69
- package/bin/static/highlight/styles/atelier-lakeside-light.css +0 -69
- package/bin/static/highlight/styles/atelier-plateau-dark.css +0 -84
- package/bin/static/highlight/styles/atelier-plateau-light.css +0 -84
- package/bin/static/highlight/styles/atelier-savanna-dark.css +0 -84
- package/bin/static/highlight/styles/atelier-savanna-light.css +0 -84
- package/bin/static/highlight/styles/atelier-seaside-dark.css +0 -69
- package/bin/static/highlight/styles/atelier-seaside-light.css +0 -69
- package/bin/static/highlight/styles/atelier-sulphurpool-dark.css +0 -69
- package/bin/static/highlight/styles/atelier-sulphurpool-light.css +0 -69
- package/bin/static/highlight/styles/atom-one-dark-reasonable.css +0 -77
- package/bin/static/highlight/styles/atom-one-dark.css +0 -96
- package/bin/static/highlight/styles/atom-one-light.css +0 -96
- package/bin/static/highlight/styles/brown-paper.css +0 -64
- package/bin/static/highlight/styles/brown-papersq.png +0 -0
- package/bin/static/highlight/styles/codepen-embed.css +0 -60
- package/bin/static/highlight/styles/color-brewer.css +0 -71
- package/bin/static/highlight/styles/darcula.css +0 -77
- package/bin/static/highlight/styles/dark.css +0 -63
- package/bin/static/highlight/styles/darkula.css +0 -6
- package/bin/static/highlight/styles/default.css +0 -99
- package/bin/static/highlight/styles/docco.css +0 -97
- package/bin/static/highlight/styles/dracula.css +0 -76
- package/bin/static/highlight/styles/far.css +0 -71
- package/bin/static/highlight/styles/foundation.css +0 -88
- package/bin/static/highlight/styles/github-gist.css +0 -79
- package/bin/static/highlight/styles/github.css +0 -99
- package/bin/static/highlight/styles/gml.css +0 -78
- package/bin/static/highlight/styles/googlecode.css +0 -89
- package/bin/static/highlight/styles/grayscale.css +0 -101
- package/bin/static/highlight/styles/gruvbox-dark.css +0 -108
- package/bin/static/highlight/styles/gruvbox-light.css +0 -108
- package/bin/static/highlight/styles/hopscotch.css +0 -83
- package/bin/static/highlight/styles/hybrid.css +0 -102
- package/bin/static/highlight/styles/idea.css +0 -97
- package/bin/static/highlight/styles/ir-black.css +0 -73
- package/bin/static/highlight/styles/isbl-editor-dark.css +0 -112
- package/bin/static/highlight/styles/isbl-editor-light.css +0 -112
- package/bin/static/highlight/styles/kimbie.dark.css +0 -74
- package/bin/static/highlight/styles/kimbie.light.css +0 -74
- package/bin/static/highlight/styles/lightfair.css +0 -87
- package/bin/static/highlight/styles/magula.css +0 -70
- package/bin/static/highlight/styles/mono-blue.css +0 -59
- package/bin/static/highlight/styles/monokai-sublime.css +0 -83
- package/bin/static/highlight/styles/monokai.css +0 -70
- package/bin/static/highlight/styles/nord.css +0 -309
- package/bin/static/highlight/styles/obsidian.css +0 -88
- package/bin/static/highlight/styles/ocean.css +0 -74
- package/bin/static/highlight/styles/paraiso-dark.css +0 -72
- package/bin/static/highlight/styles/paraiso-light.css +0 -72
- package/bin/static/highlight/styles/pojoaque.css +0 -83
- package/bin/static/highlight/styles/pojoaque.jpg +0 -0
- package/bin/static/highlight/styles/purebasic.css +0 -96
- package/bin/static/highlight/styles/qtcreator_dark.css +0 -83
- package/bin/static/highlight/styles/qtcreator_light.css +0 -83
- package/bin/static/highlight/styles/railscasts.css +0 -106
- package/bin/static/highlight/styles/rainbow.css +0 -85
- package/bin/static/highlight/styles/routeros.css +0 -108
- package/bin/static/highlight/styles/school-book.css +0 -69
- package/bin/static/highlight/styles/school-book.png +0 -0
- package/bin/static/highlight/styles/shades-of-purple.css +0 -97
- package/bin/static/highlight/styles/solarized-dark.css +0 -84
- package/bin/static/highlight/styles/solarized-light.css +0 -84
- package/bin/static/highlight/styles/sunburst.css +0 -102
- package/bin/static/highlight/styles/tomorrow-night-blue.css +0 -75
- package/bin/static/highlight/styles/tomorrow-night-bright.css +0 -74
- package/bin/static/highlight/styles/tomorrow-night-eighties.css +0 -74
- package/bin/static/highlight/styles/tomorrow-night.css +0 -75
- package/bin/static/highlight/styles/tomorrow.css +0 -72
- package/bin/static/highlight/styles/vs.css +0 -68
- package/bin/static/highlight/styles/vs2015.css +0 -115
- package/bin/static/highlight/styles/xcode.css +0 -104
- package/bin/static/highlight/styles/xt256.css +0 -92
- package/bin/static/highlight/styles/zenburn.css +0 -80
- package/bin/static/highlight/vue-highlight.js +0 -29
- package/bin/static/ifame.html +0 -24
- package/bin/static/img/add.png +0 -0
- package/bin/static/img/avatar.png +0 -0
- package/bin/static/img/banner_2.png +0 -0
- package/bin/static/img/default.png +0 -0
- package/bin/static/img/loading.svg +0 -1
- package/bin/static/img/logo.png +0 -0
- package/bin/static/img/logo1.png +0 -0
- package/bin/static/img/logo_gray.png +0 -0
- package/bin/static/img/logo_round.png +0 -0
- package/bin/static/img/mm.ico +0 -0
- package/bin/static/img/mm.jpg +0 -0
- package/bin/static/img/select.png +0 -0
- package/bin/static/img/web.png +0 -0
- package/bin/static/index.html +0 -12
- package/bin/static/js/clipboard.min.js +0 -257
- package/bin/static/js/css.min.js +0 -1
- package/bin/static/js/echarts.js +0 -22
- package/bin/static/js/html5.min.js +0 -1
- package/bin/static/js/jquery.lazyload.min.js +0 -2
- package/bin/static/js/jquery.min.js +0 -4189
- package/bin/static/js/jquery.scrollstop.min.js +0 -2
- package/bin/static/js/mm-requirejs-vue.js +0 -283
- package/bin/static/js/mm_check.js +0 -490
- package/bin/static/js/mm_flexble.js +0 -112
- package/bin/static/js/mm_picker.js +0 -1417
- package/bin/static/js/mm_pinyinlite.js +0 -873
- package/bin/static/js/mm_sdk.js +0 -2841
- package/bin/static/js/mm_ui_expand.js +0 -468
- package/bin/static/js/mm_vue.js +0 -376
- package/bin/static/js/mm_vue_ui.js +0 -2375
- package/bin/static/js/mm_websocket.js +0 -145
- package/bin/static/js/require.js +0 -5
- package/bin/static/js/sortable.min.js +0 -3
- package/bin/static/js/swiper.min.js +0 -13
- package/bin/static/js/text.min.js +0 -1
- package/bin/static/js/vue-router.min.js +0 -6
- package/bin/static/js/vue.js +0 -12338
- package/bin/static/js/vuedraggable.min.js +0 -2
- package/bin/static/js/vuex.min.js +0 -6
- package/bin/static/src/components/bar/mm_action.vue +0 -19
- package/bin/static/src/components/bar/mm_buy.vue +0 -19
- package/bin/static/src/components/bar/mm_chat.vue +0 -18
- package/bin/static/src/components/bar/mm_count.vue +0 -18
- package/bin/static/src/components/bar/mm_filter.vue +0 -18
- package/bin/static/src/components/bar/mm_search.vue +0 -18
- package/bin/static/src/components/bar/mm_sort.vue +0 -18
- package/bin/static/src/components/bar/mm_tag.vue +0 -18
- package/bin/static/src/components/bar/mm_title.vue +0 -19
- package/bin/static/src/components/content/mm_pre.vue +0 -70
- package/bin/static/src/components/expand/mm_drag.vue +0 -39
- package/bin/static/src/components/item/mm_article.vue +0 -115
- package/bin/static/src/components/item/mm_base.vue +0 -26
- package/bin/static/src/components/item/mm_contact.vue +0 -25
- package/bin/static/src/components/item/mm_goods.vue +0 -23
- package/bin/static/src/components/item/mm_img.vue +0 -21
- package/bin/static/src/components/item/mm_media.vue +0 -18
- package/bin/static/src/components/item/mm_message.vue +0 -18
- package/bin/static/src/components/item/mm_music.vue +0 -95
- package/bin/static/src/components/item/mm_news.vue +0 -22
- package/bin/static/src/components/item/mm_number.vue +0 -26
- package/bin/static/src/components/item/mm_question.vue +0 -35
- package/bin/static/src/components/item/mm_user.vue +0 -22
- package/bin/static/src/components/item/mm_video.vue +0 -95
- package/bin/static/src/components/slide/mm_slide_card.vue +0 -64
- package/bin/static/src/components/slide/mm_slide_img.vue +0 -47
- package/bin/static/src/components/slide/mm_slide_page.vue +0 -8
- package/bin/static/src/components/slide/mm_slide_text.vue +0 -54
- package/bin/static/src/main.js +0 -84
- package/bin/static/src/mixins/form.js +0 -223
- package/bin/static/src/mixins/item.js +0 -242
- package/bin/static/src/mixins/list.js +0 -244
- package/bin/static/src/mixins/page.js +0 -1011
- package/bin/static/src/mm_component.js +0 -74
- package/bin/static/src/router.js +0 -72
- package/bin/static/src/store/user.js +0 -75
- package/bin/static/src/store/web.js +0 -50
- package/bin/static/user/1/number_info.xlsx +0 -0
- package/bin/static/w3c.html +0 -94
- package/init.js +0 -55
- package/update.md +0 -1
- /package/{bin → core}/com/api/README.md +0 -0
- /package/{bin → core}/com/api/rpc.js +0 -0
- /package/{bin → core}/com/db/README.md +0 -0
- /package/{bin → core}/com/event/README.md +0 -0
- /package/{bin/com/socket → core/com/mqtt}/README.md +0 -0
- /package/{bin → core}/com/nav/README.md +0 -0
- /package/{bin → core}/com/nav/config.tpl.json +0 -0
- /package/{bin → core}/com/param/README.md +0 -0
- /package/{bin → core}/com/param/index.js +0 -0
- /package/{bin → core}/com/param/script.js +0 -0
- /package/{bin → core}/com/param/test.js +0 -0
- /package/{bin → core}/com/plugin/README.md +0 -0
- /package/{bin → core}/com/plugin/script.js +0 -0
- /package/{bin → core}/com/sql/README.md +0 -0
- /package/{bin → core}/com/sql/index.js +0 -0
- /package/{bin → core}/com/sql/script.js +0 -0
- /package/{bin → core}/com/static/README.md +0 -0
- /package/{bin → core}/com/static/script.js +0 -0
- /package/{bin → core}/com/task/README.md +0 -0
- /package/{bin/rps.bat → rps.bat} +0 -0
- /package/{bin/tps.bat → tps.bat} +0 -0
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
@charset utf-8;
|
|
2
|
-
/* 隐性元素 */
|
|
3
|
-
/* ::-webkit-datetime-edit{background:url(/img/select.png);padding:1px;} */
|
|
4
|
-
/* ::-webkit-datetime-edit-fields-wrapper{background-color:#eee;} */
|
|
5
|
-
/* ::-webkit-datetime-edit-text{color:#4D90FE; padding:0 .25rem; content: "-";} */
|
|
6
|
-
::-webkit-datetime-edit-year-field{/* color:#38f; */}
|
|
7
|
-
::-webkit-datetime-edit-month-field{/* color:#26d2ff; */}
|
|
8
|
-
::-webkit-datetime-edit-day-field{/* color:#04BE02; */}
|
|
9
|
-
::-webkit-inner-spin-button{visibility:hidden;}
|
|
10
|
-
/* ::-webkit-calendar-picker-indicator{background-color:#eee;background-image:0;border:1px solid rgba(125,125,125,0.25);border-radius: 0.25rem;box-shadow:inset 0 1px #fff, 0 1px #eee;color:#666;} */
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
/* 滚动条凹槽的颜色,还可以设置边框属性 */
|
|
14
|
-
::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}
|
|
15
|
-
::-webkit-scrollbar-track-piece {
|
|
16
|
-
background-color:#f8f8f8;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* 滚动条的宽度 */
|
|
20
|
-
::-webkit-scrollbar {
|
|
21
|
-
width: .5rem;
|
|
22
|
-
height: .5rem;
|
|
23
|
-
}
|
|
24
|
-
/* 滚动条的设置 */
|
|
25
|
-
::-webkit-scrollbar-thumb {
|
|
26
|
-
background-color: rgba(0,0,0,0.5);
|
|
27
|
-
background-clip: padding-box;
|
|
28
|
-
min-height: 1rem;
|
|
29
|
-
border-radius: 0.5rem;
|
|
30
|
-
}
|
|
31
|
-
:focus{outline:0 auto 0;}
|
|
32
|
-
::-webkit-scrollbar-thumb:hover {
|
|
33
|
-
background-color: rgba(0,0,0,0.25);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/* === 基础样式 === */
|
|
38
|
-
@font-face{font-family:"Helvetica Neue";font-style:normal;font-weight:400;src:url(../font/HelveticaNeue.eot) format(embedded-opentype), url(../font/HelveticaNeue.woff2) format(woff2), url(../font/HelveticaNeue.woff) format(woff), url(../font/HelveticaNeue.ttf) format(truetype), url(../font/HelveticaNeue.svg) format(svg);}
|
|
39
|
-
*{margin:0;padding:0;}
|
|
40
|
-
*,::before,::after{-webkit-box-sizing: border-box;box-sizing: border-box;}
|
|
41
|
-
html{height:100%;overflow:hidden;font-family:"Helvetica Neue", helvetica, arial, sans-serif;line-height:1.15;}
|
|
42
|
-
body{height:100%;background-color:#ededed;color:#333;line-height:1.5;overflow-x:hidden;overflow-y:auto;}
|
|
43
|
-
|
|
44
|
-
/** 不可见元素 **/
|
|
45
|
-
[type=search]{-webkit-appearance:none;outline-offset:-2px;}
|
|
46
|
-
[type=search]::-webkit-search-decoration{-webkit-appearance:none;}
|
|
47
|
-
[hidden],.hidden{display:none!important;}
|
|
48
|
-
/* [disabled],.disabled { background: #ededed; } */
|
|
49
|
-
[tabindex=-1]:focus:not(:focus-visible){outline:0!important;}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/* === 布局标签 === */
|
|
53
|
-
header{min-height:2rem;display:block;}
|
|
54
|
-
footer{display:block;}
|
|
55
|
-
article { overflow: hidden; }
|
|
56
|
-
article>header { text-align: center; }
|
|
57
|
-
article>footer { padding: .5rem 2rem 2rem 2rem; }
|
|
58
|
-
body>header,body>div>header {z-index: 10;left:0;right:0;top:0; color: #fff;background:#373737;}
|
|
59
|
-
body>footer,body>div>footer {z-index: 10;left:0;right:0;bottom:0;background-color:#F7F7F7;}
|
|
60
|
-
blockquote{margin:0 0 1rem;padding: 0 1rem; color: #6a737d; border-left: 3px solid #dfe2e5; }
|
|
61
|
-
address{font-style:normal;line-height:inherit;}
|
|
62
|
-
section { position:relative; padding: .5rem 2rem;}
|
|
63
|
-
main { overflow: hidden;position: relative; }
|
|
64
|
-
address,article,aside,code,figcaption,hgroup,main,nav,section,iframe,frame,form,pre{display:block;}
|
|
65
|
-
header::before,header::after,footer::before,footer::after,frame::before,frame::after,iframe::before,iframe::after,code::before,code::after,address::before,address::after,section::before,section::after{clear:both;content:"";display:block;}
|
|
66
|
-
article::before,article::after{content:"";display:block; clear: both;}
|
|
67
|
-
form::before,form::after{content:"";display:block; clear: both;}
|
|
68
|
-
code { font-size: 1rem; padding: .5rem; }
|
|
69
|
-
aside {position:relative;display: block; margin: auto;}
|
|
70
|
-
table{background-color:#FFF;border:1px solid #dee2e6;border-collapse:collapse;border-radius:0.25rem; width: 100%;}
|
|
71
|
-
nav { white-space: nowrap; }
|
|
72
|
-
|
|
73
|
-
/* === 表单类 === */
|
|
74
|
-
input,input::after,input::before{box-sizing:border-box;}
|
|
75
|
-
button{-webkit-appearance:button;}
|
|
76
|
-
button,select{text-transform:none;height:2rem;line-height:2rem;cursor:pointer; border: 1px solid rgba(125,125,125,0.25); padding-left: 0.5rem; padding-right: 0.5rem; border-radius: 0.25rem;}
|
|
77
|
-
button,textarea {
|
|
78
|
-
border:1px solid rgba(125,125,125,0.25);border-radius:.25rem;padding-left:.75rem;padding-right:.75rem;display:inline-block;background-color:#fff;color: #333;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
[type=button],[type=reset],[type=submit]{-webkit-appearance:button;}
|
|
82
|
-
button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0;}
|
|
83
|
-
article>footer button { border: none; color: #666; }
|
|
84
|
-
button:focus{outline:none;}
|
|
85
|
-
button:active{background: rgba(125,125,125, 0.25); border-color: rgba(125,125,125, 0.25);}
|
|
86
|
-
select{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:url(/img/select.png) no-repeat scroll right center transparent;padding-left:.5rem;min-width: 3rem; padding-right:1.5rem;word-wrap:normal;}
|
|
87
|
-
select[multiple] { background: none; }
|
|
88
|
-
/* select::-ms-expand{display:none;} */
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
optgroup{line-height:inherit;}
|
|
92
|
-
textarea{overflow-x:hidden;overflow-y:auto;resize:vertical;min-width:15rem; padding: .5rem; min-height: 5rem;}
|
|
93
|
-
form textarea{min-width:20rem; width:100%; padding: .5rem; min-height: 10rem;}
|
|
94
|
-
input:focus,select:focus,button:focus,textarea:focus{
|
|
95
|
-
border-color:#38f;box-shadow:0 0 0 .25rem rgba(38, 210, 255, .25); z-index:20;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
input[type=text],input[type=number],input[type=password],input[type=tel],input[type=email]
|
|
99
|
-
{
|
|
100
|
-
height:2rem;line-height:2rem; border: 1px solid rgba(125,125,125,0.25); padding-left: 0.5rem; padding-right: 0.5rem; border-radius: .25rem;
|
|
101
|
-
min-width: 10rem;
|
|
102
|
-
}
|
|
103
|
-
input[type=date],input[type=datetime],input[type=time],input[type=datetime-local],input[type=month]{
|
|
104
|
-
-webkit-appearance:listbox;
|
|
105
|
-
border: 1px solid rgba(125,125,125,0.25);
|
|
106
|
-
height:2rem;
|
|
107
|
-
line-height:2rem;
|
|
108
|
-
border-radius: .25rem;
|
|
109
|
-
padding-left: .5rem;
|
|
110
|
-
}
|
|
111
|
-
/* input[type=date]::-webkit-inner-spin-button { visibility: hidden; } */
|
|
112
|
-
input[type=number] { min-width: 4rem; }
|
|
113
|
-
input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0;}
|
|
114
|
-
.pc .multiple, .pc select[multiple], .pc select[size] {
|
|
115
|
-
height: auto;
|
|
116
|
-
}
|
|
117
|
-
fieldset{border:0;min-width:0;}
|
|
118
|
-
label~label {margin-left:1rem;}
|
|
119
|
-
|
|
120
|
-
/* === 列表类 === */
|
|
121
|
-
caption{caption-side:bottom;padding-bottom:.5rem;padding-top:.5rem;text-align:left;}
|
|
122
|
-
th{border:1px solid rgba(125,125,125,0.25);padding:0.5rem .75rem;text-align:inherit;}
|
|
123
|
-
thead th>span{line-height: 2rem;}
|
|
124
|
-
thead th{border-bottom:2px solid rgba(125,125,125,0.25);vertical-align:bottom;}
|
|
125
|
-
tbody tr:hover { background-color: rgba(0,100,200,.075) !important; }
|
|
126
|
-
tbody tr.active { background-color: rgba(0,100,200,.075) !important; }
|
|
127
|
-
|
|
128
|
-
td{border:1px solid rgba(125,125,125,0.25);padding:.5rem .75rem;white-space:nowrap;}
|
|
129
|
-
dt{display:block;clear:left;float:left;font-weight:400;padding:.5rem; min-width: 7rem; position: relative; }
|
|
130
|
-
dt.required::before {position: absolute; content: "*"; color: red; left: 0; top: 50%; transform: translateY(-37.5%); }
|
|
131
|
-
dt>span, dd>span{ line-height: 2rem; }
|
|
132
|
-
dd{display:block;padding:.5rem .75rem;float: left;}
|
|
133
|
-
li{ position: relative; }
|
|
134
|
-
ul{display: block;padding-left: 1.25rem; }
|
|
135
|
-
dl,dd{display:block;}
|
|
136
|
-
form dl { margin: 0.5rem 1rem 1rem 1rem; }
|
|
137
|
-
dl::before,dl::after,ul::before,ul::after,ol::before,ol::after{content: "";display:block; clear: both;}
|
|
138
|
-
ol { padding-left: 1.25rem;padding-right: 1rem; }
|
|
139
|
-
/* 合法选择器 */
|
|
140
|
-
/* input:valid { border-color: #38f; } */
|
|
141
|
-
/* 非法选择器 */
|
|
142
|
-
input:invalid { border-color: #f12f04; }
|
|
143
|
-
|
|
144
|
-
/* === 内容标签 === */
|
|
145
|
-
sub,sup{line-height:0;position:relative;vertical-align:baseline;}
|
|
146
|
-
sub{bottom:-.25em;}
|
|
147
|
-
sup{top:-.5em;}
|
|
148
|
-
hr{box-sizing:content-box;height:0;overflow:visible;}
|
|
149
|
-
svg{overflow:hidden;vertical-align:middle;}
|
|
150
|
-
output{display:inline-block;}
|
|
151
|
-
summary{cursor:pointer;}
|
|
152
|
-
template{display:none;}
|
|
153
|
-
abbr[title],abbr[data-original-title]{border-bottom:0;cursor:help;text-decoration:underline dotted;text-decoration-skip-ink:none;}
|
|
154
|
-
|
|
155
|
-
/* === 字体大小 === */
|
|
156
|
-
h1,.h1{font-size:1.75rem;}
|
|
157
|
-
h2,.h2{font-size:1.5rem;}
|
|
158
|
-
h3,.h3{font-size:1.25rem;}
|
|
159
|
-
h4,.h4{font-size:1.125rem;}
|
|
160
|
-
h5,.h5{font-size:1rem;}
|
|
161
|
-
h6,.h6{font-size:0.875rem;}
|
|
162
|
-
h1,.h1,h2,.h2{font-weight:500;}
|
|
163
|
-
h3,.h3,h4,.h4,h5,.h5,h6,.h6{font-weight:550;}
|
|
164
|
-
small,.font-sm{font-size:75%!important;}
|
|
165
|
-
big,.font-bg{font-size:125%!important;}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
/* === 媒体标签 === */
|
|
169
|
-
/* 图片 */
|
|
170
|
-
img {
|
|
171
|
-
border: none;
|
|
172
|
-
display: block;
|
|
173
|
-
vertical-align: middle;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
/* 图片相框 */
|
|
178
|
-
figure {
|
|
179
|
-
position: relative;
|
|
180
|
-
overflow: hidden;
|
|
181
|
-
display: block;
|
|
182
|
-
background: center center no-repeat;
|
|
183
|
-
background-size: 100%;
|
|
184
|
-
}
|
|
185
|
-
figure img {
|
|
186
|
-
width: 100%;
|
|
187
|
-
}
|
|
188
|
-
/* 图片描述 */
|
|
189
|
-
figcaption {
|
|
190
|
-
display: block;
|
|
191
|
-
}
|
|
192
|
-
figure~div {
|
|
193
|
-
overflow: hidden;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
/* 链接 */
|
|
198
|
-
a{background-color:transparent;color:inherit;cursor:pointer;text-decoration:none;}
|
|
199
|
-
nav>a { display: inline-block; }
|
|
200
|
-
header nav>a,
|
|
201
|
-
footer nav>a { font-size: .875rem; }
|
|
202
|
-
a:hover,a:not([href]){text-decoration:none;}
|
|
203
|
-
nav a:hover { color: #38f; }
|
|
204
|
-
nav a:active { color: #317EF3; }
|
|
205
|
-
|
|
206
|
-
/* 文章间距 */
|
|
207
|
-
section h1,
|
|
208
|
-
section h2,
|
|
209
|
-
section h3,
|
|
210
|
-
section h4,
|
|
211
|
-
section h5 { margin-top: 1rem; margin-bottom: .5rem; }
|
|
212
|
-
section p,
|
|
213
|
-
section blockquote { margin-bottom: 1rem; }
|
|
214
|
-
section blockquote>* { margin-bottom: 0; }
|
|
215
|
-
|
|
216
|
-
section h1,
|
|
217
|
-
section h2,
|
|
218
|
-
section h3 {
|
|
219
|
-
padding-bottom: .25rem; border-bottom: 1px solid #eaecef;
|
|
220
|
-
}
|