Bug 20268: CSS regression: white gap on the top of the staff pages
[koha.git] / koha-tmpl / intranet-tmpl / prog / 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 #container-main {
15     /* Contains the news + both columns of links + pending box + userblock box */
16     background-image:url('../img/background_koha_logo.png');
17     background-repeat:no-repeat;
18     background-position:left top;
19     padding: 1em 0;
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     background-image:url('../img/staff-home-icons-sprite.png');
76     display: block;
77     box-sizing: content-box;
78     max-width : 320px;
79     height: 46px;
80     margin: 0 1em 14px 0;
81     padding-left:57px;
82     padding-top:5px;
83
84     border: solid 2px #b9d8d9;
85     border-radius: 6px;
86
87     text-decoration: none;
88     font-family: verdana, arial;
89     font-weight: bold;
90     font-size: large;
91     color: #000000;
92
93     background-color:#f4f8f9;
94     background-position: 5px 3px;
95     background-repeat:no-repeat;
96 }
97
98 ul.biglinks-list li a:hover.icon_general {
99     /* Class used for each module link hover state */
100     color: #538200;
101     border-color: #538200;
102 }
103
104 /* CSS Sprites
105  * There is one sprite image which contains all icons in both
106  *  hover states (on and off)
107  */
108
109 /* Classes used for each individual module link */
110 ul.biglinks-list li a.icon_circulation {background-position:5px 3px;}
111 ul.biglinks-list li a.icon_patrons {background-position:5px -89px;}
112 ul.biglinks-list li a.icon_search {background-position:5px -181px;}
113 ul.biglinks-list li a.icon_lists {background-position:5px -273px;}
114 ul.biglinks-list li a.icon_cataloging {background-position:5px -365px;}
115 ul.biglinks-list li a.icon_authorities {background-position:5px -457px;}
116
117 ul.biglinks-list li a.icon_serials {background-position:5px -549px;}
118 ul.biglinks-list li a.icon_acquisitions {background-position:5px -641px;}
119 ul.biglinks-list li a.icon_reports {background-position:5px -733px;}
120 ul.biglinks-list li a.icon_administration {background-position:5px -825px;}
121 ul.biglinks-list li a.icon_tools {background-position:5px -917px;}
122 ul.biglinks-list li a.icon_koha {background-position:5px -1008px;}
123 ul.biglinks-list li a.icon_course_reserves {background-position:5px -1100px;}
124
125 /* Classes used for each individual module link on hover*/
126 ul.biglinks-list li a:hover.icon_circulation {background-position:5px -43px;}
127 ul.biglinks-list li a:hover.icon_patrons {background-position:5px -135px;}
128 ul.biglinks-list li a:hover.icon_search {background-position:5px -227px;}
129 ul.biglinks-list li a:hover.icon_lists {background-position:5px -319px;}
130 ul.biglinks-list li a:hover.icon_cataloging {background-position:5px -411px;}
131 ul.biglinks-list li a:hover.icon_authorities {background-position:5px -503px;}
132
133 ul.biglinks-list li a:hover.icon_serials {background-position:5px -595px;}
134 ul.biglinks-list li a:hover.icon_acquisitions {background-position:5px -687px;}
135 ul.biglinks-list li a:hover.icon_reports {background-position:5px -779px;}
136 ul.biglinks-list li a:hover.icon_administration {background-position:5px -871px;}
137 ul.biglinks-list li a:hover.icon_tools {background-position:5px -963px;}
138 ul.biglinks-list li a:hover.icon_koha {background-position:5px -1054px;}
139 ul.biglinks-list li a:hover.icon_course_reserves {background-position:5px -1146px;}
140 /* ==== MODULE LINKS - End ==== */
141
142
143 /* ==== PENDING - Start ==== */
144 #area-pending {
145     /* Block containing links to pending tags, comments and suggestions */
146     width: 100%;
147     border: solid 1px #b9d8d9;
148     border-radius: 6px;
149     clear: left;
150 }
151
152 .pending-info {
153     /* For the div containing a "pending" link (useful to preserve width of area-pending box width) */
154     margin-top: 2px;
155     margin-bottom: 2px;
156     margin-left: 8px;
157 }
158
159 .pending-number-link {
160     /* Style for the "pending" links : the number of pending items appear bigger */
161     font-weight: bold;
162     font-size: 1.1em;
163 }
164 /* ==== PENDING - End ==== */
165
166
167 /* ==== USERBLOCK - Start ==== */
168 #area-userblock {
169     /* Appears if the "IntranetmainUserblock" system preference is defined */
170     margin-top: 10px;
171     width: 100%;
172     border: solid 1px #b9d8d9;
173     border-radius: 6px;
174
175 }
176
177 .user-info {
178     /* For the div containing the information (useful to preserve width of area-userblock box width) */
179     margin: 8px;
180 }
181 /* ==== USERBLOCK - End ==== */
182
183 .intranet-main .row {
184     margin-left: 0;
185     margin-right: 0;
186 }