]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - include/javascript/yui/build/calendar/assets/calendar-core.css
Release 6.5.0
[Github/sugarcrm.git] / include / javascript / yui / build / calendar / assets / calendar-core.css
1 /*
2 Copyright (c) 2011, Yahoo! Inc. All rights reserved.
3 Code licensed under the BSD License:
4 http://developer.yahoo.com/yui/license.html
5 version: 2.9.0
6 */
7 /**
8  * CORE
9  *
10  * This is the set of CSS rules required by Calendar to drive core functionality and structure.
11  * Changes to these rules may result in the Calendar not functioning or rendering correctly.
12  *
13  * They should not be modified for skinning.
14  **/
15  
16 /* CALENDAR BOUNDING BOX */
17 .yui-calcontainer {
18         position:relative;
19         float:left;
20         _overflow:hidden; /* IE6 only, to clip iframe shim */
21 }
22
23 /* IFRAME SHIM */
24 .yui-calcontainer iframe {
25         position:absolute;
26         border:none;
27         margin:0;padding:0;
28         z-index:0;
29         width:100%;
30         height:100%;
31         left:0px;
32         top:0px;
33 }
34
35 /* IFRAME SHIM IE6 only */
36 .yui-calcontainer iframe.fixedsize {
37         width:50em;
38         height:50em;
39         top:-1px;
40         left:-1px;
41 }
42
43 /* BOUNDING BOX FOR EACH CALENDAR GROUP PAGE */
44 .yui-calcontainer.multi .groupcal {
45         z-index:1;
46         float:left;
47         position:relative;
48 }
49
50 /* TITLE BAR */
51 .yui-calcontainer .title {
52         position:relative;
53         z-index:1;
54 }
55
56 /* CLOSE ICON CONTAINER */
57 .yui-calcontainer .close-icon {
58         position:absolute;
59         z-index:1;
60         text-indent:-10000em;
61         overflow:hidden;
62 }
63
64 /* CALENDAR TABLE */
65 .yui-calendar {
66         position:relative;
67 }
68
69 /* NAVBAR LEFT ARROW CONTAINER */
70 .yui-calendar .calnavleft {
71         position:absolute;
72         z-index:1;
73         text-indent:-10000em;
74         overflow:hidden;
75 }
76
77 /* NAVBAR RIGHT ARROW CONTAINER */
78 .yui-calendar .calnavright {
79         position:absolute;
80         z-index:1;
81         text-indent:-10000em;
82         overflow:hidden;
83 }
84
85 /* NAVBAR TEXT CONTAINER */
86 .yui-calendar .calheader {
87         position:relative;
88         width:100%;
89         text-align:center;
90 }
91
92 /* CalendarNavigator */
93 .yui-calcontainer .yui-cal-nav-mask {
94         position:absolute;
95         z-index:2;
96         margin:0;
97         padding:0;
98         width:100%;
99         height:100%;
100         _width:0;    /* IE6, IE7 quirks - width/height set programmatically to match container */
101         _height:0;
102         left:0;
103         top:0;
104         display:none;
105 }
106
107 /* NAVIGATOR BOUNDING BOX */
108 .yui-calcontainer .yui-cal-nav {
109         position:absolute;
110         z-index:3;
111         top:0;
112         display:none;
113 }
114
115 /* NAVIGATOR BUTTONS (based on button-core.css) */
116 .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn  {
117         display: -moz-inline-box; /* Gecko */
118         display: inline-block; /* IE, Opera and Safari */
119 }
120
121 .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button {
122         display: block;
123         *display: inline-block; /* IE */
124         *overflow: visible; /* Remove superfluous padding for IE */
125         border: none;
126         background-color: transparent;
127         cursor: pointer;
128 }
129
130 /* Specific changes for calendar running under fonts/reset */
131 .yui-calendar .calbody a:hover {background:inherit;}
132 p#clear {clear:left; padding-top:10px;}