From 14f2e3e746b52d3dc9c6dec4e73516a8738f460e Mon Sep 17 00:00:00 2001 From: "Tina C Lin (RD-TW)" Date: Fri, 1 Jun 2018 09:43:49 +0800 Subject: [PATCH] v2.1.1 --- dist/react-modal.css | 18 +++++++++++++----- dist/react-modal.min.css | 2 +- package.json | 2 +- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/dist/react-modal.css b/dist/react-modal.css index 1df1882..90bca1c 100644 --- a/dist/react-modal.css +++ b/dist/react-modal.css @@ -1,4 +1,4 @@ -/*! react-modal v2.1.0 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-modal */ +/*! react-modal v2.1.1 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-modal */ .modal---modal-overlay---3D5Nr { position: fixed; top: 0; @@ -90,17 +90,25 @@ margin: 0; line-height: 20px; cursor: pointer; - background: transparent; + background: transparent url(data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgVHJlbmQgTWljcm8gU3R5bGUgUG9ydGFsIC0tPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiPg0KICA8dGl0bGU+Y2xvc2U8L3RpdGxlPg0KICA8cGF0aCBmaWxsPSJyZ2IoMzQsMzQsMzQpIiBkPSJNMTUgMmwtMS0xLTYgNi02LTYtMC45OSAwLjk5IDUuOTkgNi4wMTAtNiA2IDEgMSA2LTYgNiA2IDEtMS02LTYgNi02eiI+PC9wYXRoPg0KPC9zdmc+); border: 0; -webkit-appearance: none; - font-size: 30px; - font-weight: normal; - color: #999; text-shadow: none; opacity: 1; -ms-filter: none; filter: none; outline: none; + width: 16px; + height: 16px; + opacity: 0.5; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; + filter: alpha(opacity=50); +} +.modal---modal-content---3pwnC .modal---close---28rLZ:hover, +.modal---modal-content---3pwnC .modal---close---28rLZ:focus { + opacity: 1; + -ms-filter: none; + filter: none; } .modal---modal-content---3pwnC .modal---modal-header---2YL1L { min-height: 54px; diff --git a/dist/react-modal.min.css b/dist/react-modal.min.css index 8e4c35d..6c3363c 100644 --- a/dist/react-modal.min.css +++ b/dist/react-modal.min.css @@ -1 +1 @@ -/*! react-modal v2.1.0 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-modal */.modal---modal-overlay---3D5Nr{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(51,51,51,.55);z-index:1050}.modal---modal-overlay---3D5Nr.modal---centered---1Tdo5{text-align:center}.modal---modal-overlay---3D5Nr.modal---centered---1Tdo5:before{content:'';display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.modal---modal-overlay---3D5Nr.modal---centered---1Tdo5 .modal---modal-content---3pwnC{display:inline-block;vertical-align:middle;text-align:left}.modal---modal-content---3pwnC{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;line-height:20px;position:relative;display:inline-block;background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:0 4px 16px rgba(0,0,0,.5);box-shadow:0 4px 16px rgba(0,0,0,.5);min-width:400px}.modal---modal-content---3pwnC *,.modal---modal-content---3pwnC :after,.modal---modal-content---3pwnC :before{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}.modal---modal-content---3pwnC.modal---xs---1z3ff{width:400px}.modal---modal-content---3pwnC.modal---xs---1z3ff .modal---modal-body---2HFnG{min-height:184px}.modal---modal-content---3pwnC.modal---xs---1z3ff .modal---modal-header---2YL1L+.modal---modal-body---2HFnG{min-height:130px}.modal---modal-content---3pwnC.modal---sm---20_2_{width:544px}.modal---modal-content---3pwnC.modal---sm---20_2_ .modal---modal-body---2HFnG{min-height:246px}.modal---modal-content---3pwnC.modal---sm---20_2_ .modal---modal-header---2YL1L+.modal---modal-body---2HFnG{min-height:192px}.modal---modal-content---3pwnC.modal---md---2-zYL{width:688px}.modal---modal-content---3pwnC.modal---md---2-zYL .modal---modal-body---2HFnG{min-height:246px}.modal---modal-content---3pwnC.modal---md---2-zYL .modal---modal-header---2YL1L+.modal---modal-body---2HFnG{min-height:192px}.modal---modal-content---3pwnC.modal---lg---Hdvxb{width:928px}.modal---modal-content---3pwnC.modal---lg---Hdvxb .modal---modal-body---2HFnG{min-height:246px}.modal---modal-content---3pwnC.modal---lg---Hdvxb .modal---modal-header---2YL1L+.modal---modal-body---2HFnG{min-height:192px}.modal---modal-content---3pwnC.modal---close-button---2UJ1Z .modal---modal-header---2YL1L.modal---padding---2ENnv{padding:16px 56px 16px 24px}.modal---modal-content---3pwnC .modal---close---28rLZ{position:absolute;top:16px;right:24px;padding:0;margin:0;line-height:20px;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;font-size:30px;font-weight:400;color:#999;text-shadow:none;opacity:1;-ms-filter:none;filter:none;outline:0}.modal---modal-content---3pwnC .modal---modal-header---2YL1L{min-height:54px;background-color:#fff;border-bottom:1px solid #ccc;padding:0}.modal---modal-content---3pwnC .modal---modal-header---2YL1L.modal---padding---2ENnv{padding:16px 24px}.modal---modal-content---3pwnC .modal---modal-title---2JFyt{font-weight:200;color:#222;letter-spacing:-.02em;font-size:18px}.modal---modal-content---3pwnC .modal---modal-title---2JFyt.modal---ellipsis---1BpLN{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.modal---modal-content---3pwnC .modal---modal-body---2HFnG{position:relative;padding:0}.modal---modal-content---3pwnC .modal---modal-body---2HFnG.modal---padding---2ENnv{padding:54px 24px 16px 24px}.modal---modal-content---3pwnC .modal---modal-header---2YL1L+.modal---modal-body---2HFnG.modal---padding---2ENnv{padding:16px 24px}.modal---modal-content---3pwnC .modal---modal-footer---20LPi{min-height:56px;margin-top:0;text-align:right;background-color:#eee;padding:0}.modal---modal-content---3pwnC .modal---modal-footer---20LPi.modal---padding---2ENnv{padding:12px 24px}.modal---modal-content---3pwnC .modal---modal-footer---20LPi button{min-width:80px}.modal---modal-content---3pwnC .modal---modal-footer---20LPi button+button{margin-left:8px} \ No newline at end of file +/*! react-modal v2.1.1 | (c) 2018 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-modal */.modal---modal-overlay---3D5Nr{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(51,51,51,.55);z-index:1050}.modal---modal-overlay---3D5Nr.modal---centered---1Tdo5{text-align:center}.modal---modal-overlay---3D5Nr.modal---centered---1Tdo5:before{content:'';display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.modal---modal-overlay---3D5Nr.modal---centered---1Tdo5 .modal---modal-content---3pwnC{display:inline-block;vertical-align:middle;text-align:left}.modal---modal-content---3pwnC{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;line-height:20px;position:relative;display:inline-block;background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:0 4px 16px rgba(0,0,0,.5);box-shadow:0 4px 16px rgba(0,0,0,.5);min-width:400px}.modal---modal-content---3pwnC *,.modal---modal-content---3pwnC :after,.modal---modal-content---3pwnC :before{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}.modal---modal-content---3pwnC.modal---xs---1z3ff{width:400px}.modal---modal-content---3pwnC.modal---xs---1z3ff .modal---modal-body---2HFnG{min-height:184px}.modal---modal-content---3pwnC.modal---xs---1z3ff .modal---modal-header---2YL1L+.modal---modal-body---2HFnG{min-height:130px}.modal---modal-content---3pwnC.modal---sm---20_2_{width:544px}.modal---modal-content---3pwnC.modal---sm---20_2_ .modal---modal-body---2HFnG{min-height:246px}.modal---modal-content---3pwnC.modal---sm---20_2_ .modal---modal-header---2YL1L+.modal---modal-body---2HFnG{min-height:192px}.modal---modal-content---3pwnC.modal---md---2-zYL{width:688px}.modal---modal-content---3pwnC.modal---md---2-zYL .modal---modal-body---2HFnG{min-height:246px}.modal---modal-content---3pwnC.modal---md---2-zYL .modal---modal-header---2YL1L+.modal---modal-body---2HFnG{min-height:192px}.modal---modal-content---3pwnC.modal---lg---Hdvxb{width:928px}.modal---modal-content---3pwnC.modal---lg---Hdvxb .modal---modal-body---2HFnG{min-height:246px}.modal---modal-content---3pwnC.modal---lg---Hdvxb .modal---modal-header---2YL1L+.modal---modal-body---2HFnG{min-height:192px}.modal---modal-content---3pwnC.modal---close-button---2UJ1Z .modal---modal-header---2YL1L.modal---padding---2ENnv{padding:16px 56px 16px 24px}.modal---modal-content---3pwnC .modal---close---28rLZ{position:absolute;top:16px;right:24px;padding:0;margin:0;line-height:20px;cursor:pointer;background:transparent url(data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgVHJlbmQgTWljcm8gU3R5bGUgUG9ydGFsIC0tPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiPg0KICA8dGl0bGU+Y2xvc2U8L3RpdGxlPg0KICA8cGF0aCBmaWxsPSJyZ2IoMzQsMzQsMzQpIiBkPSJNMTUgMmwtMS0xLTYgNi02LTYtMC45OSAwLjk5IDUuOTkgNi4wMTAtNiA2IDEgMSA2LTYgNiA2IDEtMS02LTYgNi02eiI+PC9wYXRoPg0KPC9zdmc+);border:0;-webkit-appearance:none;text-shadow:none;opacity:1;-ms-filter:none;filter:none;outline:0;width:16px;height:16px;opacity:.5}.modal---modal-content---3pwnC .modal---close---28rLZ:focus,.modal---modal-content---3pwnC .modal---close---28rLZ:hover{opacity:1;-ms-filter:none;filter:none}.modal---modal-content---3pwnC .modal---modal-header---2YL1L{min-height:54px;background-color:#fff;border-bottom:1px solid #ccc;padding:0}.modal---modal-content---3pwnC .modal---modal-header---2YL1L.modal---padding---2ENnv{padding:16px 24px}.modal---modal-content---3pwnC .modal---modal-title---2JFyt{font-weight:200;color:#222;letter-spacing:-.02em;font-size:18px}.modal---modal-content---3pwnC .modal---modal-title---2JFyt.modal---ellipsis---1BpLN{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.modal---modal-content---3pwnC .modal---modal-body---2HFnG{position:relative;padding:0}.modal---modal-content---3pwnC .modal---modal-body---2HFnG.modal---padding---2ENnv{padding:54px 24px 16px 24px}.modal---modal-content---3pwnC .modal---modal-header---2YL1L+.modal---modal-body---2HFnG.modal---padding---2ENnv{padding:16px 24px}.modal---modal-content---3pwnC .modal---modal-footer---20LPi{min-height:56px;margin-top:0;text-align:right;background-color:#eee;padding:0}.modal---modal-content---3pwnC .modal---modal-footer---20LPi.modal---padding---2ENnv{padding:12px 24px}.modal---modal-content---3pwnC .modal---modal-footer---20LPi button{min-width:80px}.modal---modal-content---3pwnC .modal---modal-footer---20LPi button+button{margin-left:8px} \ No newline at end of file diff --git a/package.json b/package.json index 5e277b4..92fca58 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@trendmicro/react-modal", - "version": "2.1.0", + "version": "2.1.1", "description": "React Modal component", "main": "lib/index.js", "files": [