From 6e6fee54a21b1a6983d06378ae12a6da8d407ef8 Mon Sep 17 00:00:00 2001 From: NisanurBulut Date: Sun, 6 Dec 2020 19:19:50 +0300 Subject: [PATCH] styled shop module --- .../core/interceptors/loading.interceptor.ts | 3 +++ .../src/app/shop/shop.component.scss | 20 ++++++++++++++++--- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/Camekan.Client/src/app/core/interceptors/loading.interceptor.ts b/Camekan.Client/src/app/core/interceptors/loading.interceptor.ts index 843a504..012fa4a 100644 --- a/Camekan.Client/src/app/core/interceptors/loading.interceptor.ts +++ b/Camekan.Client/src/app/core/interceptors/loading.interceptor.ts @@ -13,6 +13,9 @@ export class LoadingInterceptor implements HttpInterceptor { if (req.method === 'POST' && req.url.includes('order')) { return next.handle(req); } + if (req.method === 'DELETE') { + return next.handle(req); + } if (!req.url.includes('emailexists')) { return next.handle(req); } diff --git a/Camekan.Client/src/app/shop/shop.component.scss b/Camekan.Client/src/app/shop/shop.component.scss index 36d46d3..75f5bb2 100644 --- a/Camekan.Client/src/app/shop/shop.component.scss +++ b/Camekan.Client/src/app/shop/shop.component.scss @@ -1,6 +1,20 @@ li { cursor: pointer; + border: none; + padding: 10px 20px; + font-size: 1.1em; + &:focus { + outline: none; + } + &:active { + border-radius: 10px; + } + &:not(active):hover{ + color:#fff; + background-color:#2c3e509a; + border-radius: 10px; + } +} +h5 { + color: #18bc9c; } -h5{ - color:#18bc9c; -} \ No newline at end of file