Projet

Général

Profil

Révision fe5af0fb

IDfe5af0fb1a83782b5a036a3ee2953f90c168f662
Parent 0949aa3c
Enfant 3f9190c0

Ajouté par Cristian Deluxe il y a presque 9 ans

Reworked submenus

Voir les différences:

templates/munstrap/static/css/style-munstrap.css
24 24
}
25 25

  
26 26
.link-domain {
27
	font-size: 1.4em;
27
	font-size: 1.4em;	
28 28
	color: #660066;
29 29
}
30 30
.link-host {
......
35 35
	list-style-type: none;
36 36
}
37 37
.munin-icon {
38
   background: url(../img/logo-munin.png) left top;
38
   background: url(../img/logo-munin.png) left top; 
39 39
   margin-top: -6px;
40
   width: 35px;
40
   width: 35px; 
41 41
   height: 35px;
42 42
   display: block;
43 43
   float: left;
44 44
}
45 45

  
46
img {
47
    border: 2px solid transparent;
46
.dropdown-submenu {
47
    position: relative;
48 48
}
49 49

  
50
img.warn {
51
    border: 2px solid #8a6d3b;
50
.dropdown-submenu>.dropdown-menu {
51
    top: 0;
52
    left: 100%;
53
    margin-top: -6px;
54
    margin-left: -1px;
55
    -webkit-border-radius: 0 6px 6px 6px;
56
    -moz-border-radius: 0 6px 6px;
57
    border-radius: 0 6px 6px 6px;
52 58
}
53 59

  
54
img.crit {
55
    border: 2px solid #a94442;
60
.dropdown-submenu:hover>.dropdown-menu {
61
    display: block;
56 62
}
57 63

  
58
img.unkn {
59
    border: 2px solid #ffaa00;
64
.dropdown-submenu>a:after {
65
    display: block;
66
    content: " ";
67
    float: right;
68
    width: 0;
69
    height: 0;
70
    border-color: transparent;
71
    border-style: solid;
72
    border-width: 5px 0 5px 5px;
73
    border-left-color: #ccc;
74
    margin-top: 5px;
75
    margin-right: -10px;
60 76
}
61 77

  
62
.text-critical {
63
    color: #a94442
78
.dropdown-submenu:hover>a:after {
79
    border-left-color: #fff;
64 80
}
65 81

  
66
.text-critical:hover {
67
    color: #843534
82
.dropdown-submenu.pull-left {
83
    float: none;
68 84
}
85

  
86
.dropdown-submenu.pull-left>.dropdown-menu {
87
    left: -100%;
88
    margin-left: 10px;
89
    -webkit-border-radius: 6px 0 6px 6px;
90
    -moz-border-radius: 6px 0 6px 6px;
91
    border-radius: 6px 0 6px 6px;
92
}

Formats disponibles : Unified diff