Merge remote-tracking branch 'origin/new/bug_7986'
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / css / mainpage.css
1 /*
2  * This file contains CSS styles used only on the front page of Koha
3  *
4  * COLORS
5  * Very light blue  Module links background                 : #f4f8f9
6  * Light blue       Navbar, breadcrumb                      : #e6f0f2
7  * Blue             Module links and breadcrumb border      : #b9d8d9
8  * Dark blue        Links                                   : #004d99
9  * Green            Links:hover                             : #538200
10  * These colors are used in staff-global.css too
11  *
12  */
13
14 #doc3 {
15     /* Contains the news + both columns of links + pending box + userblock box */
16     background-image:url('/intranet-tmpl/prog/img/background_koha_logo.png');
17     background-repeat:no-repeat;
18     background-position:left top;
19     padding-top: 12px;
20 }
21
22
23 /* ==== NEWS - Start ==== */
24
25 #area-news {
26     border: 1px solid #EEEEEE;
27     border-radius: 6px 6px 6px 6px;
28     margin: 0.2em;
29 }
30
31 #area-news h3 {
32     /* Title section for the news block : transparency to let the koha logo appear */
33     background-color: #EEEEEE;
34     filter:alpha(opacity=70);   /* for IE */
35     -moz-opacity: 0.7;          /* for Firefox before 0.9 */
36     opacity: 0.7;
37     padding : .3em; margin: 0;
38 }
39
40 .newsitem {
41     /* Block for one News entry */
42     padding: 3px;
43     margin: .3em;
44     border-bottom: 1px solid #EEE;
45     background-color : #ffffff;
46     border-radius: 6px;
47     filter:alpha(opacity=75);
48     -moz-opacity: 0.75;
49     opacity: .75;
50     }
51
52 .newsfooter {
53     /* Footer containing the publication date and edition links for an News entry */
54     font-size: 80%;
55     color: #808080;
56 }
57
58 /* ==== NEWS - End ==== */
59
60
61 /* ==== MODULE LINKS - Start ==== */
62
63 ul.biglinks-list {
64     /* List containing the module links */
65     padding: 0px;
66 }
67
68 ul.biglinks-list li {
69     /* Standard attributes for the list elements */
70     list-style-type:none;
71 }
72
73 ul.biglinks-list li a.icon_general {
74     /* Class used for each module link */
75     display: block;
76     float: left;
77
78     width: 83%;
79     max-width : 320px;
80     height: 46px;
81     margin: 0 1em 14px 0;
82     padding-left:57px;
83     padding-top:5px;
84
85     border: solid 2px #b9d8d9;
86     border-radius: 6px;
87
88     text-decoration: none;
89     font-family: verdana, arial;
90     font-weight: bold;
91     font-size: large;
92     color: #000000;
93
94     background-color:#f4f8f9;
95     background-position: 5px 3px;
96     background-repeat:no-repeat;
97 }
98
99 ul.biglinks-list li a:hover.icon_general {
100     /* Class used for each module link hover state */
101     background-position:5px -43px;
102     color: #538200;
103     border-color: #538200;
104 }
105
106 /* CSS Sprites
107  * Each image contains the normal and the hover state of the icon
108  * The hover part starts at 46px below the top:
109  *
110  *  46px
111  * -------
112  * |     |
113  * |  N  | 46px \
114  * |     |       |
115  * -------        > 92px
116  * |     |       |
117  * |  H  | 46px /
118  * |     |
119  * -------
120  *
121  */
122
123 /* Classes used for each individual module link */
124 ul.biglinks-list li a.icon_circulation {background-image:url('/intranet-tmpl/prog/img/icon_circulation.png')}
125 ul.biglinks-list li a.icon_patrons {background-image:url('/intranet-tmpl/prog/img/icon_patrons.png')}
126 ul.biglinks-list li a.icon_search {background-image:url('/intranet-tmpl/prog/img/icon_search.png')}
127 ul.biglinks-list li a.icon_lists {background-image:url('/intranet-tmpl/prog/img/icon_lists.png')}
128 ul.biglinks-list li a.icon_cataloging {background-image:url('/intranet-tmpl/prog/img/icon_cataloging.png')}
129 ul.biglinks-list li a.icon_authorities {background-image:url('/intranet-tmpl/prog/img/icon_authorities.png')}
130
131 ul.biglinks-list li a.icon_serials {background-image:url('/intranet-tmpl/prog/img/icon_serials.png')}
132 ul.biglinks-list li a.icon_acquisitions {background-image:url('/intranet-tmpl/prog/img/icon_acquisitions.png')}
133 ul.biglinks-list li a.icon_reports {background-image:url('/intranet-tmpl/prog/img/icon_reports.png')}
134 ul.biglinks-list li a.icon_administration {background-image:url('/intranet-tmpl/prog/img/icon_administration.png')}
135 ul.biglinks-list li a.icon_tools {background-image:url('/intranet-tmpl/prog/img/icon_tools.png')}
136 ul.biglinks-list li a.icon_koha {background-image:url('/intranet-tmpl/prog/img/icon_koha.png')}
137 /* ==== MODULE LINKS - End ==== */
138
139
140 /* ==== PENDING - Start ==== */
141 #area-pending {
142     /* Block containing links to pending tags, comments and suggestions */
143     width: 100%;
144     border: solid 1px #b9d8d9;
145     border-radius: 6px;
146     clear: left;
147 }
148
149 .pending-info {
150     /* For the div containing a "pending" link (useful to preserve width of area-pending box width) */
151     margin-top: 2px;
152     margin-bottom: 2px;
153     margin-left: 8px;
154 }
155
156 .pending-number-link {
157     /* Style for the "pending" links : the number of pending items appear bigger */
158     font-weight: bold;
159     font-size: 1.1em;
160 }
161 /* ==== PENDING - End ==== */
162
163
164 /* ==== USERBLOCK - Start ==== */
165 #area-userblock {
166     /* Appears if the "IntranetmainUserblock" system preference is defined */
167     margin-top: 10px;
168     width: 100%;
169     border: solid 1px #b9d8d9;
170     border-radius: 6px;
171
172 }
173
174 .user-info {
175     /* For the div containing the information (useful to preserve width of area-userblock box width) */
176     margin: 8px;
177 }
178 /* ==== USERBLOCK - End ==== */