Self hosted FLOSS fitness/workout, nutrition and weight tracker
Cleanup the CSS font-imports
Roland Geideraa0e47928e0b
diff --git a/manager/static/css/jquery-ui-custom.css b/manager/static/css/jquery-ui-custom.cssnew file mode 100644index 000000000..bd584c8bf--- /dev/null+++ b/manager/static/css/jquery-ui-custom.css@@ -0,0 +1,37 @@+/*+ This file is part of Workout Manager++ Workout Manager is free software: you can redistribute it and/or modify+ it under the terms of the GNU Affero General Public License as published by+ the Free Software Foundation, either version 3 of the License, or+ (at your option) any later version.++ Workout Manager is distributed in the hope that it will be useful,+ but WITHOUT ANY WARRANTY; without even the implied warranty of+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ GNU Affero General Public License for more details.++ You should have received a copy of the GNU Affero General Public License+ along with Workout Manager. If not, see <http:/www.gnu.org/licenses/>.+*/+++/**************************************************************+ *+ * This file contains slight modifications to the CSS provided+ * by JQuery UI+ *+ **************************************************************/+++/* Overwrite the font used for UI elements */+.ui-widget {+ font-family: "Open Sans Light", Arial, Helvetica, sans-serif;+}+.ui-widget input,+.ui-widget select,+.ui-widget textarea,+.ui-widget button {+ font-family: "Open Sans Light", Arial, Helvetica, sans-serif;+}+diff --git a/manager/static/css/workout-manager.css b/manager/static/css/workout-manager.cssindex f06a41a99..fe5f17b30 100644--- a/manager/static/css/workout-manager.css+++ b/manager/static/css/workout-manager.css@@ -1,10 +1,3 @@-/**************************************************************- *- * This file contains custom classes and styles- *- **************************************************************/--/*This file is part of Workout Manager@@ -20,7 +13,50 @@You should have received a copy of the GNU Affero General Public Licensealong with Workout Manager. If not, see <http://www.gnu.org/licenses/>.- */+*/++/**************************************************************+ *+ * This file contains custom classes and styles+ *+ **************************************************************/++++/* font-face kit by Fonts2u - http://www.fonts2u.com */+@font-face {+ font-family:"Open Sans Light";+ src:url("/static/fonts/OpenSans-Light.eot?") format("eot"),+ url("/static/fonts/OpenSans-Light.woff") format("woff"),+ url("/static/fonts/OpenSans-Light.ttf") format("truetype"),+ url("/static/fonts/OpenSans-Light.svg#OpenSans-Light") format("svg");+ font-weight:normal;+ font-style:normal;+}+++@font-face {+ font-family:"Open Sans";+ src:url("/static/fonts/OpenSans-Regular.eot?") format("eot"),+ url("/static/fonts/OpenSans-Regular.woff") format("woff"),+ url("/static/fonts/OpenSans-Regular.ttf") format("truetype"),+ url("/static/fonts/OpenSans-Regular.svg#OpenSans") format("svg");+ font-weight:normal;+ font-style:normal;+}+++@font-face {+ font-family:"Open Sans Bold";+ src:url("/static/fonts/OpenSans-Bold.eot?") format("eot"),+ url("/static/fonts/OpenSans-Bold.woff") format("woff"),+ url("/static/fonts/OpenSans-Bold.ttf") format("truetype"),+ url("/static/fonts/OpenSans-Bold.svg#OpenSans-Bold") format("svg");+ font-weight:normal;+ font-style:normal;+}++/** "invisible" elements, simply hidden (they still take all the space)@@ -176,7 +212,7 @@ circle{*/header h1{text-shadow: 2px 3px 3px #292929;- font-family: "Open Sans", Arial, Helvetica, sans-serif;+ font-family: "Open Sans Bold", Arial, Helvetica, sans-serif;font-weight: 300;}diff --git a/manager/static/css/yaml401/custom-yaml.css b/manager/static/css/yaml401/custom-yaml.cssindex e5de35a2e..9e5e2d343 100644--- a/manager/static/css/yaml401/custom-yaml.css+++ b/manager/static/css/yaml401/custom-yaml.css@@ -1,11 +1,3 @@-/**************************************************************- *- * This file contains slight modifications to the YAML theme- * or other YAML elements- *- **************************************************************/--/*This file is part of Workout Manager@@ -21,80 +13,39 @@You should have received a copy of the GNU Affero General Public Licensealong with Workout Manager. If not, see <http:/www.gnu.org/licenses/>.- */---/* font-face kit by Fonts2u - http://www.fonts2u.com */-@font-face {- font-family:"Open Sans Light";- src:url("/static/fonts/OpenSans-Light.eot?") format("eot"),- url("/static/fonts/OpenSans-Light.woff") format("woff"),- url("/static/fonts/OpenSans-Light.ttf") format("truetype"),- url("/static/fonts/OpenSans-Light.svg#OpenSans-Light") format("svg");- font-weight:normal;- font-style:normal;-}---@font-face {- font-family:"Open Sans";- src:url("/static/fonts/OpenSans-Regular.eot?") format("eot"),- url("/static/fonts/OpenSans-Regular.woff") format("woff"),- url("/static/fonts/OpenSans-Regular.ttf") format("truetype"),- url("/static/fonts/OpenSans-Regular.svg#OpenSans") format("svg");- font-weight:normal;- font-style:normal;-}+*/-/* font-face kit by Fonts2u - http://www.fonts2u.com-@font-face {- font-family:"Open Sans Bold";- src:url("OpenSans-Bold.eot?") format("eot"),- url("OpenSans-Bold.woff") format("woff"),- url("OpenSans-Bold.ttf") format("truetype"),- url("OpenSans-Bold.svg#OpenSans-Bold") format("svg");- font-weight:normal;- font-style:normal;-}+/**************************************************************+ *+ * This file contains slight modifications to the YAML theme+ * or other YAML elements+ *+ **************************************************************/-@font-face {- font-family:"Open Sans";- src:url("/static/fonts/OpenSans-Regular.eot?") format("eot"),- url("/static/fonts/OpenSans-Regular.woff") format("woff"),- url("/static/fonts/OpenSans-Regular.ttf") format("truetype"),- url("/static/fonts/OpenSans-Regular.svg#OpenSans") format("svg");- font-weight:normal;- font-style:normal;-}-*/h1,- h2,- h3,- h4,- h5,- h6 {- font-family: "Open Sans Light", Arial, Helvetica, sans-serif;- font-weight: 300;- }+h2,+h3,+h4,+h5,+h6 {+ font-family: "Open Sans Light", Arial, Helvetica, sans-serif;+ font-weight: 300;+}body {font-family: "Open Sans Light", Arial, Helvetica, sans-serif;color: black; /* Open Sans Light is very thin, black looks better here */}--.ui-widget {- font-family: "Open Sans Light", Arial, Helvetica, sans-serif;-}-.ui-widget input,-.ui-widget select,-.ui-widget textarea,-.ui-widget button {- font-family: "Open Sans Light", Arial, Helvetica, sans-serif;+table {+ color: black;}+nav {+ font-family: "Open Sans", Arial, Helvetica, sans-serif;+}tr:hover .editoptions, tbody tr:hover td .editoptions, ul:hover .editoptionsdiff --git a/manager/templates/base.html b/manager/templates/base.htmlindex e2c4e39b4..65887566a 100644--- a/manager/templates/base.html+++ b/manager/templates/base.html@@ -25,10 +25,10 @@--><link rel="stylesheet" type="text/css" href="{% static 'css/yaml/demos/css/flexible-grids.css' %} "> <!-- CSS framework for the layout -->-+ <link rel="stylesheet" type="text/css" href="{% static 'css/yaml/custom-yaml.css' %}"> <!-- Customisations for yaml --><link rel="stylesheet" type="text/css" href="{% static 'css/workout-manager.css' %}"> <!-- Own CSS classes and styles -->- <link rel="stylesheet" type="text/css" href="{% static 'css/jquery-ui.css' %}"> <!-- CSS for Jqyery UI elements -->-<link rel="stylesheet" type="text/css" href="{% static 'css/yaml/custom-yaml.css' %}"> <!-- Customisations for yaml -->+ <link rel="stylesheet" type="text/css" href="{% static 'css/jquery-ui.css' %}"> <!-- CSS for JQuery UI elements -->+ <link rel="stylesheet" type="text/css" href="{% static 'css/jquery-ui-custom.css' %}"> <!-- Customization for JQuery CSS --><script src="https://browserid.org/include.js" type="text/javascript"></script><script src="{% static 'js/jquery.js' %}" type="text/javascript"></script>