Skip to content

Commit 8c80bc0

Browse files
authored
Merge pull request #4 from nikolas/distributable
Add markdown-toolbar sandbox and make it distributable
2 parents dd50269 + dabb99f commit 8c80bc0

11 files changed

+864
-353
lines changed

dist/markdown-toolbar.css

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
.new-discussion-timeline .previewable-comment-form .comment-form-head.tabnav {
2+
padding: 6px 10px 0;
3+
background: #f7f7f7;
4+
border-radius: 3px 3px 0 0;
5+
}
6+
7+
.timeline-new-comment .comment-form-head {
8+
margin-bottom: 10px;
9+
}
10+
11+
.toolbar-commenting {
12+
margin-top: 7px;
13+
}
14+
15+
.toolbar-group {
16+
display: inline-block;
17+
margin-right: 15px;
18+
}
19+
20+
.toolbar-item.dropdown {
21+
padding: 0;
22+
}
23+
24+
.toolbar-item {
25+
display: block;
26+
float: left;
27+
padding: 4px 5px;
28+
color: #767676;
29+
background: none;
30+
border: 0;
31+
}
32+
33+
.toolbar-item .menu-target {
34+
display: block;
35+
padding: 4px 5px;
36+
color: #767676;
37+
background: none;
38+
border: 0;
39+
}
40+
41+
.toolbar-item .dropdown-caret {
42+
display: block;
43+
float: right;
44+
margin-top: 6px;
45+
margin-left: 2px;
46+
}
47+
48+
.dropdown-caret {
49+
display: inline-block;
50+
width: 0;
51+
height: 0;
52+
vertical-align: -2px;
53+
content: "";
54+
border: 4px solid;
55+
border-right-color: transparent;
56+
border-bottom-color: transparent;
57+
border-left-color: transparent;
58+
}
59+
60+
.octicon {
61+
display: inline-block;
62+
vertical-align: text-top;
63+
fill: currentColor;
64+
}
65+
66+
.dropdown-menu {
67+
position: absolute;
68+
top: 100%;
69+
left: 0;
70+
z-index: 100;
71+
width: 160px;
72+
padding-top: 5px;
73+
padding-bottom: 5px;
74+
margin-top: 2px;
75+
background-color: #fff;
76+
background-clip: padding-box;
77+
border: 1px solid rgba(0,0,0,0.15);
78+
border-radius: 4px;
79+
box-shadow: 0 3px 12px rgba(0,0,0,0.15);
80+
}
81+
82+
.dropdown-menu-s {
83+
right: 50%;
84+
left: auto;
85+
-webkit-transform: translateX(50%);
86+
transform: translateX(50%);
87+
}
88+
89+
.markdown-preview {
90+
background-color: #eee;
91+
}
92+
93+
.markdown-preview blockquote {
94+
margin: 10px 0 10px 0;
95+
padding: 5px 10px;
96+
border-left: 5px solid #b2cbea;
97+
font-size: 14px;
98+
color: #666;
99+
}

0 commit comments

Comments
 (0)