forked from hcientist/OnlinePythonTutor
-
Notifications
You must be signed in to change notification settings - Fork 5
/
commentary-bubbles-demo.css
168 lines (129 loc) · 3.17 KB
/
commentary-bubbles-demo.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
body {
background-color: white;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 10pt;
margin-top: 30px;
margin-left: 30px;
/* center align */
/*
max-width: 1000px;
margin-left: auto;
margin-right: auto;
*/
}
div#lessonHeader {
margin-bottom: 10px;
padding-bottom: 10px;
border-bottom: 1px solid #ccc;
width: 800px;
}
div#lessonTitle {
font-size: 16pt;
margin-bottom: 15pt;
}
div#lessonDescription {
font-size: 11pt;
line-height: 1.5em;
}
div#curStepNarration {
font-size: 11pt;
min-height: 60px;
margin-bottom: 12px;
line-height: 1.5em;
width: 800px;
}
/* For styling tricks, see: http://css-tricks.com/textarea-tricks/ */
textarea.bubbleInputText {
border: 1px solid #ccc;
outline: none;
overflow: auto; /* to look pretty on IE */
/* make sure textarea doesn't grow and stretch the enclosing bubble */
resize: none;
width: 225px;
max-width: 225px;
height: 35px;
max-height: 35px;
}
.ui-tooltip-pgbootstrap,
textarea.bubbleInputText {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 9pt;
line-height: 1.3em;
}
/* modified version of Twitter bootstrap style by Philip Guo */
.ui-tooltip-pgbootstrap{
color: #333;
background-color: #ffffff;
max-width: 250px;
min-width: 10px;
border: 2px solid #4284D3;
cursor: pointer;
*border-right-width: 2px;
*border-bottom-width: 2px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
/* way too poofy ...
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
*/
-webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
}
.ui-tooltip-pgbootstrap .ui-tooltip-titlebar{
font-size: 18px;
line-height: 22px;
border-bottom: 1px solid #ccc;
background-color: transparent;
}
.ui-tooltip-pgbootstrap .ui-tooltip-content{
padding: 5px /* 5px is minimum or else it might look ugly */ 8px;
}
.ui-tooltip-pgbootstrap .ui-tooltip-titlebar .ui-state-default{
right: 9px; top: 49%;
border-style: none;
}
.ui-tooltip-pgbootstrap .ui-tooltip-icon{
background: white;
}
.ui-tooltip-pgbootstrap .ui-tooltip-icon .ui-icon{
width: auto;
height: auto;
float: right;
font-size: 20px;
font-weight: bold;
line-height: 18px;
color: #000000;
text-shadow: 0 1px 0 #ffffff;
opacity: 0.2;
filter: alpha(opacity=20);
}
.ui-tooltip-pgbootstrap .ui-tooltip-icon .ui-icon:hover{
color: #000000;
text-decoration: none;
cursor: pointer;
opacity: 0.4;
filter: alpha(opacity=40);
}
/* Add rounded corners to your tooltips in: FF3+, Chrome 2+, Opera 10.6+, IE9+, Safari 2+ */
.ui-tooltip-pgbootstrap{
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
.ui-tooltip-pgbootstrap-stub{
border: 1px solid #999;
/*
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
*/
}
.ui-tooltip-pgbootstrap-stub .ui-tooltip-content{
padding: 6px 9px;
}