Skip to content

Commit b9161a2

Browse files
committed
js_osd: messages added
1 parent a962405 commit b9161a2

File tree

1 file changed

+26
-14
lines changed

1 file changed

+26
-14
lines changed

Diff for: examples/js_osd/osd.css

+26-14
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ div#osd_container
3434
div#header
3535
{
3636
background-color:#222266;
37-
font-size: 2em;
37+
font-size: 1.4em;
38+
font-weight: bold;
3839
color:#CDCDCD;
3940
white-space: pre;
4041
overflow: hidden;
@@ -49,7 +50,7 @@ div#header
4950

5051
div#content
5152
{
52-
height: 70%;
53+
height: 50%;
5354
padding: 1%;
5455
margin: 0px;
5556
overflow: auto;
@@ -76,7 +77,7 @@ div#content ul li.item
7677
padding: 0% 1% 0% 1%;
7778
margin: 0% 4% 0.5% 4%;
7879
font-weight:bold;
79-
font-size: 1.5em;
80+
font-size: 1em;
8081
white-space: nowrap;
8182
}
8283

@@ -99,19 +100,19 @@ div#content ul li#selectedItem
99100
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b5bdc8', endColorstr='#28343b',GradientType=0 ); /* IE6-9 */
100101
background: linear-gradient(top, #b5bdc8 0%,#828c95 36%,#28343b 100%); /* W3C */}
101102

102-
div#content ul li.item:hover
103+
/*div#content ul li.item:hover
103104
{
104105
border-radius:25px;
105106
border-radius:25px;
106-
background: rgb(246,248,249); /* Old browsers */
107-
background: -moz-linear-gradient(top, rgba(246,248,249,1) 0%, rgba(229,235,238,1) 50%, rgba(215,222,227,1) 51%, rgba(245,247,249,1) 100%); /* FF3.6+ */
108-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(246,248,249,1)), color-stop(50%,rgba(229,235,238,1)), color-stop(51%,rgba(215,222,227,1)), color-stop(100%,rgba(245,247,249,1))); /* Chrome,Safari4+ */
109-
background: -webkit-linear-gradient(top, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 50%,rgba(215,222,227,1) 51%,rgba(245,247,249,1) 100%); /* Chrome10+,Safari5.1+ */
110-
background: -o-linear-gradient(top, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 50%,rgba(215,222,227,1) 51%,rgba(245,247,249,1) 100%); /* Opera11.10+ */
111-
background: -ms-linear-gradient(top, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 50%,rgba(215,222,227,1) 51%,rgba(245,247,249,1) 100%); /* IE10+ */
112-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f8f9', endColorstr='#f5f7f9',GradientType=0 ); /* IE6-9 */
113-
background: linear-gradient(top, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 50%,rgba(215,222,227,1) 51%,rgba(245,247,249,1) 100%); /* W3C */
114-
}
107+
background: rgb(246,248,249);
108+
background: -moz-linear-gradient(top, rgba(246,248,249,1) 0%, rgba(229,235,238,1) 50%, rgba(215,222,227,1) 51%, rgba(245,247,249,1) 100%);
109+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(246,248,249,1)), color-stop(50%,rgba(229,235,238,1)), color-stop(51%,rgba(215,222,227,1)), color-stop(100%,rgba(245,247,249,1)));
110+
background: -webkit-linear-gradient(top, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 50%,rgba(215,222,227,1) 51%,rgba(245,247,249,1) 100%);
111+
background: -o-linear-gradient(top, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 50%,rgba(215,222,227,1) 51%,rgba(245,247,249,1) 100%);
112+
background: -ms-linear-gradient(top, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 50%,rgba(215,222,227,1) 51%,rgba(245,247,249,1) 100%);
113+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f8f9', endColorstr='#f5f7f9',GradientType=0 );
114+
background: linear-gradient(top, rgba(246,248,249,1) 0%,rgba(229,235,238,1) 50%,rgba(215,222,227,1) 51%,rgba(245,247,249,1) 100%);
115+
}*/
115116

116117
#content2
117118
{
@@ -158,7 +159,18 @@ div#color_buttons{
158159
border-bottom-right-radius:25px;
159160
}
160161

162+
div#message
163+
{
164+
font-size: 0.8em;
165+
color:#CDCDCD;
166+
white-space: pre;
167+
overflow: hidden;
168+
padding: 2%;
169+
}
170+
171+
161172
div#header,
173+
div#message,
162174
div#color_buttons
163175
{
164176
background: rgb(76,76,76); /* Old browsers */
@@ -253,5 +265,5 @@ div#color_buttons br.clear{
253265
}
254266

255267
div.invisible{
256-
display: none;
268+
visibility: hidden;
257269
}

0 commit comments

Comments
 (0)