Skip to content
Browse files

WEB-63 - Remove styles from children templates

  • Loading branch information...
1 parent cc2d3d6 commit 0ee44399703d4cc6bda3803703052def5d5396ea @mgallego committed
View
6 src/SFM/PicmntBundle/Resources/public/less/footer.less
@@ -1,6 +1,10 @@
footer {
padding-top: 120px;
padding-bottom: 40px;
- #gradient > .vertical(#F0F0F0 2%, #FFFFFF 60%);
+ background-image: -o-linear-gradient(bottom, #F0F0F0 2%, #FFFFFF 60%);
+ background-image: -moz-linear-gradient(bottom, #F0F0F0 2%, #FFFFFF 60%);
+ background-image: -webkit-linear-gradient(bottom, #F0F0F0 2%, #FFFFFF 60%);
+ background-image: -ms-linear-gradient(bottom, #F0F0F0 2%, #FFFFFF 60%);
+ background-image: linear-gradient(bottom, #F0F0F0 2%, #FFFFFF 60%);
text-align: center;
}
View
5 src/SFM/PicmntBundle/Resources/public/less/navbar.less
@@ -2,10 +2,7 @@ header {
height: @headerHeight;
width: 100%;
background: @header-background-color;
- -webkit-box-shadow: 1px 1px 10px gray;
- -o-box-shadow: 1px 1px 10px gray;
- -moz-box-shadow: 1px 1px 10px gray;
- box-shadow: 1px 1px 10px gray;
+ .box-shadow(1px 1px 10px gray);
}
.picmnt-title {
View
4 src/SFM/PicmntBundle/Resources/views/layout.html.twig
@@ -4,7 +4,7 @@
{{ parent() }}
<header class="alpha omega">
- <div class="container_12 navbar">
+ <nav class="container_12 navbar">
<div class="grid_1 picmnt-title">
<a href='{{ path("home") }}' title="Picmnt">
<span class="p-letter">P</span><span class="icmnt-word">icmnt</span>
@@ -35,6 +35,6 @@
{% endif %}
</ul>
</div>
- </div>
+ </nav>
</header>
{% endblock header %}
View
16 src/SFM/UserBundle/Resources/views/Registration/checkEmail.html.twig
@@ -2,22 +2,6 @@
{% block title %} | {{ 'Join' | trans }} {% endblock title %}
-{% block stylesheet %}
-
- {{ parent() }}
-
- {% stylesheets filter='lessphp, ?yui_css' output='css/img-viewpicmnt.css'
- '@SFMPicmntBundle/Resources/public/less/user.less'
- '@SFMPicmntBundle/Resources/public/less/alert.less'
- '@SFMPicmntBundle/Resources/public/less/forms.less'
- '@SFMPicmntBundle/Resources/public/less/img_box.less' %}
- <link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="all" />
- {% endstylesheets %}
-
- <link href="{{ asset('bundles/sfmpicmnt/css/ui-lightness/jquery-ui-1.10.0.custom.css') }}" rel="stylesheet">
-
-{% endblock stylesheet %}
-
{% block content %}
<section id="request-password" class="container container_12">
View
17 src/SFM/UserBundle/Resources/views/Registration/register.html.twig
@@ -2,23 +2,6 @@
{% block title %} | {{ 'Join' | trans }} {% endblock title %}
-{% block stylesheet %}
-
- {{ parent() }}
-
- {% stylesheets filter='lessphp, ?yui_css' output='css/img-viewpicmnt.css'
- '@SFMPicmntBundle/Resources/public/less/user.less'
- '@SFMPicmntBundle/Resources/public/less/alert.less'
- '@SFMPicmntBundle/Resources/public/less/forms.less'
- '@SFMPicmntBundle/Resources/public/less/img_box.less' %}
- <link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="all" />
- {% endstylesheets %}
-
- <link href="{{ asset('bundles/sfmpicmnt/css/ui-lightness/jquery-ui-1.10.0.custom.css') }}" rel="stylesheet">
-
-{% endblock stylesheet %}
-
-
{% block content %}
{% include "FOSUserBundle:Registration:register_content.html.twig" %}
{% endblock content %}
View
16 src/SFM/UserBundle/Resources/views/Resetting/checkEmail.html.twig
@@ -3,22 +3,6 @@
{% block title %} | {{ 'Remember the password' | trans }}{% endblock %}
-{% block stylesheet %}
-
- {{ parent() }}
-
- {% stylesheets filter='lessphp, ?yui_css' output='css/img-viewpicmnt.css'
- '@SFMPicmntBundle/Resources/public/less/user.less'
- '@SFMPicmntBundle/Resources/public/less/alert.less'
- '@SFMPicmntBundle/Resources/public/less/forms.less'
- '@SFMPicmntBundle/Resources/public/less/img_box.less' %}
- <link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="all" />
- {% endstylesheets %}
-
- <link href="{{ asset('bundles/sfmpicmnt/css/ui-lightness/jquery-ui-1.10.0.custom.css') }}" rel="stylesheet">
-
-{% endblock stylesheet %}
-
{% block content %}
<section id="request-password" class="container container_12">
View
16 src/SFM/UserBundle/Resources/views/Resetting/passwordAlreadyRequested.html.twig
@@ -3,22 +3,6 @@
{% block title %} | {{ 'Remember the password' | trans }}{% endblock %}
-{% block stylesheet %}
-
- {{ parent() }}
-
- {% stylesheets filter='lessphp, ?yui_css' output='css/img-viewpicmnt.css'
- '@SFMPicmntBundle/Resources/public/less/user.less'
- '@SFMPicmntBundle/Resources/public/less/alert.less'
- '@SFMPicmntBundle/Resources/public/less/forms.less'
- '@SFMPicmntBundle/Resources/public/less/img_box.less' %}
- <link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="all" />
- {% endstylesheets %}
-
- <link href="{{ asset('bundles/sfmpicmnt/css/ui-lightness/jquery-ui-1.10.0.custom.css') }}" rel="stylesheet">
-
-{% endblock stylesheet %}
-
{% block content %}
<section id="request-password" class="container container_12">
View
16 src/SFM/UserBundle/Resources/views/Resetting/request.html.twig
@@ -3,22 +3,6 @@
{% block title %} | {{ 'Remember the password' | trans }}{% endblock %}
-{% block stylesheet %}
-
- {{ parent() }}
-
- {% stylesheets filter='lessphp, ?yui_css' output='css/img-viewpicmnt.css'
- '@SFMPicmntBundle/Resources/public/less/user.less'
- '@SFMPicmntBundle/Resources/public/less/alert.less'
- '@SFMPicmntBundle/Resources/public/less/forms.less'
- '@SFMPicmntBundle/Resources/public/less/img_box.less' %}
- <link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="all" />
- {% endstylesheets %}
-
- <link href="{{ asset('bundles/sfmpicmnt/css/ui-lightness/jquery-ui-1.10.0.custom.css') }}" rel="stylesheet">
-
-{% endblock stylesheet %}
-
{% block content %}
{% include "FOSUserBundle:Resetting:request_content.html.twig" %}
View
17 src/SFM/UserBundle/Resources/views/Security/login.html.twig
@@ -2,23 +2,6 @@
{% block title %} | Login{% endblock %}
-{% block stylesheet %}
-
- {{ parent() }}
-
- {% stylesheets filter='lessphp, ?yui_css' output='css/img-viewpicmnt.css'
- '@SFMPicmntBundle/Resources/public/less/user.less'
- '@SFMPicmntBundle/Resources/public/less/alert.less'
- '@SFMPicmntBundle/Resources/public/less/forms.less'
- '@SFMPicmntBundle/Resources/public/less/img_box.less' %}
- <link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="all" />
- {% endstylesheets %}
-
- <link href="{{ asset('bundles/sfmpicmnt/css/ui-lightness/jquery-ui-1.10.0.custom.css') }}" rel="stylesheet">
-
-{% endblock stylesheet %}
-
-
{% block content %}
<section id="login" class="container container_12">

0 comments on commit 0ee4439

Please sign in to comment.
Something went wrong with that request. Please try again.