le0pard/mongodb_logger

View on GitHub
app/assets/stylesheets/group-buttons.css.erb

Summary

Maintainability
Test Coverage
.button {
    display: inline-block;
    padding: 5px 20px;
    border: 1px solid #777;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(100,100,100,0.4), 0 1px 0 rgba(255,255,255,0.3) inset;
    text-decoration: none;    
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    background: rgb(5,171,239);
    background: -moz-linear-gradient(top,  rgba(5,171,239,1) 0%, rgba(3,105,173,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(5,171,239,1)), color-stop(100%,rgba(3,105,173,1)));
    background: -webkit-linear-gradient(top,  rgba(5,171,239,1) 0%,rgba(3,105,173,1) 100%);
    background: -o-linear-gradient(top,  rgba(5,171,239,1) 0%,rgba(3,105,173,1) 100%);
    background: -ms-linear-gradient(top,  rgba(5,171,239,1) 0%,rgba(3,105,173,1) 100%);
    background: linear-gradient(top,  rgba(5,171,239,1) 0%,rgba(3,105,173,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#05abef', endColorstr='#0369ad',GradientType=0 );   
}

.button.grey {
    color: #333;
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(229,229,229,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(229,229,229,1)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
    background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
    background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
    background: linear-gradient(top, rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 );
}

.button.small {
    padding: 2px 10px;
}

.button.negative {
    color: #fff;
    background: rgb(247,43,0);
    background: -moz-linear-gradient(top,  rgba(247,43,0,1) 0%, rgba(201,45,0,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(247,43,0,1)), color-stop(100%,rgba(201,45,0,1)));
    background: -webkit-linear-gradient(top,  rgba(247,43,0,1) 0%,rgba(201,45,0,1) 100%);
    background: -o-linear-gradient(top,  rgba(247,43,0,1) 0%,rgba(201,45,0,1) 100%);
    background: -ms-linear-gradient(top,  rgba(247,43,0,1) 0%,rgba(201,45,0,1) 100%);
    background: linear-gradient(top,  rgba(247,43,0,1) 0%,rgba(201,45,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f72b00', endColorstr='#c92d00',GradientType=0 );    
}

.button.primary {
    padding: 3px 10px;
    color: #fff;
    background: #68B902;
    border-color: #5E8C22;
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

.button:hover {
    color: #fff;
}

.button.grey:hover {
    color: #333;
}


.button.primary:hover {
    background: #6bc102;
    border-color: #57910C;
}


.start {
    display: inline-block;
    padding-left: 13px;
    background: url(<%= asset_data_uri('play-icon.png') %>) no-repeat 0 -35px;
}

.stop {
    display: inline-block;
    padding-left: 13px;
    background: url(<%= asset_data_uri('stop-icon.png') %>) no-repeat 0 5px;
}