From: yomguy Date: Wed, 6 Jun 2012 16:54:52 +0000 (+0200) Subject: css fix, try fix menu icon X-Git-Tag: 0.5^2~12 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b12ec10a18e3d24e91108aa5e5acbbb09d0047d2;p=teleforma.git css fix, try fix menu icon --- diff --git a/teleforma/models.py b/teleforma/models.py index 6674ae18..483b5af3 100755 --- a/teleforma/models.py +++ b/teleforma/models.py @@ -420,7 +420,7 @@ class Training(Model): verbose_name=_('oral 1'), blank=True, null=True) oral_2 = ManyToManyField('CourseType', related_name="training_oral_2", - verbose_name=_('oral 1'), + verbose_name=_('oral 2'), blank=True, null=True) options = ManyToManyField('CourseType', related_name="training_options", verbose_name=_('options'), diff --git a/teleforma/static/teleforma/css/teleforma.css b/teleforma/static/teleforma/css/teleforma.css index 62ebdc01..f803ce3d 100644 --- a/teleforma/static/teleforma/css/teleforma.css +++ b/teleforma/static/teleforma/css/teleforma.css @@ -455,7 +455,6 @@ form.login .submit { #menu a, #menu a:visited{ display:inline-block; - color: #fff; text-decoration:none; border-bottom-width:.5em; border-bottom-style: solid; @@ -470,11 +469,13 @@ form.login .submit { font-size: 14px; padding: .5em 1em; } + #menu a:hover, #menu a.active{ background-color: #FFF; color: #000000; } + #menu .darkblue { border-bottom-color: #0f3179; } /* #menu .blue { border-bottom-color: #357ae8; } */ #menu .blue { border-bottom-color: #4f628a; } diff --git a/teleforma/templates/telemeta/base.html b/teleforma/templates/telemeta/base.html index be5c3d29..14b44e60 100644 --- a/teleforma/templates/telemeta/base.html +++ b/teleforma/templates/telemeta/base.html @@ -97,7 +97,8 @@ alt="logo" />
  • {% trans "Admin" %}
  • {% endif %} -
  • user{% if user.first_name and user.last_name %} +
  • {% if user.first_name and user.last_name %} {{ user.first_name }} {{ user.last_name }} {% else %} {{ user.username }}