bonjour,


j'ai réduis la taille des tuiles de mon site sharepoint grâce à ce script

Code CSS : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<style type="text/css">
 
/* tile row height */
div.ms-promlink-body {
height: 100px;
}
 
/* tile dimensions, including inter-tile margin */
div.ms-tileview-tile-root {
width: 110px !important;
height: 110px !important;
}
 
/* tile and title( + description) overlay dimensions */
div.ms-tileview-tile-content, div.ms-tileview-tile-detailsBox {
width: 100px !important;
height: 100px !important;
}
 
/* tile background image dimensions */
div.ms-tileview-tile-content > a > img {
width: 100% !important;
height: 100% !important;
}
 
/* title and description text */
ul.ms-tileview-tile-detailsListMedium {
height: 100px;
padding: 4px 7px 7px;
font-size: 11px;
line-height: 14px;
}
 
/* description text class */
li.ms-tileview-tile-descriptionMedium {
padding-top: 10px;
font-size: 11px;
}
 
/* title text when description not shown */
div.ms-tileview-tile-titleTextMediumCollapsed {
background-color: rgba(0, 0, 0, 0.6);
width: 86px;
height: 29px;
position: absolute;
top: -33px;
left: 0px;
padding: 4px 7px 0px;
font-size: 11px;
line-height: 13px;
}
 
</style>

par contre je n'arrive pas à réduire la taille des images .
cela conserve la taille des images lorsque les tuiles étaient de taille normale

Auriez vous une astuce ?

merci