From 53c78c054bbf3309334b6f39bb9dfc00307b91cf Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Wed, 17 Jun 2020 22:38:02 +0300 Subject: [PATCH] Update spacing demo --- src/assets/styles/app/_content.scss | 11 ++-- src/views/spacing/SpacingDemo.vue | 78 +++++++++++++++-------------- 2 files changed, 46 insertions(+), 43 deletions(-) diff --git a/src/assets/styles/app/_content.scss b/src/assets/styles/app/_content.scss index fd7f51a1e..dd78a19f2 100644 --- a/src/assets/styles/app/_content.scss +++ b/src/assets/styles/app/_content.scss @@ -23,11 +23,10 @@ } a { - background-color: var(--primary-color-text); - color: var(--primary-color); - border-radius: 3px; - padding: 2px 4px; - + text-decoration: none; + color: $linkColor; + font-weight: 600; + &:hover { text-decoration: underline; } @@ -141,7 +140,7 @@ a { text-decoration: none; color: $linkColor; - font-weight: 500; + font-weight: 600; &:hover { text-decoration: underline; diff --git a/src/views/spacing/SpacingDemo.vue b/src/views/spacing/SpacingDemo.vue index 3868ee8cd..a6eacfd24 100644 --- a/src/views/spacing/SpacingDemo.vue +++ b/src/views/spacing/SpacingDemo.vue @@ -10,48 +10,52 @@
-
Use Case 1
-

Spacing is a handy utility when elements wrap when screen size get smaller. In example below, when buttons wrap - they are displayed on top of each other whereas with spacing this issue can easily be resolved. -

+
+
Use Case 1
+

Spacing is a handy utility when elements wrap when screen size get smaller. In example below, when buttons wrap + they are displayed on top of each other whereas with spacing this issue can easily be resolved. +

-
Without Spacing
-
-
Use Case 2
-

Spacing utilities also work seamlessly with responsive PrimeFlex grid utilty. Example below demonstrates a case where on a smaller screen inputs receive a margin to position themselves - separately in stacked mode, reduce the dimension of the window to view the difference. -

+
+
Use Case 2
+

Spacing utilities also work seamlessly with responsive PrimeFlex grid utilty. Example below demonstrates a case where on a smaller screen inputs receive a margin to position themselves + separately in stacked mode, reduce the dimension of the window to view the difference. +

-
Without Spacing
-
-
- +
Without Spacing
+
+
+ +
+
+ +
+
+ +
-
- -
-
- -
-
-
With Spacing
-
-
- -
-
- -
-
- +
With Spacing
+
+
+ +
+
+ +
+
+ +
@@ -73,7 +77,7 @@ export default { \ No newline at end of file