Merge branch 'MDL-26240' of git://github.com/lazydaisy/moodle
[moodle.git] / theme / anomaly / style / dock.css
CommitLineData
d11d1e5b
ME
1/* Docking Module
2-----------------*/
3
4body.has_dock #page {
5 width: 97%;
6 right: 3%;
7}
8
9#dock {
10 width:3%;
11 position:fixed;
12 top:0px;
13 right:0;
14 height:100%;
15 z-index:11000;
16 background-color: #C8C9C7;
17 border-right: 0 none;
18}
19
20#dock.nothingdocked {
21 visibility: hidden;
22 display:none;
23}
24#dock .controls {
25 bottom: auto;
26 background-color: #C8C9C7;
27 -webkit-border-bottom-right-radius: 10px;
28 -moz-border-bottom-right-radius: 10px;
29 border-bottom-right-radius: 10px;
30}
31#dock .dockeditem.firstdockitem {
32 margin-top: 10em;
33 -webkit-border-top-left-radius: 10px;
34 -moz-border-top-right-radius: 10px;
35 border-top-left-radius: 10px;
36}
37#dock .dockeditem {
38 background-color: #C8C9C7;
39 padding: 2px;
40 padding-right: 0px;
41}
42#dock .dockedtitle {
43 padding-bottom: 5px;
44 cursor:pointer;
45 background-color: #222;
46 -webkit-border-top-left-radius: 10px;
47 -moz-border-radius-topleft: 10px;
48 border-top-left-radius: 10px;
49 -webkit-border-bottom-left-radius: 10px;
50 -moz-border-radius-bottomleft: 10px;
51 border-bottom-left-radius: 10px;
52}
53#dock .dockedtitle h2 {
54 margin: 0;
55 padding: 10px 3px;
56 color: #fff;
57 font-family: sans-serif;
58}
59.dockedtitle.activeitem h2 {
60 color: #fff !important;
61}
62#dock .dockedtitle.activeitem {
63 background-color: #697F55;
64 width: 35px;
65 -webkit-border-top-left-radius: 10px;
66 -moz-border-radius-topleft: 10px;
67 border-top-left-radius: 10px;
68 -webkit-border-bottom-left-radius: 10px;
69 -moz-border-radius-bottomleft: 10px;
70 border-bottom-left-radius: 10px;
71}
72#dock .controls img {
73 cursor:pointer;
74 margin-left: 10px;
75}
76/*
77Docked Item Panel
78-----------------------*/
79#dockeditempanel {
80 width: 180px;
81 position: relative;
82 z-index: 12000;
83 left: 100%;
84}
85#dockeditempanel.dockitempanel_hidden {
86 display:none;
87}
88#dockeditempanel .dockeditempanel_content {
89 background-color: #eee;
90 margin: 0 3px;
91 position: relative;
92 min-height: 100px;
93 border-color: #697F55;
94 border-style: solid;
95 border-width: 5px;
96 -webkit-border-radius: 10px;
97 -moz-border-radius: 10px;
98 border-radius: 10px;
99 -webkit-border-top-left-radius: 0;
100 -moz-border-top-left-radius: 0;
101 border-top-left-radius: 0;
102
103}
104#dockeditempanel .dockeditempanel_hd {
105 border-width: 0;
106 background-color: #eee;
107 padding: 2px;
108}
109#dockeditempanel .dockeditempanel_bd .block_docked {
110 margin:10px;
111}
112#dockeditempanel .block_calendar_month.block_docked {
113 text-align: center;
114}
115#dockeditempanel .dockeditempanel_hd {
116 text-align: right;
117 -webkit-border-top-right-radius: 10px;
118 -moz-border-top-right-radius: 10px;
119 border-top-right-radius: 10px;
120}
121#dockeditempanel .dockeditempanel_hd h2 {
122 display:inline;
123 margin: 0;
124 padding-right: 2em;
125 color: #000;
126 float: left;
127}
128
129#dockeditempanel .dockeditempanel_hd .commands {
130 display:inline;
131}
132#dockeditempanel .dockeditempanel_hd .commands img {
133 margin-right: 3px;
134 vertical-align: middle;
135}
136#dockeditempanel .dockeditempanel_bd {
137 overflow:auto;
138 width:auto; /* adds scroll to dock panel */
139}