Self hosted FLOSS fitness/workout, nutrition and weight tracker
Move own CSS classes and styles from custom-yaml to manager-custom, where they actually belong.
Roland Geider1d1498d70cba
diff --git a/manager/static/css/manager-custom.css b/manager/static/css/manager-custom.cssindex e69de29bb..760a4de9d 100644--- a/manager/static/css/manager-custom.css+++ b/manager/static/css/manager-custom.css@@ -0,0 +1,106 @@+/**************************************************************+ *+ * This file contains custom classes and styles+ *+ **************************************************************/+++/*+ 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/>.+ */++/*+ * "invisible" elements, simply hidden (they still take all the space)+ */+.invisible{+ display: none;+}++.ym-g10+{+ width: 10%;+}++.ym-g15+{+ width: 15%;+}++.align-right+{+ text-align: right;+}++.sortable-settings+{+ border: 1px solid black;+}++.sortable-settings-drag+{+ padding-left: 1em;+ padding-right: 1em;+ background-color: #babdb6;+ border-bottom:1px solid black;+}+++/*+ * Hide the edit options (edit, delete) on tables, only show them when the mouse is over the row+ */+.editoptions+{+ visibility: hidden;+}++/*+ * Images inside a link are set to greyscale till mouseover+ */+a img+{+ filter: grayscale(100%);+ -webkit-filter: grayscale(100%);+ -moz-filter: grayscale(100%);+ -ms-filter: grayscale(100%);+ -o-filter: grayscale(100%);+}++a:hover img+{+ filter: grayscale(0%);+ -webkit-filter: grayscale(0%);+ -moz-filter: grayscale(0%);+ -ms-filter: grayscale(0%);+ -o-filter: grayscale(0%);+}+++/*+ * Set the sizes for the background where the muscles are shown on the exercise view page+ */+div.muscle-background+{+ width: 200px;+ height: 369px;+ background-repeat: no-repeat;+}++/*+ * Set an additional padding to the generated DIV on the edit set page+ */+#exercise-search-log{+ padding-left: 1em;+}diff --git a/manager/static/css/yaml401/custom-yaml.css b/manager/static/css/yaml401/custom-yaml.cssindex a2bfce74e..412fdf649 100644--- a/manager/static/css/yaml401/custom-yaml.css+++ b/manager/static/css/yaml401/custom-yaml.css@@ -1,7 +1,26 @@-/*+/**************************************************************** This file contains slight modifications to the YAML theme- *+ * or other YAML elements+ *+ **************************************************************/+++/*+ 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/>.*/tr:hover .editoptions, tbody tr:hover td .editoptions@@ -56,68 +75,6 @@ a {width: 100%;}-/*- * Own classes- */-.invisible{- display: none;-}--.ym-g10-{- width: 10%;-}--.ym-g15-{- width: 15%;-}--.align-right-{- text-align: right;-}--.sortable-settings-{- border: 1px solid black;-}--.sortable-settings-drag-{- padding-left: 1em;- padding-right: 1em;- background-color: #babdb6; /* #888a85;*/- /*text-align:center;*/- border-bottom:1px solid black;-}---/*- * Hide the edit options (edit, delete) on tables, only show them when the mouse is over the row- */-.editoptions-{- visibility: hidden;-}--a img-{- filter: grayscale(100%);- -webkit-filter: grayscale(100%);- -moz-filter: grayscale(100%);- -ms-filter: grayscale(100%);- -o-filter: grayscale(100%);-}--a:hover img-{- filter: grayscale(0%);- -webkit-filter: grayscale(0%);- -moz-filter: grayscale(0%);- -ms-filter: grayscale(0%);- -o-filter: grayscale(0%);-}header@@ -149,21 +106,3 @@ header div.ym-wbox/* make space for the logo */padding-left: 100px;}---/*- * Set the sizes for the background where the muscles are shown on the exercise view page- */-div.muscle-background-{- width: 200px;- height: 369px;- background-repeat: no-repeat;-}--/*- * Set an additional padding to the generated DIV on the edit set page- */-#exercise-search-log{- padding-left: 1em;-}diff --git a/manager/templates/base.html b/manager/templates/base.htmlindex 82cf9557b..2a1cdbc68 100644--- a/manager/templates/base.html+++ b/manager/templates/base.html@@ -26,6 +26,7 @@<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/manager-custom.css" %}"> <!-- Own CSS classes and styles --><link rel="stylesheet" type="text/css" href="{% static "css/jquery-ui.css" %}"> <!-- CSS for Jqyery UI elements -->