GUI CSS: Removed snapin styles from py modules and added a _snapins.scss for the...
[check_mk.git] / web / htdocs / themes / classic / scss / _logwatch.scss
blob661ef9b60ab37ce2b70f9ae1ebeaceb215c5947c
1 /*
2 +------------------------------------------------------------------+
3 |             ____ _               _        __  __ _  __           |
4 |            / ___| |__   ___  ___| | __   |  \/  | |/ /           |
5 |           | |   | '_ \ / _ \/ __| |/ /   | |\/| | ' /            |
6 |           | |___| | | |  __/ (__|   <    | |  | | . \            |
7 |            \____|_| |_|\___|\___|_|\_\___|_|  |_|_|\_\           |
8 |                                                                  |
9 | Copyright Mathias Kettner 2012             mk@mathias-kettner.de |
10 +------------------------------------------------------------------+
12 This file is part of Check_MK.
13 The official homepage is at http://mathias-kettner.de/check_mk.
15 check_mk is free software;  you can redistribute it and/or modify it
16 under the  terms of the  GNU General Public License  as published by
17 the Free Software Foundation in version 2.  check_mk is  distributed
18 in the hope that it will be useful, but WITHOUT ANY WARRANTY;  with-
19 out even the implied warranty of  MERCHANTABILITY  or  FITNESS FOR A
20 PARTICULAR PURPOSE. See the  GNU General Public License for more de-
21 ails.  You should have  received  a copy of the  GNU  General Public
22 License along with GNU Make; see the file  COPYING.  If  not,  write
23 to the Free Software Foundation, Inc., 51 Franklin St,  Fifth Floor,
24 Boston, MA 02110-1301 USA.
28 /* Styles used in the logwatch pages */
30 #logwatch {
31     margin-top: 1ex;
32     color: #000;
35 #logwatch div.chunk {
36     border-width: 1px;
37     border-style: solid;
38     margin-bottom: 1em;
39     padding: 0.5ex;
40     border-color: #bbb #555 #222 #bbb;
41     background-color: #fff;
44 #logwatch a {
45     font-family: sans-serif;
46     font-weight: bold;
47     width: 4em;
48     color: #008;
51 #logwatch a b {
52     color: #08f;
55 #logwatch a.ack {
56     background-color: #33c;
57     color: #fff;
58     text-decoration: none;
59     border-width: 2px;
60     border-style: solid;
61     border-color: #ccc #888 #333 #777;
62     padding: 0.3ex 1ex;
63     border-radius: 6px;
66 #logwatch p {
67     font-family: courier, monospace;
68     margin: 0;
69     padding: 0.2ex 0 0.5ex 0.2ex;
70     border-left: 1px solid #888;
71     border-right: 1px solid #888;
72     font-size: 10pt;
73     background-color: #ddd;
74     text-indent: -1.0ex;
75     padding-left: 1.5ex;
78 #logwatch p img {
79     margin-right: 2px;
82 #logwatch .WARN {
83     background-color: #ff8;
84     border-bottom: 1px solid #cc0;
87 #logwatch .CRIT {
88     background-color: #f88;
89     border-bottom: 1px solid #c00;
92 #logwatch .OK {
93     background-color: #0b3;
94     border-bottom: 1px solid #0c0;
97 #logwatch td.WARN, td.CRIT, td.OK {
98     width: 5em;
99     text-align: center;
100     padding: 0em 0.5ex;
101     margin: 0;
102     font-weight: bold;
105 #logwatch td.WARN {
106     border: 1px solid #000;
107     background-color: #ff0;
110 #logwatch td.CRIT {
111     border: 1px solid #000;
112     background-color: #f00;
113     color: #fff;
116 #logwatch td.OK {
117     background-color: #0b3;
118     border: 1px solid #000;
119     color: #fff;
122 #logwatch table.section {
123     margin: 0ex 0ex 0.8ex 0ex;
124     width: 100%
127 #logwatch .date {
128     font-weight: normal;
129     padding-left: 1ex;
130     color: #666;
133 #logwatch td.button {
134     text-align: right;
137 #logwatch td.button a {
138     background-color: #cca;
139     color: #000;
140     text-decoration: none;
141     font-weight: normal;
142     border-width: 1px;
143     border-style: solid;
144     border-color: #ddd #888 #333 #ddd;
145     padding: 0.1ex 1ex;
146     border-radius: 4px;
149 #logwatch td.button a:active {
150   background-color: #aa8;
153 /* --- navigation tabs in logwatch ------------------ */
155 #logwatch a.tab, #logwatch a.tabactive {
156     border-radius: 12px 12px 0px 0px;
157     display: block;
158     margin-bottom: 0px;
159     color: #000;
160     padding: 0.4ex 1em;
161     border-style: none;
162     vertical-align: top;
163     margin-right: 0.3ex;
164     background-color: #fc0;
165     border-bottom: 1px solid #000;
166     text-decoration: none;
167     width: 140px;
170 #logwatch a.tab:hover {
171     padding-bottom: 10px;
174 #logwatch a.tabactive {
175     padding-bottom: 6px;
176     border-bottom-style: none;
179 #logwatch p {
180    white-space: pre-wrap;      /* CSS3 */
181    white-space: -moz-pre-wrap; /* Firefox */
182    white-space: -pre-wrap;     /* Opera <7 */
183    white-space: -o-pre-wrap;   /* Opera 7 */
184    word-wrap: break-word;      /* IE */