Procházet zdrojové kódy

adjust styling - set typography sidebar

tags/0.9.0
Alej před 4 roky
rodič
revize
c6b3aa6e68
1 změnil soubory, kde provedl 19 přidání a 9 odebrání
  1. 19
    9
      vue-theme/src/components/sidebars/sidebar.vue

+ 19
- 9
vue-theme/src/components/sidebars/sidebar.vue Zobrazit soubor

@@ -1,17 +1,17 @@
1 1
 <template lang="pug">
2 2
 aside.sidebar
3 3
     section
4
-        //- Artist sorting
4
+        //- if Artist sorting
5 5
         .shadow(v-if="type === 'artists' && layout !== 'single'")
6
-            h1.t-up sort {{ type }} by
7
-            ul
6
+            h3.t-up sort {{ type }} by
7
+            ul.t-up
8 8
                 li(v-for="option in sortOptions")
9
-                    router-link(:to="`/${type}/${sortTypes[option]}`").t-cap
9
+                    router-link(:to="`/${type}/${sortTypes[option]}`")
10 10
                         p {{ option }}
11 11
         
12 12
         //- type specific sidebar
13 13
         .shadow(v-else)
14
-            h5.t-up.t-b {{ type }} sidebar more
14
+            h3.t-up.t-b {{ type }} specific sidebar more
15 15
 
16 16
         //- p2p types and related posts
17 17
         .shadow(v-if="layout === 'single' && Object.keys(related).length" v-for="p2pPostType in Object.keys(related)")
@@ -20,20 +20,27 @@ aside.sidebar
20 20
         //- Optional passthrough
21 21
         slot
22 22
 
23
-        //- Exhibitions
23
+        //- if Exhibitions
24 24
         .shadow(v-if="layout === 'single'")
25 25
             exhibitions-sidebar
26 26
         
27
-        //- Events
27
+        //- if Events
28 28
         .shadow(v-if="layout === 'single'")
29 29
             events-sidebar
30 30
         
31 31
 </template>
32 32
 
33 33
 <script>
34
+// related sidebar list 
34 35
 import relatedSidebar from './related'
35 36
 import exhibitionsSidebar from './exhibitions'
36 37
 import eventsSidebar from './events'
38
+// import shortsSidebar from './shorts'
39
+// import talksSidebar from './talks'
40
+// import postsSidebar from './posts'
41
+// import publicationsSidebar from './publications'
42
+// import articlesSidebar from './articles'
43
+
37 44
 import { sortTypes } from '@/utils/helpers'
38 45
 
39 46
 export default {
@@ -98,6 +105,7 @@ export default {
98 105
 aside.sidebar
99 106
     position: sticky
100 107
     /* top: 65px */
108
+    top: $ms-7
101 109
     /* background-color: salmon */
102 110
     /* margin: 0 0 0 $ms-0 */
103 111
     width: 100%
@@ -108,8 +116,10 @@ aside.sidebar
108 116
         > .post
109 117
             /* background-color: blue */
110 118
     ul
111
-        list-style: none      
112
-
119
+        list-style: none  
120
+        li
121
+            img
122
+                width: 100%
113 123
     .shadow
114 124
         background-color: white
115 125
 

Načítá se…
Zrušit
Uložit