From: Philippe Barbosa Date: Wed, 23 Mar 2016 19:42:57 +0000 (+0100) Subject: Accessibility updates, minor improvments X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=145e6294fbaa68634473a1ab427c490150b4fe4e;p=mezzo.git Accessibility updates, minor improvments --- diff --git a/app/festival/static/css/index.css b/app/festival/static/css/index.css index dedaf402..f2e483ea 100755 --- a/app/festival/static/css/index.css +++ b/app/festival/static/css/index.css @@ -774,14 +774,15 @@ pre > p { ---------------------------------- */ /* line 205, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/base/_typography.scss */ .page__title { - font: 700 3rem "Triplex", Georgia, Times, "Times New Roman", serif; + font: 700 3.2rem "Triplex", Georgia, Times, "Times New Roman", serif; text-transform: uppercase; + text-shadow: 1px 1px 0 white; color: #c4a563; margin: 0 0 1rem; position: relative; } -/* line 211, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/base/_typography.scss */ +/* line 212, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/base/_typography.scss */ .page__title:before { content: ""; position: absolute; @@ -792,7 +793,7 @@ pre > p { background: #c4a563; } -/* line 222, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/base/_typography.scss */ +/* line 223, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/base/_typography.scss */ .push-ical { float: right; margin: 1rem 0; @@ -1705,7 +1706,7 @@ th { .footer-nav-item, .footer-nav-item a, .footer a { - color: #555; + color: #fff; } /* line 41, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/components/_footers.scss */ @@ -1763,7 +1764,7 @@ th { display: inline-block; *display: inline; *zoom: 1; - padding: .3rem 1rem; + padding: 0rem 1rem; } /* line 91, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/components/_footers.scss */ @@ -1777,14 +1778,20 @@ th { display: block; } -/* line 117, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/components/_footers.scss */ +/* line 116, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/components/_footers.scss */ +.nav__footer h2 { + margin: 0; + font-size: 1rem; +} + +/* line 122, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/components/_footers.scss */ .footer-partners { display: block; text-align: center; margin: 2rem auto; } -/* line 121, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/components/_footers.scss */ +/* line 126, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/components/_footers.scss */ .footer-partners img { max-width: 60px; } @@ -3186,6 +3193,11 @@ th { content: ""; } +/* line 103, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/icons.scss */ +.icon__pencil:before { + content: ""; +} + /* line 179, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/icons.scss */ .icon__sign-out:before { content: ""; @@ -3235,16 +3247,18 @@ th { /* line 32, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/hero-slider.scss */ .hero__slider__name { + font-family: "Triplex", Georgia, Times, "Times New Roman", serif; + font-weight: 700; font-size: 3rem; line-height: 1; } -/* line 36, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/hero-slider.scss */ +/* line 38, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/hero-slider.scss */ .hero__slider__name a { text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4); } -/* line 39, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/hero-slider.scss */ +/* line 41, /Users/philippebarbosa/Sites/ircam-manifeste/app/festival/static/scss/modules/hero-slider.scss */ .hero__slider__name:hover { color: white; } diff --git a/app/festival/static/scss/base/_typography.scss b/app/festival/static/scss/base/_typography.scss index 46586e8f..0b26d76d 100755 --- a/app/festival/static/scss/base/_typography.scss +++ b/app/festival/static/scss/base/_typography.scss @@ -203,8 +203,9 @@ pre > p { ---------------------------------- */ .page__title { - font: $bold 3rem $header_font_family; + font: $bold 3.2rem $header_font_family; text-transform: uppercase; + text-shadow: 1px 1px 0 white; color: $base_link_color; margin: 0 0 1rem; position: relative; diff --git a/app/festival/static/scss/components/_footers.scss b/app/festival/static/scss/components/_footers.scss index 3743c9a3..8f03385a 100755 --- a/app/festival/static/scss/components/_footers.scss +++ b/app/festival/static/scss/components/_footers.scss @@ -85,7 +85,7 @@ display: inline-block; *display: inline; *zoom: 1; - padding: .3rem 1rem; + padding: 0rem 1rem; } &__item { @@ -112,6 +112,11 @@ } } } + + h2 { + margin: 0; + font-size: 1rem; + } } .footer-partners { diff --git a/app/festival/static/scss/config/_variables.scss b/app/festival/static/scss/config/_variables.scss index d51eb7ab..5587367c 100755 --- a/app/festival/static/scss/config/_variables.scss +++ b/app/festival/static/scss/config/_variables.scss @@ -83,7 +83,7 @@ $header_uppercase : false; ---------------------------------- */ $footer_background_color : $manifeste16; $footer_color : $white; -$footer_item_color : $gray_darker; +$footer_item_color : $white; diff --git a/app/festival/static/scss/modules/hero-slider.scss b/app/festival/static/scss/modules/hero-slider.scss index b4b7ca1a..58f61431 100644 --- a/app/festival/static/scss/modules/hero-slider.scss +++ b/app/festival/static/scss/modules/hero-slider.scss @@ -31,6 +31,8 @@ .hero__slider__name { @extend .event__name; + font-family: $header_font_family; + font-weight: $bold; font-size: 3rem; line-height: 1; a { diff --git a/app/festival/static/scss/modules/icons.scss b/app/festival/static/scss/modules/icons.scss index 4b2c6ebd..98baf0c8 100755 --- a/app/festival/static/scss/modules/icons.scss +++ b/app/festival/static/scss/modules/icons.scss @@ -100,7 +100,7 @@ // .icon__photo:before, // .icon__image:before, // .icon__picture-o:before { content: $fa-var-picture-o; } -// .icon__pencil:before { content: $fa-var-pencil; } +.icon__pencil:before { content: $fa-var-pencil; } // .icon__map-marker:before { content: $fa-var-map-marker; } // .icon__adjust:before { content: $fa-var-adjust; } // .icon__tint:before { content: $fa-var-tint; } diff --git a/app/festival/templates/festival/artist_detail.html b/app/festival/templates/festival/artist_detail.html index a6f929ea..d4c2922e 100644 --- a/app/festival/templates/festival/artist_detail.html +++ b/app/festival/templates/festival/artist_detail.html @@ -19,7 +19,7 @@ -
+
diff --git a/app/templates/accounts/includes/user_panel.html b/app/templates/accounts/includes/user_panel.html index f06e4f4b..f26b08fd 100644 --- a/app/templates/accounts/includes/user_panel.html +++ b/app/templates/accounts/includes/user_panel.html @@ -8,6 +8,7 @@ {{ request.user|username_or:"email" }}

+ {% trans "Update profile" %} {% else %} @@ -23,7 +24,7 @@
- {% trans "Log in" %} + {% trans "Log in" %} {% trans "or" %} diff --git a/app/templates/base.html b/app/templates/base.html index a9791cba..fd9e71a1 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -94,9 +94,9 @@
  • -

    +

    {{ event.title }} -

    +

    {% include "agenda/includes/event_metainfo_slider.html" %}
    @@ -204,8 +204,11 @@
  • diff --git a/app/templates/pages/menus/footer.html b/app/templates/pages/menus/footer.html index 9d0e3d25..5ad96ff7 100644 --- a/app/templates/pages/menus/footer.html +++ b/app/templates/pages/menus/footer.html @@ -17,7 +17,9 @@ {% if forloop.first and not page.parent.in_menu and not page.is_primary %} {% endif %} {% endif %} {% if page.in_menu and page.has_children_in_menu %}{% page_menu page %}{% endif %}