made card image switcher
This commit is contained in:
File diff suppressed because one or more lines are too long
BIN
web/themes/custom/materiotheme/assets/img/blank.gif
Normal file
BIN
web/themes/custom/materiotheme/assets/img/blank.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
@@ -3,9 +3,6 @@ import Vue from 'vue'
|
||||
import store from 'vuejs/store'
|
||||
import router from 'vuejs/route'
|
||||
|
||||
// import autofocus from 'vue-autofocus-directive';
|
||||
// Vue.directive('autofocus', autofocus);
|
||||
|
||||
import VUserBlock from 'vuejs/components/Block/UserBlock'
|
||||
import VMainContent from 'vuejs/components/Content/MainContent'
|
||||
import VSearchBlock from 'vuejs/components/Block/SearchBlock'
|
||||
|
||||
@@ -251,13 +251,23 @@ article.node--type-frontpage{
|
||||
}
|
||||
section.images{
|
||||
position: relative;
|
||||
img:first-of-type{
|
||||
z-index:5
|
||||
}
|
||||
img:not(:first-of-type){
|
||||
&, *{width: 100%; height:100%;}
|
||||
figure{
|
||||
margin:0;
|
||||
position: absolute;
|
||||
top:0; left:0;
|
||||
z-index:1;
|
||||
// width: 100%; height:100%;
|
||||
&:first-of-type{
|
||||
z-index:5
|
||||
}
|
||||
img{
|
||||
// width: 100%; height:100%;
|
||||
&.blank{
|
||||
position: absolute;
|
||||
top:0; left:0;
|
||||
z-index: 20;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user