File tree Expand file tree Collapse file tree
src/app/layouts/carousel/carousel-animations-sample Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< div class ="carousel-animation-wrapper ">
22 < div class ="action-wrapper ">
3- < span style =" margin: 0 5px 0 10px; " > Current animation: </ span >
4- < span style =" max-width: 100px; ">
3+ < span > Current animation: </ span >
4+ < span class =" select-container ">
55 < igx-select #select [(ngModel)] ="carousel.animationType ">
66 < igx-select-item *ngFor ="let animation of animations " [value] ="animation ">
77 {{animation | titlecase}}
1717 < igx-card-header >
1818 < h4 igxCardHeaderTitle > {{slide.heading}}</ h4 >
1919 </ igx-card-header >
20-
20+
2121 < igx-card-content >
2222 < p > {{slide.description}}</ p >
2323 </ igx-card-content >
24-
24+
2525 < igx-card-media >
2626 < img [src] ="slide.image ">
2727 </ igx-card-media >
28-
28+
2929 < igx-card-actions >
3030 < a igxButton href ="{{slide.link}} " target ="_blank " rel ="noopener " style ="text-decoration: none; " igxStart > visit page</ a >
3131 </ igx-card-actions >
@@ -36,3 +36,4 @@ <h4 igxCardHeaderTitle>{{slide.heading}}</h4>
3636 </ igx-carousel >
3737 </ div >
3838</ div >
39+
Original file line number Diff line number Diff line change 55 justify-content : center ;
66 height : 100% ;
77 padding : 10px ;
8-
8+
99 img {
1010 width : 100% ;
1111 }
1212}
13-
13+
1414.carousel-wrapper {
1515 max-height : 600px ;
1616 height : 100% ;
1717 width : 90% ;
1818 margin : 20px auto ;
1919}
20-
20+
2121.action-wrapper {
2222 height : 40px ;
2323 width : 70% ;
2424 display : flex ;
2525 align-items : baseline ;
2626 margin-bottom : 1rem ;
27- margin-left : 1 rem ;
27+ margin-left : 5.7 rem ;
2828}
29-
29+
3030.carousel-animation-wrapper {
3131 height : 700px ;
3232 margin : 16px auto ;
3333 display : flex ;
3434 flex-flow : column ;
3535}
36-
36+
3737.igx-card {
3838 box-shadow : none ;
3939}
40+
41+ .select-container {
42+ margin-left : 10px ;
43+ }
44+
45+ span :first-child {
46+ position : relative ;
47+ bottom : 2px ;
48+ }
49+
50+ igx-select {
51+ width : 150px ;
52+ }
53+
54+ ::ng-deep {
55+ .input.igx-input-group__input {
56+ top : 10px ;
57+ left : 10px ;
58+ }
59+ }
You can’t perform that action at this time.
0 commit comments