diff --git a/src/main/resources/static/css/error.css b/src/main/resources/static/css/error.css index 5cc37b61..40ff7669 100644 --- a/src/main/resources/static/css/error.css +++ b/src/main/resources/static/css/error.css @@ -1,17 +1,8 @@ -h1 { - text-align: center; - margin-top: 10%; -} - p { text-align: center; margin-top: 2em; } -.button:hover { - background-color: #005b7f; -} - .features-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(21rem, 3fr)); @@ -31,58 +22,21 @@ p { flex: 1; } -#support-section { - background-color: #f9f9f9; - padding: 4rem; - margin-top: 1rem; - text-align: center; -} - -#support-section h1 { - margin-top: 0; -} - -#support-section p { - margin-top: 0; -} - #button-group { display: flex; justify-content: center; flex-wrap: wrap; } +#home-button, #github-button, #discord-button { display: inline-block; padding: 1rem 2rem; margin: 1rem; - background-color: #008cba; - color: #fff; font-size: 1.2rem; text-align: center; text-decoration: none; border-radius: 3rem; transition: all 0.3s ease-in-out; -} - -#github-button:hover, -#discord-button:hover, -.home-button:hover { - background-color: #005b7f; -} - -.home-button { - display: block; - width: 200px; - height: 50px; - margin: 2em auto; - background-color: #008cba; - color: white; - text-align: center; - line-height: 50px; - text-decoration: none; - font-weight: bold; - border-radius: 25px; - transition: all 0.3s ease-in-out; -} +} \ No newline at end of file diff --git a/src/main/resources/static/css/errorBanner.css b/src/main/resources/static/css/errorBanner.css index 75618731..adeb3dfa 100644 --- a/src/main/resources/static/css/errorBanner.css +++ b/src/main/resources/static/css/errorBanner.css @@ -1,5 +1,6 @@ #errorContainer { - margin: 20px; /* adjust this value as needed */ + margin: 1rem 0rem 2rem; + border-radius: 3rem; } #helpModalDialog { @@ -18,7 +19,7 @@ } #helpModal .button:hover { - background-color: #005b7f; + background-color: var(--md-sys-color-primary); } #helpModal .features-container { @@ -40,58 +41,21 @@ flex: 1; } -#support-section { - background-color: #f9f9f9; - padding: 4rem; - margin-top: 1rem; - text-align: center; -} - -#support-section h1 { - margin-top: 0; -} - -#support-section p { - margin-top: 0; -} - #button-group { display: flex; justify-content: center; flex-wrap: wrap; } +#home-button, #github-button, #discord-button { display: inline-block; padding: 1rem 2rem; margin: 1rem; - background-color: #008cba; - color: #fff; font-size: 1.2rem; text-align: center; text-decoration: none; border-radius: 3rem; transition: all 0.3s ease-in-out; -} - -#github-button:hover, -#discord-button:hover, -.home-button:hover { - background-color: #005b7f; -} - -.home-button { - display: block; - width: 200px; - height: 50px; - margin: 2em auto; - background-color: #008cba; - color: white; - text-align: center; - line-height: 50px; - text-decoration: none; - font-weight: bold; - border-radius: 25px; - transition: all 0.3s ease-in-out; -} +} \ No newline at end of file diff --git a/src/main/resources/static/css/theme/componentes.css b/src/main/resources/static/css/theme/componentes.css index 5ea175d4..3f297895 100644 --- a/src/main/resources/static/css/theme/componentes.css +++ b/src/main/resources/static/css/theme/componentes.css @@ -879,4 +879,31 @@ textarea.form-control { .list-group-item .btn { padding: .375rem .5rem; +} + +/*Alert */ +.alert-container { + padding: 2rem 3rem; + border-radius: 3rem; + margin: 1rem 0rem 2rem; +} + +.alert-header { + display: flex !important; + justify-content: space-between; +} + +.alert-heading { + font-size: calc(1.275rem + .3vw); +} + +.alert-dismissible .btn-close { + position: relative; + padding: 0; +} + +.alert-danger { + color: var(--md-sys-color-on-error-container); + background-color: var(--md-sys-color-error-container); + border-color: transparent; } \ No newline at end of file diff --git a/src/main/resources/templates/error.html b/src/main/resources/templates/error.html index d896ecbc..61c69c24 100644 --- a/src/main/resources/templates/error.html +++ b/src/main/resources/templates/error.html @@ -8,9 +8,9 @@
-
-
+
+

@@ -18,10 +18,10 @@

- - + +
- +
diff --git a/src/main/resources/templates/fragments/errorBanner.html b/src/main/resources/templates/fragments/errorBanner.html index a5070422..66908390 100644 --- a/src/main/resources/templates/fragments/errorBanner.html +++ b/src/main/resources/templates/fragments/errorBanner.html @@ -1,12 +1,18 @@ -
-