diff options
Merge pull request #451 from picturepan2/0.5.2
0.5.2
1 files changed, 135 insertions, 72 deletions
| -rw-r--r-- | docs/dist/spectre-rtl.css | 207 |
diff --git a/docs/dist/spectre-rtl.css b/docs/dist/spectre-rtl.css index ecdbb56..1c21d5d 100644 --- a/docs/dist/spectre-rtl.css +++ b/docs/dist/spectre-rtl.css @@ -1,5 +1,5 @@ /*! Spectre.css RTL | MIT License | github.com/picturepan2/spectre */ -/*! Spectre.css v0.5.1 | MIT License | github.com/picturepan2/spectre */ +/*! Spectre.css v0.5.2 | MIT License | github.com/picturepan2/spectre */ /* Manually forked from Normalize.css */ /* normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ /** 1. Change the default font family in all browsers (opinionated). 2. Correct the line height in all browsers. 3. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS. */ @@ -309,10 +309,14 @@ a:focus, a:hover, a:active, a.active { - color: #4240d4; + color: #302ecd; text-decoration: underline; } +a:visited { + color: #807fe2; +} + h1, h2, h3, @@ -450,10 +454,15 @@ dl dd { margin: .4rem 0 .8rem 0; } -:lang(zh) { +:lang(zh), +:lang(zh-Hans) { font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif; } +:lang(zh-Hant) { + font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang TC", "Hiragino Sans CNS", "Microsoft JhengHei", "Helvetica Neue", sans-serif; +} + :lang(ja) { font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Hiragino Kaku Gothic Pro", "Yu Gothic", YuGothic, Meiryo, "Helvetica Neue", sans-serif; } @@ -688,7 +697,7 @@ dl dd { .btn.btn-link:hover, .btn.btn-link:active, .btn.btn-link.active { - color: #4240d4; + color: #302ecd; } .btn.btn-sm { @@ -1177,6 +1186,7 @@ textarea.form-input { .input-group .form-select { -ms-flex: 1 1 auto; flex: 1 1 auto; + width: 1%; } .input-group .input-group-btn { @@ -1370,9 +1380,9 @@ input.disabled + .form-icon { } code { - background: #fdf4f4; + background: #fcf2f2; border-radius: .1rem; - color: #e06870; + color: #d73e48; font-size: 85%; line-height: 1.2; padding: .1rem .15rem; @@ -2470,8 +2480,6 @@ summary.accordion-header::-webkit-details-marker { .modal:target .modal-container, .modal.active .modal-container { animation: slide-down .2s ease 1; - max-width: 640px; - width: 100%; z-index: 1; } @@ -2493,16 +2501,26 @@ summary.accordion-header::-webkit-details-marker { background: #fff; border-radius: .1rem; box-shadow: 0 .2rem .5rem rgba(69, 77, 93, .3); - display: block; + display: flex; + display: -ms-flexbox; + -ms-flex-direction: column; + flex-direction: column; + max-height: 75vh; + max-width: 640px; padding: 0 .8rem; + width: 100%; +} + +.modal-container.modal-fullheight { + max-height: 100vh; } .modal-container .modal-header { + color: #454d5d; padding: .8rem; } .modal-container .modal-body { - max-height: 50vh; overflow-y: auto; padding: .8rem; position: relative; @@ -3027,6 +3045,10 @@ a.text-primary:hover { color: #4240d4; } +a.text-primary:visited { + color: #6c6ade; +} + .text-secondary { color: #e5e5f9; } @@ -3036,6 +3058,10 @@ a.text-secondary:hover { color: #d1d0f4; } +a.text-secondary:visited { + color: #fafafe; +} + .text-gray { color: #acb3c2; } @@ -3045,6 +3071,10 @@ a.text-gray:hover { color: #9ea6b7; } +a.text-gray:visited { + color: #bbc1cd; +} + .text-light { color: #fff; } @@ -3054,6 +3084,10 @@ a.text-light:hover { color: #f2f2f2; } +a.text-light:visited { + color: white; +} + .text-success { color: #32b643; } @@ -3063,6 +3097,10 @@ a.text-success:hover { color: #2da23c; } +a.text-success:visited { + color: #39c94b; +} + .text-warning { color: #ffb700; } @@ -3072,6 +3110,10 @@ a.text-warning:hover { color: #e6a500; } +a.text-warning:visited { + color: #ffbe1a; +} + .text-error { color: #e85600; } @@ -3081,6 +3123,10 @@ a.text-error:hover { color: #cf4d00; } +a.text-error:visited { + color: #ff6003; +} + .bg-primary { background: #5755d9; color: #fff; @@ -3296,15 +3342,15 @@ a.text-error:hover { } .relative { - position: relative; + position: relative !important; } .absolute { - position: absolute; + position: absolute !important; } .fixed { - position: fixed; + position: fixed !important; } .centered { @@ -3324,183 +3370,183 @@ a.text-error:hover { } .m-0 { - margin: 0; + margin: 0 !important; } .mb-0 { - margin-bottom: 0; + margin-bottom: 0 !important; } .ml-0 { - margin-left: 0; + margin-left: 0 !important; } .mr-0 { - margin-right: 0; + margin-right: 0 !important; } .mt-0 { - margin-top: 0; + margin-top: 0 !important; } .mx-0 { - margin-left: 0; - margin-right: 0; + margin-left: 0 !important; + margin-right: 0 !important; } .my-0 { - margin-bottom: 0; - margin-top: 0; + margin-bottom: 0 !important; + margin-top: 0 !important; } .m-1 { - margin: .2rem; + margin: .2rem !important; } .mb-1 { - margin-bottom: .2rem; + margin-bottom: .2rem !important; } .ml-1 { - margin-left: .2rem; + margin-left: .2rem !important; } .mr-1 { - margin-right: .2rem; + margin-right: .2rem !important; } .mt-1 { - margin-top: .2rem; + margin-top: .2rem !important; } .mx-1 { - margin-left: .2rem; - margin-right: .2rem; + margin-left: .2rem !important; + margin-right: .2rem !important; } .my-1 { - margin-bottom: .2rem; - margin-top: .2rem; + margin-bottom: .2rem !important; + margin-top: .2rem !important; } .m-2 { - margin: .4rem; + margin: .4rem !important; } .mb-2 { - margin-bottom: .4rem; + margin-bottom: .4rem !important; } .ml-2 { - margin-left: .4rem; + margin-left: .4rem !important; } .mr-2 { - margin-right: .4rem; + margin-right: .4rem !important; } .mt-2 { - margin-top: .4rem; + margin-top: .4rem !important; } .mx-2 { - margin-left: .4rem; - margin-right: .4rem; + margin-left: .4rem !important; + margin-right: .4rem !important; } .my-2 { - margin-bottom: .4rem; - margin-top: .4rem; + margin-bottom: .4rem !important; + margin-top: .4rem !important; } .p-0 { - padding: 0; + padding: 0 !important; } .pb-0 { - padding-bottom: 0; + padding-bottom: 0 !important; } .pl-0 { - padding-left: 0; + padding-left: 0 !important; } .pr-0 { - padding-right: 0; + padding-right: 0 !important; } .pt-0 { - padding-top: 0; + padding-top: 0 !important; } .px-0 { - padding-left: 0; - padding-right: 0; + padding-left: 0 !important; + padding-right: 0 !important; } .py-0 { - padding-bottom: 0; - padding-top: 0; + padding-bottom: 0 !important; + padding-top: 0 !important; } .p-1 { - padding: .2rem; + padding: .2rem !important; } .pb-1 { - padding-bottom: .2rem; + padding-bottom: .2rem !important; } .pl-1 { - padding-left: .2rem; + padding-left: .2rem !important; } .pr-1 { - padding-right: .2rem; + padding-right: .2rem !important; } .pt-1 { - padding-top: .2rem; + padding-top: .2rem !important; } .px-1 { - padding-left: .2rem; - padding-right: .2rem; + padding-left: .2rem !important; + padding-right: .2rem !important; } .py-1 { - padding-bottom: .2rem; - padding-top: .2rem; + padding-bottom: .2rem !important; + padding-top: .2rem !important; } .p-2 { - padding: .4rem; + padding: .4rem !important; } .pb-2 { - padding-bottom: .4rem; + padding-bottom: .4rem !important; } .pl-2 { - padding-left: .4rem; + padding-left: .4rem !important; } .pr-2 { - padding-right: .4rem; + padding-right: .4rem !important; } .pt-2 { - padding-top: .4rem; + padding-top: .4rem !important; } .px-2 { - padding-left: .4rem; - padding-right: .4rem; + padding-left: .4rem !important; + padding-right: .4rem !important; } .py-2 { - padding-bottom: .4rem; - padding-top: .4rem; + padding-bottom: .4rem !important; + padding-top: .4rem !important; } .rounded { @@ -3575,7 +3621,7 @@ a.text-error:hover { word-wrap: break-word; } -/*! Spectre.css Icons v0.5.1 | MIT License | github.com/picturepan2/spectre */ +/*! Spectre.css Icons v0.5.2 | MIT License | github.com/picturepan2/spectre */ .icon { box-sizing: border-box; display: inline-block; @@ -4195,7 +4241,7 @@ a.text-error:hover { width: .5em; } -/*! Spectre.css Experimentals v0.5.1 | MIT License | github.com/picturepan2/spectre */ +/*! Spectre.css Experimentals v0.5.2 | MIT License | github.com/picturepan2/spectre */ .form-autocomplete { position: relative; } @@ -4355,15 +4401,22 @@ a.text-error:hover { transform: translate(50%, -50%); } -.calendar .calendar-date.disabled .date-item, -.calendar .calendar-date.disabled .calendar-event, .calendar .calendar-date .date-item:disabled, -.calendar .calendar-date .calendar-event:disabled { +.calendar .calendar-date .date-item.disabled, +.calendar .calendar-date .calendar-event:disabled, +.calendar .calendar-date .calendar-event.disabled { cursor: default; opacity: .25; pointer-events: none; } +.calendar .calendar-date.prev-month .date-item, +.calendar .calendar-date.prev-month .calendar-event, +.calendar .calendar-date.next-month .date-item, +.calendar .calendar-date.next-month .calendar-event { + opacity: .25; +} + .calendar .calendar-range { position: relative; } @@ -4387,6 +4440,13 @@ a.text-error:hover { right: 50%; } +.calendar .calendar-range.range-start .date-item, +.calendar .calendar-range.range-end .date-item { + background: #4b48d6; + border-color: #3634d2; + color: #fff; +} + .calendar .calendar-range .date-item { color: #5755d9; } @@ -4868,6 +4928,9 @@ a.text-error:hover { position: relative; transform: none; } + .off-canvas.off-canvas-sidebar-show .off-canvas-overlay { + display: none !important; + } } .parallax { |