| 1 |
// Pulse 5.3.1 |
| 2 |
// Bootswatch |
| 3 |
|
| 4 |
|
| 5 |
// Variables |
| 6 |
|
| 7 |
// Buttons |
| 8 |
|
| 9 |
.btn { |
| 10 |
&:focus, |
| 11 |
&:active, |
| 12 |
&:active:focus, |
| 13 |
&.active:focus { |
| 14 |
outline: none; |
| 15 |
} |
| 16 |
|
| 17 |
&-secondary { |
| 18 |
color: $gray-900; |
| 19 |
background-color: $white; |
| 20 |
border-color: #ccc; |
| 21 |
|
| 22 |
&:hover { |
| 23 |
color: $gray-900; |
| 24 |
background-color: $gray-300; |
| 25 |
border-color: $gray-500; |
| 26 |
} |
| 27 |
|
| 28 |
&.disabled { |
| 29 |
color: tint-color($gray-900, 5%); |
| 30 |
background-color: $white; |
| 31 |
border-color: tint-color(#ccc, 5%); |
| 32 |
} |
| 33 |
} |
| 34 |
|
| 35 |
&-warning { |
| 36 |
color: $white; |
| 37 |
} |
| 38 |
|
| 39 |
&-primary:focus { |
| 40 |
box-shadow: 0 0 5px tint-color($primary, 10%); |
| 41 |
} |
| 42 |
|
| 43 |
&-secondary:focus { |
| 44 |
box-shadow: 0 0 5px $gray-400; |
| 45 |
} |
| 46 |
|
| 47 |
&-success:focus { |
| 48 |
box-shadow: 0 0 5px tint-color($success, 10%); |
| 49 |
} |
| 50 |
|
| 51 |
&-info:focus { |
| 52 |
box-shadow: 0 0 5px tint-color($info, 10%); |
| 53 |
} |
| 54 |
|
| 55 |
&-warning:focus { |
| 56 |
box-shadow: 0 0 5px tint-color($warning, 10%); |
| 57 |
} |
| 58 |
|
| 59 |
&-danger:focus { |
| 60 |
box-shadow: 0 0 5px tint-color($danger, 10%); |
| 61 |
} |
| 62 |
|
| 63 |
&.disabled:focus { |
| 64 |
box-shadow: none; |
| 65 |
} |
| 66 |
} |
| 67 |
|
| 68 |
// Tables |
| 69 |
|
| 70 |
.table .thead-dark th { |
| 71 |
background-color: $secondary; |
| 72 |
border-color: $table-border-color; |
| 73 |
} |
| 74 |
|
| 75 |
// Forms |
| 76 |
|
| 77 |
.form-control:focus { |
| 78 |
box-shadow: 0 0 5px rgba(100, 65, 164, .4); |
| 79 |
} |
| 80 |
|
| 81 |
// Navs |
| 82 |
|
| 83 |
.nav-tabs { |
| 84 |
.nav-link, |
| 85 |
.nav-link.active, { |
| 86 |
border-width: 0 0 1px; |
| 87 |
} |
| 88 |
|
| 89 |
.nav-link:hover, |
| 90 |
.nav-link.active, |
| 91 |
.nav-link.active:hover, |
| 92 |
.nav-link.active:focus { |
| 93 |
border-bottom: 1px solid $primary; |
| 94 |
} |
| 95 |
|
| 96 |
.nav-item + .nav-item { |
| 97 |
margin-left: 0; |
| 98 |
} |
| 99 |
} |
| 100 |
|
| 101 |
.breadcrumb { |
| 102 |
&-item.active { |
| 103 |
color: $gray-700; |
| 104 |
} |
| 105 |
} |
| 106 |
|
| 107 |
// Indicators |
| 108 |
|
| 109 |
.badge { |
| 110 |
&.bg-light { |
| 111 |
color: $dark; |
| 112 |
} |
| 113 |
} |
| 114 |
|
| 115 |
// Progress bars |
| 116 |
|
| 117 |
.progress { |
| 118 |
height: 8px; |
| 119 |
} |
| 120 |
|
| 121 |
// Containers |
| 122 |
|
| 123 |
.list-group { |
| 124 |
&-item { |
| 125 |
color: rgba(255, 255, 255, .8); |
| 126 |
|
| 127 |
&.active, |
| 128 |
&:hover, |
| 129 |
&:focus { |
| 130 |
color: $white; |
| 131 |
} |
| 132 |
|
| 133 |
&.active { |
| 134 |
font-weight: 700; |
| 135 |
|
| 136 |
&:hover { |
| 137 |
background-color: $list-group-hover-bg; |
| 138 |
} |
| 139 |
} |
| 140 |
|
| 141 |
&.disabled:hover { |
| 142 |
color: $list-group-disabled-color; |
| 143 |
} |
| 144 |
} |
| 145 |
} |