aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/css/messages.css
blob: 3ad4e34e50e69035e753d2795172d3755575647b (plain) (blame)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.messages {
    display: block;
    clear: both;
    width: 400px;
    margin: 10px auto 10px;
    padding: 10px 0;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

/* Search form message needs a little more width, depending on translations */
#search-form {
    width: 420px;
}

.messages a.closeMessage {
    display: none;
    float: right;
    width: 16px;
    height: 16px;
    margin: -14px -8px 0 0;
    background: url(../img/messages/close.png) no-repeat;
}

/*.messages:hover a.closeMessage { visibility:visible; }*/

.messages p {
    margin: 3px 0 3px 10px !important;
    padding: 0 10px 0 23px !important;
    font-size: 14px;
    line-height: 16px;
}

.messages.error {
    border: 1px solid #c42608;
    color: #c00 !important;
    background: #fff0ef;
}

.messages.error p {
    color: #c00 !important;
    background: url(../img/messages/cross.png) no-repeat 0 50%;
}

.messages.success {
    border: 1px solid #6dc70c;
    background: #e0fbcc;
}

.messages.success p {
    color: #2b6301 !important;
    background: url(../img/messages/tick.png) no-repeat 0 50%;
}

.messages.warning {
    border: 1px solid #ebcd41;
    color: #000;
    background: #fffcd3;
}

.messages.warning p {
    color: #5f4e01;
    background: url(../img/messages/warning.png) no-repeat 0 50%;
}

.messages.information,
.messages.info {
    border: 1px solid #82aee7;
    background: #dfebfb;
}

.messages.information p,
.messages.info p {
    color: #064393;
    background: url(../img/messages/help.png) no-repeat 0 50%;
}

.messages.information a {
    text-decoration: underline;
}