Add clipboard copy support for the pull command

This commit is contained in:
Joseph Schorr 2013-09-27 16:12:51 -04:00
parent 479e23b09d
commit c466bca32d
7 changed files with 41 additions and 5 deletions

View file

@ -11,6 +11,10 @@
display: none;
}
p.editable {
display: inline-block;
}
p.editable .content:empty:after {
display: inline-block;
content: "(Click to add)";
@ -67,19 +71,29 @@ p.editable:hover i {
.repo .pull-command {
float: right;
display: inline-block;
}
.repo .pull-command {
font-size: 1.2em;
}
.repo .pull-command .pull-container {
display: inline-block;
width: 300px;
margin-right: 10px;
vertical-align: middle;
}
.repo .pull-command input {
cursor: default;
background: white;
color: #666;
padding: 4px;
border: 1px solid #ddd;
width: 300px;
}
.repo #copyClipboard {
cursor: pointer;
}
.repo .settings-cog {
margin-left: 20px;
}