Bug 7979 [FOLLOW-UP] New design for staff interface
[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=50);   /* for IE */
35     -moz-opacity: 0.5;          /* for Firefox before 0.9 */
36     opacity: 0.5;
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     }
48
49 .newsfooter {
50     /* Footer containing the publication date and edition links for an News entry */
51     font-size: 80%;
52     color: #808080;
53 }
54
55 /* ==== NEWS - End ==== */
56
57
58 /* ==== MODULE LINKS - Start ==== */
59
60 ul.biglinks-list {
61     /* List containing the module links */
62     padding: 0px;
63 }
64
65 ul.biglinks-list li {
66     /* Standard attributes for the list elements */
67     list-style-type:none;
68 }
69
70 ul.biglinks-list li a.icon_general {
71     /* Class used for each module link */
72     display: block;
73     float: left;
74
75     width: 83%;
76     max-width : 320px;
77     height: 46px;
78     margin: 0 1em 14px 0;
79     padding-left:57px;
80     padding-top:5px;
81
82     border: solid 2px #b9d8d9;
83     border-radius: 6px;
84
85     text-decoration: none;
86     font-family: verdana, arial;
87     font-weight: bold;
88     font-size: large;
89     color: #000000;
90
91     background-color:#f4f8f9;
92     background-position: 5px 3px;
93     background-repeat:no-repeat;
94 }
95
96 ul.biglinks-list li a:hover.icon_general {
97     /* Class used for each module link hover state */
98     background-position:5px -43px;
99     color: #538200;
100     border-color: #538200;
101 }
102
103 /* CSS Sprites
104  * Each image contains the normal and the hover state of the icon
105  * The hover part starts at 46px below the top:
106  *
107  *  46px
108  * -------
109  * |     |
110  * |  N  | 46px \
111  * |     |       |
112  * -------        > 92px
113  * |     |       |
114  * |  H  | 46px /
115  * |     |
116  * -------
117  *
118  */
119
120 /* Classes used for each individual module link */
121 ul.biglinks-list li a.icon_circulation {background-image:url('/intranet-tmpl/prog/img/icon_circulation.png')}
122 ul.biglinks-list li a.icon_patrons {background-image:url('/intranet-tmpl/prog/img/icon_patrons.png')}
123 ul.biglinks-list li a.icon_search {background-image:url('/intranet-tmpl/prog/img/icon_search.png')}
124 ul.biglinks-list li a.icon_lists {background-image:url('/intranet-tmpl/prog/img/icon_lists.png')}
125 ul.biglinks-list li a.icon_cataloging {background-image:url('/intranet-tmpl/prog/img/icon_cataloging.png')}
126 ul.biglinks-list li a.icon_authorities {background-image:url('/intranet-tmpl/prog/img/icon_authorities.png')}
127
128 ul.biglinks-list li a.icon_serials {background-image:url('/intranet-tmpl/prog/img/icon_serials.png')}
129 ul.biglinks-list li a.icon_acquisitions {background-image:url('/intranet-tmpl/prog/img/icon_acquisitions.png')}
130 ul.biglinks-list li a.icon_reports {background-image:url('/intranet-tmpl/prog/img/icon_reports.png')}
131 ul.biglinks-list li a.icon_administration {background-image:url('/intranet-tmpl/prog/img/icon_administration.png')}
132 ul.biglinks-list li a.icon_tools {background-image:url('/intranet-tmpl/prog/img/icon_tools.png')}
133 ul.biglinks-list li a.icon_koha {background-image:url('/intranet-tmpl/prog/img/icon_koha.png')}
134 /* ==== MODULE LINKS - End ==== */
135
136
137 /* ==== PENDING - Start ==== */
138 #area-pending {
139     /* Block containing links to pending tags, comments and suggestions */
140     width: 100%;
141     border: solid 1px #b9d8d9;
142     border-radius: 6px;
143     clear: left;
144 }
145
146 .pending-info {
147     /* For the div containing a "pending" link (useful to preserve width of area-pending box width) */
148     margin-top: 2px;
149     margin-bottom: 2px;
150     margin-left: 8px;
151 }
152
153 .pending-number-link {
154     /* Style for the "pending" links : the number of pending items appear bigger */
155     font-weight: bold;
156     font-size: 1.1em;
157 }
158 /* ==== PENDING - End ==== */
159
160
161 /* ==== USERBLOCK - Start ==== */
162 #area-userblock {
163     /* Appears if the "IntranetmainUserblock" system preference is defined */
164     margin-top: 10px;
165     width: 100%;
166     border: solid 1px #b9d8d9;
167     border-radius: 6px;
168
169 }
170
171 .user-info {
172     /* For the div containing the information (useful to preserve width of area-userblock box width) */
173     margin: 8px;
174 }
175 /* ==== USERBLOCK - End ==== */