From 78de8f1a1f423a86c05f361e87012a8ea1f1211b Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Sat, 1 Jul 2017 15:33:02 +0800 Subject: IMPORTANT: Replace all rem units to px --- src/modals.less | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/modals.less') diff --git a/src/modals.less b/src/modals.less index 4353a54..60aa2b1 100644 --- a/src/modals.less +++ b/src/modals.less @@ -7,7 +7,7 @@ left: 0; opacity: 0; overflow: hidden; - padding: @layout-padding; + padding: @layout-spacing; position: fixed; right: 0; top: 0; @@ -31,14 +31,14 @@ .modal-container { animation: slide-down .2s ease 1; - max-width: 64rem; + max-width: 640px; z-index: @zindex-0; } } &.modal-sm { .modal-container { - max-width: 32rem; + max-width: @control-max-width; } } } @@ -48,11 +48,11 @@ border-radius: @border-radius; display: block; padding: 0; - .shadow-variant(.4rem); + .shadow-variant(4px); text-align: left; .modal-header { - padding: @layout-padding-lg; + padding: @layout-spacing-lg; .modal-title { font-size: @font-size-lg; @@ -63,12 +63,12 @@ .modal-body { max-height: 50vh; overflow-y: auto; - padding: @layout-padding-lg; + padding: @layout-spacing-lg; position: relative; } .modal-footer { - padding: @layout-padding-lg; + padding: @layout-spacing-lg; text-align: right; } } -- cgit v1.3.1-26-gb76a From 706c3577c517631e8460b58afe975e6f6abe2c79 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Thu, 3 Aug 2017 13:27:26 +0800 Subject: Add form-checkbox, radio and switch validation styles --- docs/components.html | 64 ++++++++++++------------- docs/css/docs.css | 2 +- docs/dist/spectre.css | 107 +++++++++++++++++++++++++++--------------- docs/dist/spectre.min.css | 2 +- docs/elements.html | 117 +++++++++++++++++++++++++++++----------------- docs/experimentals.html | 4 +- docs/layout.html | 10 ++-- docs/src/docs.less | 2 +- src/forms.less | 107 ++++++++++++++++++++++++++++-------------- src/modals.less | 2 +- src/pagination.less | 1 - src/tables.less | 4 -- 12 files changed, 257 insertions(+), 165 deletions(-) (limited to 'src/modals.less') diff --git a/docs/components.html b/docs/components.html index 35c522a..3a9bbad 100644 --- a/docs/components.html +++ b/docs/components.html @@ -419,12 +419,12 @@ @@ -539,19 +539,19 @@
- + Avatar
- + Avatar
- + Avatar
- + Avatar
- + Avatar
@@ -569,24 +569,24 @@
- - + Avatar + Avatar
- - + Avatar + Avatar
- - + Avatar + Avatar
- - + Avatar + Avatar
- - + Avatar + Avatar
@@ -594,19 +594,19 @@
<!-- Basic avatar examples -->
 <figure class="avatar avatar-xl">
-  <img src="img/avatar-1.png" />
+  <img src="img/avatar-1.png" alt="..." />
 </figure>
 
 <figure class="avatar avatar-xl">
-  <img src="img/avatar-1.png" />
-  <img src="img/avatar-5.png" class="avatar-icon" />
+  <img src="img/avatar-1.png" alt="..." />
+  <img src="img/avatar-5.png" class="avatar-icon" alt="..." />
 </figure>
 
 <figure class="avatar avatar-xl" data-initial="YZ" style="background-color: #5764c6;"></figure>
 
 <!-- Show initals when avatar image is unavailable or not fully loaded -->
 <figure class="avatar avatar-xl" data-initial="YZ" style="background-color: #5764c6;">
-  <img src="img/avatar-1.png" />
+  <img src="img/avatar-1.png" alt="..." />
 </figure>
 
@@ -856,7 +856,7 @@
- + OS X El Capitan
Microsoft
@@ -877,7 +877,7 @@
Hardware and software
- + OS X Yosemite
To make a contribution to the world by making tools for the mind that advance humankind. @@ -901,7 +901,7 @@ Organize the world’s information and make it universally accessible and useful.
- + OS X Yosemite