Sha256: dbcc10a0f9ed8aa85a24aaf6cf1ca8c2e85e6d52547746a3eb55ca60659246fc

Contents?: true

Size: 1.33 KB

Versions: 9

Compression:

Stored size: 1.33 KB

Contents

/*
  Place all the styles related to the matching controller here.
  They will automatically be included in application.css.
*/

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #00919d;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 26px;
}

.slider.round:before {
    border-radius: 50%;
}

label.capitalize {
    text-transform: capitalize;
}

#events {
    margin-bottom: 15px;
}

#events .form-group{
    margin-bottom: 0;
}

.event-class{
    word-wrap: break-word;
    max-width: 400px;
    font-size: .8em;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kenui-3.0.4 app/assets/stylesheets/kenui/email_notifications.css
kenui-3.0.3 app/assets/stylesheets/kenui/email_notifications.css
kenui-3.0.2 app/assets/stylesheets/kenui/email_notifications.css
kenui-2.1.1 app/assets/stylesheets/kenui/email_notifications.css
kenui-3.0.1 app/assets/stylesheets/kenui/email_notifications.css
kenui-2.0.1 app/assets/stylesheets/kenui/email_notifications.css
kenui-2.0.0 app/assets/stylesheets/kenui/email_notifications.css
kenui-1.0.0 app/assets/stylesheets/kenui/email_notifications.css
kenui-0.1.0 app/assets/stylesheets/kenui/email_notifications.css