diff --git a/src/app/header/header.component.html b/src/app/header/header.component.html index 3ec137c..470e0d1 100644 --- a/src/app/header/header.component.html +++ b/src/app/header/header.component.html @@ -1,3 +1,3 @@
- +

Ipv4 Converter

\ No newline at end of file diff --git a/src/app/input/input.component.scss b/src/app/input/input.component.scss index 2f3ec26..c4ce215 100644 --- a/src/app/input/input.component.scss +++ b/src/app/input/input.component.scss @@ -1,8 +1,9 @@ .input_field { - min-width: 150px; - max-width: 500px; + height: 58px; - width: 100%; + min-width: 300px; + max-width: 1000px; + width: auto; margin-top: 15px; margin-right: 12px; margin-left: 5px; @@ -14,7 +15,7 @@ .select { min-width: 50px; max-width: 100px; - width: 100%; + width: auto; margin-top: 15px; margin-right: 12px; } diff --git a/src/app/output/output.component.html b/src/app/output/output.component.html index 6db2ac2..9db47f4 100644 --- a/src/app/output/output.component.html +++ b/src/app/output/output.component.html @@ -1,42 +1,54 @@
-

-

+

+

+

+

-

-

+

+

+

+

-

-

+

+

+

+

-

-

+

+

+

+

-

-

+

+

+

+

-

-

+

+

+

+

\ No newline at end of file diff --git a/src/app/output/output.component.scss b/src/app/output/output.component.scss index 43450e6..e30e598 100644 --- a/src/app/output/output.component.scss +++ b/src/app/output/output.component.scss @@ -1,22 +1,28 @@ .card { min-height: 40px; + max-height: 250px; background-color: white; - width: 680px; + min-width: 300px; + max-width: auto; + width: auto; border: 3px solid rgba(0, 0, 0, 0.30); border-radius: 10px; overflow: hidden; position: relative; padding-left: 10px; - padding-top: 5px; + padding-top: 0px; margin-bottom: 10px; margin-left: 5px; + } .label { font-size: 18px; + } .outlabel { - margin-right: 30px; + width: 20px; + margin-right: 100px; } \ No newline at end of file diff --git a/src/styles.scss b/src/styles.scss index 736e179..f7b3e20 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -1,4 +1,3 @@ - // Custom Theming for Angular Material // For more information: https://material.angular.io/guide/theming @use '@angular/material' as mat; @@ -20,13 +19,10 @@ $Ipv4_Converter-warn: mat.define-palette(mat.$red-palette); // Create the theme object. A theme consists of configurations for individual // theming systems such as "color" or "typography". -$Ipv4_Converter-theme: mat.define-light-theme(( - color: ( - primary: $Ipv4_Converter-primary, - accent: $Ipv4_Converter-accent, - warn: $Ipv4_Converter-warn, - ) -)); +$Ipv4_Converter-theme: mat.define-light-theme((color: (primary: $Ipv4_Converter-primary, + accent: $Ipv4_Converter-accent, + warn: $Ipv4_Converter-warn, + ))); // Include theme styles for core and each component used in your app. // Alternatively, you can import and @include the theme mixins for each component @@ -34,5 +30,12 @@ $Ipv4_Converter-theme: mat.define-light-theme(( @include mat.all-component-themes($Ipv4_Converter-theme); -html, body { height: 100%; } -body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; } +html, +body { + height: 100%; +} + +body { + margin: 0; + font-family: Roboto, "Helvetica Neue", sans-serif; +} \ No newline at end of file