Gumby -> Scratch CSS

This commit is contained in:
Marc Ducobu 2014-11-10 12:25:55 +01:00
parent 8af6aee31e
commit 8b0c08154e
2 changed files with 45 additions and 57 deletions

View File

@ -1,18 +1,14 @@
{% extends "ChillMainBundle::layout.html.twig" %} {% extends "ChillMainBundle::layout.html.twig" %}
{% block css %} {% block css %}
{% stylesheets output="css/all.css" filter="cssrewrite" {% stylesheets output="css/all.css" filter="cssrewrite"
"bundles/clchillperson/css/person.css" "bundles/chillperson/css/person.css"
%} %}
<link rel="stylesheet" href="{{ asset_url }}"/> <link rel="stylesheet" href="{{ asset_url }}"/>
{% endstylesheets %} {% endstylesheets %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div id="person_wrapper"> <div id="person_wrapper">
<div id="general"> <div id="general">
<h1> <h1>
@ -40,10 +36,9 @@
<p class="nationality detail without_nationality">{% trans %}views.layout.without_nationality{% endtrans %}</p> <p class="nationality detail without_nationality">{% trans %}views.layout.without_nationality{% endtrans %}</p>
{% endif %} {% endif %}
</div> </div>
<div id="person_details"> <div id="person_details">
<section class="container">
<section class="tabs vertical">
{# Note: activeRouteKey should be defined in Controller or child layout #} {# Note: activeRouteKey should be defined in Controller or child layout #}
{{ chill_menu('person', { {{ chill_menu('person', {
'layout': 'ChillPersonBundle::menu.html.twig', 'layout': 'ChillPersonBundle::menu.html.twig',
@ -51,15 +46,10 @@
'activeRouteKey': activeRouteKey 'activeRouteKey': activeRouteKey
}) }} }) }}
<div class="tab-content active columns height"> <div class="grid-8">
{% block personcontent %}<!-- block personcontent empty -->{%endblock%} {% block personcontent %}<!-- block personcontent empty -->{%endblock%}
</div> </div>
</section> </section>
</div> </div>
</div> </div>
{% endblock %}
{% endblock %}

View File

@ -1,4 +1,4 @@
<div class="columns four"> <div class="grid-12">
<ul class="tab-nav follow-href-path"> <ul class="tab-nav follow-href-path">
{% for route in routes %} {% for route in routes %}
<li class="{% spaceless %} <li class="{% spaceless %}
@ -8,8 +8,6 @@
{% endspaceless %} "> {% endspaceless %} ">
<a href="{{ path(route.key, args ) }}" >{{ route.label|trans }}</a> <a href="{{ path(route.key, args ) }}" >{{ route.label|trans }}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
</div> </div>