| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- // stylelint-disable selector-no-qualifying-type
- //
- // Base styles
- //
- .btn {
- display: inline-block;
- font-family: $btn-font-family;
- font-weight: $btn-font-weight;
- color: $body-color;
- text-align: center;
- text-decoration: if($link-decoration == none, null, none);
- white-space: $btn-white-space;
- vertical-align: middle;
- user-select: none;
- background-color: transparent;
- border: $btn-border-width solid transparent;
- @include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-line-height, $btn-border-radius);
- @include transition($btn-transition);
- @include hover() {
- color: $body-color;
- text-decoration: none;
- }
- &:focus,
- &.focus {
- outline: 0;
- box-shadow: $btn-focus-box-shadow;
- }
- // Disabled comes first so active can properly restyle
- &.disabled,
- &:disabled {
- opacity: $btn-disabled-opacity;
- @include box-shadow(none);
- }
- &:not(:disabled):not(.disabled) {
- cursor: if($enable-pointer-cursor-for-buttons, pointer, null);
- &:active,
- &.active {
- @include box-shadow($btn-active-box-shadow);
- &:focus {
- @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
- }
- }
- }
- }
- // Future-proof disabling of clicks on `<a>` elements
- a.btn.disabled,
- fieldset:disabled a.btn {
- pointer-events: none;
- }
- //
- // Alternate buttons
- //
- @each $color, $value in $theme-colors {
- .btn-#{$color} {
- @include button-variant($value, $value);
- }
- }
- @each $color, $value in $theme-colors {
- .btn-outline-#{$color} {
- @include button-outline-variant($value);
- }
- }
- //
- // Link buttons
- //
- // Make a button look and behave like a link
- .btn-link {
- font-weight: $font-weight-normal;
- color: $link-color;
- text-decoration: $link-decoration;
- @include hover() {
- color: $link-hover-color;
- text-decoration: $link-hover-decoration;
- }
- &:focus,
- &.focus {
- text-decoration: $link-hover-decoration;
- }
- &:disabled,
- &.disabled {
- color: $btn-link-disabled-color;
- pointer-events: none;
- }
- // No need for an active state here
- }
- //
- // Button Sizes
- //
- .btn-lg {
- @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-line-height-lg, $btn-border-radius-lg);
- }
- .btn-sm {
- @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-line-height-sm, $btn-border-radius-sm);
- }
- //
- // Block button
- //
- .btn-block {
- display: block;
- width: 100%;
- // Vertically space out multiple block buttons
- + .btn-block {
- margin-top: $btn-block-spacing-y;
- }
- }
- // Specificity overrides
- input[type="submit"],
- input[type="reset"],
- input[type="button"] {
- &.btn-block {
- width: 100%;
- }
- }
- .button-kirimlaporan{
- // background: rgba(0, 0, 0, 0.05);
- display: inline-block;
- background-color: #6FB9DE;
- width: 175px;
- height: 40px;
- }
- .text-kirimlaporan{
- font-weight: 500;
- font-size: 20px;
- letter-spacing: 0.02em;
- text-align: center;
- padding-bottom: 5px;
- }
- .button-lihatpemantauan{
- position: relative;
- margin-left: auto;
- // background: rgba(0, 0, 0, 0.05);
- display: inline-block;
- background-color: #6FB9DE;
- width: 200px;
- height: 40px;
- }
- .text-lihatpemantauan{
- font-weight: 500;
- font-size: 20px;
- letter-spacing: 0.02em;
- text-align: center;
- padding-bottom: 5px
- }
- .btn-labeled {
- padding-top: 0;
- padding-bottom: 0;
- font-size: 20px;
- margin-top: 3%;
- background: #6FB9DE;
- }
- .btn-labeled-2{
- padding-top: 0;
- padding-bottom: 0;
- margin-left: 20px;
- margin-top: 3%;
- background: #6FB9DE;
- }
- .btn-login{
- background: #6FB9DE;
- }
- .navbar-color{
- background-color: #6FB9DE;
- }
- .posisi-btn-1{
- position: relative;
- margin-left: auto;
- padding-right: 20px;
- }
- .tengah{
- text-align: center;
- padding: 30px;
- }
|