Ver código fonte

ads; sidebar margin

tags/1.1.3
Robin Thoni 8 anos atrás
pai
commit
d75f49b337
3 arquivos alterados com 23 adições e 3 exclusões
  1. 3
    2
      app/index.html
  2. 6
    1
      app/less/app.less
  3. 14
    0
      app/views/sidebar.html

+ 3
- 2
app/index.html Ver arquivo

@@ -87,10 +87,11 @@
87 87
 
88 88
     <div layout="row"  flex>
89 89
         <ng-include src="'views/sidebar.html'"></ng-include>
90
+
90 91
         <div layout="column" flex id="content">
91
-            <md-content>
92
+            <md-content class="md-main-content">
92 93
                 <ng-include src="'views/toolbar.html'"></ng-include>
93
-                <md-content layout="column" flex class="md-main-content">
94
+                <md-content layout="column" flex class="md-ui-content">
94 95
                     <div ui-view></div>
95 96
                     <ng-include src="'views/footer.html'"></ng-include>
96 97
                 </md-content>

+ 6
- 1
app/less/app.less Ver arquivo

@@ -1,4 +1,9 @@
1
-.md-main-content {
1
+@media screen and (min-width: 1280px) {
2
+  .md-main-content {
3
+    margin-left: 10px;
4
+  }
5
+}
6
+.md-ui-content {
2 7
   padding-top: 10px;
3 8
   padding-left: 10px;
4 9
 }

+ 14
- 0
app/views/sidebar.html Ver arquivo

@@ -62,5 +62,19 @@
62 62
                 </md-button>
63 63
             </div>
64 64
         </div>
65
+
66
+        <hr>
67
+
68
+        <div class="col-xs-offset-3 col-xs-6">
69
+            <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
70
+            <!-- chronos-rob -->
71
+            <ins class="adsbygoogle"
72
+                 style="display:inline-block;width:120px;height:240px"
73
+                 data-ad-client="ca-pub-2016581167110949"
74
+                 data-ad-slot="6373614516"></ins>
75
+            <script>
76
+                (adsbygoogle = window.adsbygoogle || []).push({});
77
+            </script>
78
+        </div>
65 79
     </md-content>
66 80
 </md-sidenav>

Carregando…
Cancelar
Salvar