From ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667 Mon Sep 17 00:00:00 2001 From: transtrike Date: Thu, 10 Dec 2020 13:54:23 +0200 Subject: Replaced ASP.NET Core MVC with Blazor --- Web/wwwroot/css/site.css | 85 ++++++++++++++++++------------------------------ 1 file changed, 32 insertions(+), 53 deletions(-) (limited to 'Web/wwwroot/css/site.css') diff --git a/Web/wwwroot/css/site.css b/Web/wwwroot/css/site.css index f7f71f2..06ab3db 100644 --- a/Web/wwwroot/css/site.css +++ b/Web/wwwroot/css/site.css @@ -1,71 +1,50 @@ -/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification -for details on configuring this project to bundle and minify static web assets. */ +@import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); -a.navbar-brand { - white-space: normal; - text-align: center; - word-break: break-all; +html, body { + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } -/* Provide sufficient contrast against white background */ -a { - color: #0366d6; +a, .btn-link { + color: #0366d6; } .btn-primary { - color: #fff; - background-color: #1b6ec2; - border-color: #1861ac; + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; } -.nav-pills .nav-link.active, .nav-pills .show > .nav-link { - color: #fff; - background-color: #1b6ec2; - border-color: #1861ac; +.content { + padding-top: 1.1rem; } -/* Sticky footer styles --------------------------------------------------- */ -html { - font-size: 14px; -} -@media (min-width: 768px) { - html { - font-size: 16px; - } -} - -.border-top { - border-top: 1px solid #e5e5e5; -} -.border-bottom { - border-bottom: 1px solid #e5e5e5; +.valid.modified:not([type=checkbox]) { + outline: 1px solid #26b050; } -.box-shadow { - box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); +.invalid { + outline: 1px solid red; } -button.accept-policy { - font-size: 1rem; - line-height: inherit; +.validation-message { + color: red; } -/* Sticky footer styles --------------------------------------------------- */ -html { - position: relative; - min-height: 100%; +#blazor-error-ui { + background: lightyellow; + bottom: 0; + box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); + display: none; + left: 0; + padding: 0.6rem 1.25rem 0.7rem 1.25rem; + position: fixed; + width: 100%; + z-index: 1000; } -body { - /* Margin bottom by footer height */ - margin-bottom: 60px; -} -.footer { - position: absolute; - bottom: 0; - width: 100%; - white-space: nowrap; - line-height: 60px; /* Vertically center the text there */ -} + #blazor-error-ui .dismiss { + cursor: pointer; + position: absolute; + right: 0.75rem; + top: 0.5rem; + } -- cgit v1.2.3