Commit 38519c10 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers 🐦

make the CSS work better in firefox

parent 8f6076d7
Pipeline #871 passed with stages
in 21 seconds
......@@ -2,11 +2,23 @@ body { padding-top: 70px; }
.list-group {
border-style: solid;
border-width: 1px;
border-color: #cccccd;
border-radius: 9px;
}
.ui-sortable li {
cursor: move; /* fallback if grab cursor is unsupported */
cursor: grab;
cursor: -moz-grab;
cursor: -webkit-grab;
}
border-style:solid;
border-width:2px;
border-color: #CCC;
border-radius:9px;
.ui-sortable:active {
cursor: grabbing;
cursor: -moz-grabbing;
cursor: -webkit-grabbing;
}
.agentSide ul.pull-right{
......@@ -15,7 +27,6 @@ body { padding-top: 70px; }
.agentSide ul:empty{
background-color: #eee;
content: "<li>drag your rules here to build your agent</li>";
border-style: dashed;
}
......@@ -24,12 +35,14 @@ body { padding-top: 70px; }
}
ul li.list-group-item{
padding-left:30px;
text-align: left;
}
.connectedRules i {
margin-right: 0.8em;
}
ul li.list-group-item button.btn-info{
#foobar ul li.list-group-item button.btn-info{
margin-top:-8px;
}
......@@ -45,10 +58,10 @@ i.fa-li{
background-color: #EEEEEC;
}
.discard{
.discard {
background-color: #EEEEEC;
}
.tell{
.tell {
background-color: #EEEEEC;
}
......@@ -34,11 +34,11 @@ function makeRuleItem(list, index, value){
random, info, lightbulb-o, recycle, times, trash, arrow-right
*/
var html = '<li class="list-group-item ' + type + '">';
html = html + '<i class="fa-li fa fa-' + icon + '"></i>';
var html = '<li class="list-group-item clearfix ' + type + '">';
html = html + '<i class="fa-fw fa fa-' + icon + '"></i>';
html = html + '<span class="name">' + value.name + "</span>";
html = html + '<span style="display: none" class="ruleid">' + value.id + '</span>';
html = html + '<button type="button" class="btn btn-info pull-right doc" data-toggle="modal" data-target="#docModal" data-src="http://iggi.fosslab.uk/hanabi/apidocs/' + value.doc + '">Info</button>'
html = html + '<button type="button" class="btn btn-info btn-sm pull-right doc" data-toggle="modal" data-target="#docModal" data-src="http://iggi.fosslab.uk/hanabi/apidocs/' + value.doc + '">Info</button>'
html = html + '</li>';
list.append(html);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment