diff --git a/Foodie/ClientApp/.gitignore b/Foodie/ClientApp/.gitignore index e1f679b..1411a0a 100644 --- a/Foodie/ClientApp/.gitignore +++ b/Foodie/ClientApp/.gitignore @@ -1,5 +1,7 @@ # See http://help.github.com/ignore-files/ for more about ignoring files. +.angular/ + # compiled output /dist /dist-server diff --git a/Foodie/ClientApp/package-lock.json b/Foodie/ClientApp/package-lock.json index 3b380df..85e1bc3 100644 --- a/Foodie/ClientApp/package-lock.json +++ b/Foodie/ClientApp/package-lock.json @@ -18,7 +18,7 @@ "@angular/platform-browser": "17.1.1", "@angular/platform-browser-dynamic": "17.1.1", "@angular/platform-server": "17.1.1", - "@angular/pwa": "^17.1.1", + "@angular/pwa": "17.1.1", "@angular/router": "17.1.1", "@angular/service-worker": "17.1.1", "angular2-counto": "^1.2.5", @@ -36,9 +36,9 @@ "zone.js": "~0.14.0" }, "devDependencies": { - "@angular-devkit/build-angular": "^17.1.1", - "@angular/cli": "^17.1.1", - "@angular/compiler-cli": "^17.1.1", + "@angular-devkit/build-angular": "17.1.1", + "@angular/cli": "17.1.1", + "@angular/compiler-cli": "17.1.1", "@angular/language-service": "8.0.0", "@types/jasmine": "~3.3.9", "@types/jasminewd2": "~2.0.6", diff --git a/Foodie/ClientApp/package.json b/Foodie/ClientApp/package.json index 3e033ff..958f704 100644 --- a/Foodie/ClientApp/package.json +++ b/Foodie/ClientApp/package.json @@ -25,7 +25,7 @@ "@angular/platform-browser": "17.1.1", "@angular/platform-browser-dynamic": "17.1.1", "@angular/platform-server": "17.1.1", - "@angular/pwa": "^17.1.1", + "@angular/pwa": "17.1.1", "@angular/router": "17.1.1", "@angular/service-worker": "17.1.1", "angular2-counto": "^1.2.5", @@ -43,9 +43,9 @@ "zone.js": "~0.14.0" }, "devDependencies": { - "@angular-devkit/build-angular": "^17.1.1", - "@angular/cli": "^17.1.1", - "@angular/compiler-cli": "^17.1.1", + "@angular-devkit/build-angular": "17.1.1", + "@angular/cli": "17.1.1", + "@angular/compiler-cli": "17.1.1", "@angular/language-service": "8.0.0", "@types/jasmine": "~3.3.9", "@types/jasminewd2": "~2.0.6", diff --git a/Foodie/ClientApp/src/app/starting/starting.component.css b/Foodie/ClientApp/src/app/starting/starting.component.css index 52ccd07..a61d915 100644 --- a/Foodie/ClientApp/src/app/starting/starting.component.css +++ b/Foodie/ClientApp/src/app/starting/starting.component.css @@ -1,8 +1,7 @@ .container { display: flex; flex-direction: column; - justify-content: center; - text-align: center; + align-items: center; width: 90%; } @@ -11,10 +10,8 @@ h1 { font-size: 27px; } -button { - background: -webkit-linear-gradient(#0cebeb, #20e3b2, #29ffc6); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; +a { + width: fit-content; font-size: 27px; } diff --git a/Foodie/ClientApp/src/app/starting/starting.component.html b/Foodie/ClientApp/src/app/starting/starting.component.html index 85b17b0..2876a97 100644 --- a/Foodie/ClientApp/src/app/starting/starting.component.html +++ b/Foodie/ClientApp/src/app/starting/starting.component.html @@ -1,9 +1,6 @@
\ No newline at end of file + Sign up now! + Sign in + diff --git a/Foodie/ClientApp/src/styles.scss b/Foodie/ClientApp/src/styles.scss index 15086ab..fe0052a 100644 --- a/Foodie/ClientApp/src/styles.scss +++ b/Foodie/ClientApp/src/styles.scss @@ -1,10 +1,11 @@ /* You can add global styles to this file, and also import other style files */ - /* Provide sufficient contrast against white background */ -a { - color: #0366d6; +@import 'styles/material-override'; + +a:hover { + text-decoration: none; } code { @@ -31,7 +32,7 @@ body { button:focus, button:active:focus, button.active:focus { -outline: none !important; + outline: none !important; outline-style: none !important; } @@ -40,7 +41,6 @@ outline: none !important; stroke: #20e3b2 !important; } - /* FLOATING BUTTONS */ .floating-buttons { @@ -83,4 +83,4 @@ outline: none !important; opacity: 1; transform: scale(1); } -} \ No newline at end of file +} diff --git a/Foodie/ClientApp/src/styles/_material-override.scss b/Foodie/ClientApp/src/styles/_material-override.scss new file mode 100644 index 0000000..43e3222 --- /dev/null +++ b/Foodie/ClientApp/src/styles/_material-override.scss @@ -0,0 +1,11 @@ +.transparent-button { + --mat-mdc-focus-indicator-border-color: none; + --mat-focus-indicator-border-color: none; +} + +.transparent-button .mdc-button__label { + background: -webkit-linear-gradient(#0cebeb, #20e3b2, #29ffc6); + -webkit-background-clip: text; + background-clip: text; + -webkit-text-fill-color: transparent; +}