From 576c4eb58bb2931321838e5ad17ad1c341995470 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Wed, 24 Nov 2021 09:26:23 +0000 Subject: [PATCH] Remove unused css files --- .gitignore | 4 +- .../resources/static/resources/css/header.css | 62 ------------------- .../static/resources/css/petclinic.css | 8 +-- .../static/resources/css/responsive.css | 28 --------- .../static/resources/css/typography.css | 43 ------------- src/main/scss/petclinic.scss | 6 +- 6 files changed, 9 insertions(+), 142 deletions(-) delete mode 100644 src/main/resources/static/resources/css/header.css delete mode 100644 src/main/resources/static/resources/css/responsive.css delete mode 100644 src/main/resources/static/resources/css/typography.css diff --git a/.gitignore b/.gitignore index 182603c..6e868a9 100644 --- a/.gitignore +++ b/.gitignore @@ -10,5 +10,5 @@ target/* .sts4-cache/ .vscode _site/ -node/ -node_modules/ +!petclinic.css +*.css diff --git a/src/main/resources/static/resources/css/header.css b/src/main/resources/static/resources/css/header.css deleted file mode 100644 index ef18a54..0000000 --- a/src/main/resources/static/resources/css/header.css +++ /dev/null @@ -1,62 +0,0 @@ -.navbar { - border-top: 4px solid #6db33f; - background-color: #34302d; - margin-bottom: 0px; - border-bottom: 0; - border-left: 0; - border-right: 0; } - -.navbar a.navbar-brand { - background: url("../images/spring-logo-dataflow.png") -1px -1px no-repeat; - margin: 12px 0 6px; - width: 229px; - height: 46px; - display: inline-block; - text-decoration: none; - padding: 0; } - -.navbar a.navbar-brand span { - display: block; - width: 229px; - height: 46px; - background: url("../images/spring-logo-dataflow.png") -1px -48px no-repeat; - opacity: 0; - -moz-transition: opacity 0.12s ease-in-out; - -webkit-transition: opacity 0.12s ease-in-out; - -o-transition: opacity 0.12s ease-in-out; } - -.navbar a.navbar-brand:hover span { - opacity: 1; } - -.navbar li > a, .navbar-text { - font-family: "montserratregular", sans-serif; - text-shadow: none; - font-size: 14px; - /* line-height: 14px; */ - padding: 28px 20px; - transition: all 0.15s; - -webkit-transition: all 0.15s; - -moz-transition: all 0.15s; - -o-transition: all 0.15s; - -ms-transition: all 0.15s; } - -.navbar li > a { - text-transform: uppercase; } - -.navbar .navbar-text { - margin-top: 0; - margin-bottom: 0; } - -.navbar li:hover > a { - color: #eeeeee; - background-color: #6db33f; } - -.navbar-toggle { - border-width: 0; } - .navbar-toggle .icon-bar + .icon-bar { - margin-top: 3px; } - .navbar-toggle .icon-bar { - width: 19px; - height: 3px; } - -/*# sourceMappingURL=../../../../../../target/header.css.map */ \ No newline at end of file diff --git a/src/main/resources/static/resources/css/petclinic.css b/src/main/resources/static/resources/css/petclinic.css index 9f6c32e..38b04a3 100644 --- a/src/main/resources/static/resources/css/petclinic.css +++ b/src/main/resources/static/resources/css/petclinic.css @@ -7771,13 +7771,13 @@ textarea.form-control-lg { margin-top: 12px; border-width: 2px; transition: border 0.15s; + color: #f1f1f1; + background: #34302D; + border-color: #6db33f; -webkit-transition: border 0.15s; -moz-transition: border 0.15s; -o-transition: border 0.15s; - -ms-transition: border 0.15s; - color: #f1f1f1; - background: #34302D; - border-color: #6db33f; } + -ms-transition: border 0.15s; } .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary .open .dropdown-toggle { background-color: #34302D; diff --git a/src/main/resources/static/resources/css/responsive.css b/src/main/resources/static/resources/css/responsive.css deleted file mode 100644 index b4798fc..0000000 --- a/src/main/resources/static/resources/css/responsive.css +++ /dev/null @@ -1,28 +0,0 @@ -@media (max-width: 768px) { - .navbar-toggle { - position: absolute; - z-index: 9999; - left: 0px; - top: 0px; } - .navbar a.navbar-brand { - display: block; - margin: 0 auto 0 auto; - width: 148px; - height: 50px; - float: none; - background: url("../images/spring-logo-dataflow-mobile.png") 0 center no-repeat; } - .homepage-billboard .homepage-subtitle { - font-size: 21px; - line-height: 21px; } - .navbar a.navbar-brand span { - display: none; } - .navbar { - border-top-width: 0; } - .xd-container { - margin-top: 20px; - margin-bottom: 30px; } - .index-page--subtitle { - margin-top: 10px; - margin-bottom: 30px; } } - -/*# sourceMappingURL=../../../../../../target/responsive.css.map */ \ No newline at end of file diff --git a/src/main/resources/static/resources/css/typography.css b/src/main/resources/static/resources/css/typography.css deleted file mode 100644 index 5331ced..0000000 --- a/src/main/resources/static/resources/css/typography.css +++ /dev/null @@ -1,43 +0,0 @@ -@font-face { - font-family: 'varela_roundregular'; - src: url("../fonts/varela_round-webfont.eot"); - src: url("../fonts/varela_round-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/varela_round-webfont.woff") format("woff"), url("../fonts/varela_round-webfont.ttf") format("truetype"), url("../fonts/varela_round-webfont.svg#varela_roundregular") format("svg"); - font-weight: normal; - font-style: normal; } - -@font-face { - font-family: 'montserratregular'; - src: url("../fonts/montserrat-webfont.eot"); - src: url("../fonts/montserrat-webfont.eot?#iefix") format("embedded-opentype"), url("../fonts/montserrat-webfont.woff") format("woff"), url("../fonts/montserrat-webfont.ttf") format("truetype"), url("../fonts/montserrat-webfont.svg#montserratregular") format("svg"); - font-weight: normal; - font-style: normal; } - -body, h1, h2, h3, p, input { - margin: 0; - font-weight: 400; - font-family: "varela_roundregular", sans-serif; - color: #34302d; } - -h1 { - font-size: 24px; - line-height: 30px; - font-family: "montserratregular", sans-serif; } - -h2 { - font-size: 18px; - font-weight: 700; - line-height: 24px; - margin-bottom: 10px; - font-family: "montserratregular", sans-serif; } - -h3 { - font-size: 16px; - line-height: 24px; - margin-bottom: 10px; - font-weight: 700; } - -strong { - font-weight: 700; - font-family: "montserratregular", sans-serif; } - -/*# sourceMappingURL=../../../../../../target/typography.css.map */ \ No newline at end of file diff --git a/src/main/scss/petclinic.scss b/src/main/scss/petclinic.scss index 3498249..febc6ee 100644 --- a/src/main/scss/petclinic.scss +++ b/src/main/scss/petclinic.scss @@ -65,13 +65,13 @@ $table-border-color: $spring-brown; margin-top: 12px; border-width: 2px; transition: border 0.15s; + color: $spring-light-grey; + background: $spring-brown; + border-color: $spring-green; -webkit-transition: border 0.15s; -moz-transition: border 0.15s; -o-transition: border 0.15s; -ms-transition: border 0.15s; - color: $spring-light-grey; - background: $spring-brown; - border-color: $spring-green; &:hover, &:focus,