forked from philschatz/collab.demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsandbox.css
126 lines (99 loc) · 2.28 KB
/
sandbox.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
.handle {
position: absolute;
background-color: #999;
width: 20px;
min-height: 1em;
left: 50px;
cursor: pointer;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
z-index: -1;
}
/******************
Context menu
******************/
.context-cursor {
position: absolute;
}
.context-icon {
position: relative;
left: -8px;
cursor: pointer;
width: 15px;
height: 15px;
border: solid 1px #CCC;
border-radius: 1em;
background-color: white;
box-shadow: 0 0.25em 1em 0 rgba(0, 0, 0, 0.25);
}
.context-menu {
border-radius: 0.25em;
background-color: rgba(255, 255, 255, 0.90);
box-shadow: 0 0.25em 1em 0 rgba(0, 0, 0, 0.25);
}
.context-menu .command::before {
content: " ";
position: absolute;
display: block;
height: 22px;
width: 22px;
}
.context-menu .command {
position:relative;
padding: 0.25em;
margin: 0.25em;
display: inline-block;
border: solid 1px transparent;
border-radius: 0.125em;
cursor: pointer;
vertical-align: top;
overflow:hidden;
}
.context-menu .command:hover {
border: 1px solid #444;
}
.context-menu .command:active {
background:rgba(0,0,0,0.12);
}
.context-menu .command.selected {
background:rgba(0,0,0,0.12);
box-shadow: inset 0px 1px 4px rgba(0,0,0,0.2), inset 0px 2px 2px rgba(0,0,0,0.04), 0px 1px 0px rgba(255,255,255,0.5);
}
/************
Drag and Drop (DnD) styles
****************************/
.ui-droppable {
}
.drop-before {
border-top: 1px dotted black;
}
.remote-selected {
cursor: default;
color: #ccc;
}
/***************
Github Ribbon
*****************/
.github-ribbon {
z-index: 1000;
background-color: orangered;
top: 3.2em;
right: -3.7em;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-box-shadow: 0 0 0 1px #1d212e inset,0 0 2px 1px #fff inset,0 0 1em #888;
-moz-box-shadow: 0 0 0 1px #1d212e inset,0 0 2px 1px #fff inset,0 0 1em #888;
box-shadow: 0 0 0 1px #1d212e inset,0 0 2px 1px #fff inset,0 0 1em #888;
color: rgba(255,255,255,0.90);
display: block;
padding: .6em 3.5em;
position: fixed;
font: bold .82em sans-serif;
text-align: center;
text-decoration: none;
text-shadow: 1px -1px 8px rgba(0,0,0,0.60);
-webkit-user-select: none;
-moz-user-select: none;
user-select: none
}