From 3686de93a8d08031f0930dfcec929df92eb218f0 Mon Sep 17 00:00:00 2001 From: Pablo Bonilla Date: Thu, 8 Jul 2021 23:01:07 -0600 Subject: [PATCH] Add custom data survey buttons --- .../account/settings/settings.component.html | 392 +++++++++--------- .../webapp/content/scss/paper-dashboard.scss | 1 + .../paper-dashboard/_datasurvey-buttons.scss | 43 ++ 3 files changed, 236 insertions(+), 200 deletions(-) create mode 100644 src/main/webapp/content/scss/paper-dashboard/_datasurvey-buttons.scss diff --git a/src/main/webapp/app/account/settings/settings.component.html b/src/main/webapp/app/account/settings/settings.component.html index 33e3201..483e48b 100644 --- a/src/main/webapp/app/account/settings/settings.component.html +++ b/src/main/webapp/app/account/settings/settings.component.html @@ -167,219 +167,211 @@ ------------------------------------------------------------------------------- --> -
-
-
-
-
-
-

Perfil

-
-
-

Información general de su usuario, el correo electrónico es su identificador en DataSurvey.

-
+
+
+
+
+
+

Perfil

-
- - -
-
-
- - -
- - This field is required. - -
-
-
-
-
- - -
- - This field is required. - -
-
-
-
-
- -
- -
-
-
-
-
- -
- -
-
-
-
- - - +
+

Información general de su usuario, el correo electrónico es su identificador en DataSurvey.

-
-
-
-
-

Contraseña

-
-
-

Utilice una contraseña segura al realizar el cambio, este dato debe ser secreto ya que provee acceso a su cuenta.

+ +
+
+
+ + +
+ + This field is required. +
- - -
-
-
- - -
- - This field is required. - -
+
+
+ + +
+ + This field is required. +
-
-
- - -
- - This field is required. - -
-
-
- -
-
- - -
- - This field is required. - -
-
-
- -
- - - +
+ +
+
+
+
+
+ +
+ +
+
+
+
+ + + +
+ +
+ +
+
+
+
+

Contraseña

+
+
+

Utilice una contraseña segura al realizar el cambio, este dato debe ser secreto ya que provee acceso a su cuenta.

+ + +
+
+
+ + +
+ + This field is required. + +
+
+
+
+
+ + +
+ + This field is required. + +
+
+
+ +
+
+ + +
+ + This field is required. + +
+
+
+ +
+ + + +
+
diff --git a/src/main/webapp/content/scss/paper-dashboard.scss b/src/main/webapp/content/scss/paper-dashboard.scss index 1b8d69d..b3fc97f 100644 --- a/src/main/webapp/content/scss/paper-dashboard.scss +++ b/src/main/webapp/content/scss/paper-dashboard.scss @@ -35,6 +35,7 @@ // Core CSS @import 'paper-dashboard/nucleo-outline'; @import 'paper-dashboard/buttons'; +@import 'paper-dashboard/datasurvey-buttons'; @import 'paper-dashboard/social-buttons'; @import 'paper-dashboard/animated-buttons'; @import 'paper-dashboard/inputs'; diff --git a/src/main/webapp/content/scss/paper-dashboard/_datasurvey-buttons.scss b/src/main/webapp/content/scss/paper-dashboard/_datasurvey-buttons.scss new file mode 100644 index 0000000..668aa23 --- /dev/null +++ b/src/main/webapp/content/scss/paper-dashboard/_datasurvey-buttons.scss @@ -0,0 +1,43 @@ +.ds-btn { + border-width: $border-thick; + font-weight: 400; + font-size: 0.9rem; + line-height: $line-height; + // text-transform: uppercase; + border: none; + margin: 10px 5px; + border-radius: $border-radius-small; + padding: $padding-btn-vertical $padding-btn-horizontal; + cursor: pointer; + + border-radius: 5px; + font-weight: 500; + letter-spacing: 0.025rem; + + position: relative; + top: 0; + transition: all 0.1s ease-in-out; +} + +.ds-btn--primary { + background-color: #2962ff; + color: #fff; + + &:hover { + background-color: #1c44b2; + top: -3px; + box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px; + } +} + +.ds-btn--secondary { + background-color: transparent; + color: #2962ff; + + &:hover { + background-color: #f7f9ff; + color: #1c44b2; + top: -3px; + box-shadow: rgba(80, 80, 80, 0.15) 0px 5px 15px; + } +}