// stylelint-disable selector-no-qualifying-type // // Base styles // $colorbutton : #3e3a8e; $colortheme : #3e3a8e; .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 `` 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%; } } .posisi-btn-1 .button-kirimlaporan { border-radius: 5px; } .button-kirimlaporan { // background: rgba(0, 0, 0, 0.05); display: inline-block; background-color: #6fb9de; width: 150px; height: 33px; margin-bottom: -15px; } .text-kirimlaporan { font-weight: 500; font-size: 17px; letter-spacing: 0.02em; text-align: center; padding-bottom: 5px; } .posisi-btn-1 .button-lihatpemantauan { border-radius: 5px; position: relative; margin-left: auto; // background: rgba(0, 0, 0, 0.05); display: inline-block; background-color: #3e3a8e; width: 160px; height: 35px; margin-bottom: -5px; } .text-lihatpemantauan { // font-weight: 500; font-size: 16px; letter-spacing: 0.02em; text-align: center; // padding-bottom: 5px; margin: -5px; } .btn-labeled { padding-top: 0; padding-bottom: 0; margin-right: 20px; margin-top: 3%; background: $colorbutton; display: inline; border-radius: 7px; transition: ease background-color 250ms; &:hover:enabled { background-color: $colorbutton; opacity: 0.9; } } .btn-labeled-2 { padding-top: 0; padding-bottom: 0; margin-top: 3%; background: $colorbutton; transition: ease background-color 250ms; &:hover:enabled { background-color: $colorbutton; opacity: 0.9; } } .btn-labeled-3 { border: #3e3a8e solid 2px; padding-top: 0; padding-bottom: 0; margin-top: 3%; color: #3e3a8e; background: transparent; transition: ease background-color 250ms; &:hover:enabled { background-color: #e9e8e8; opacity: 0.9; color: #3e3a8e; } } .btn-labeled-4 { border: #3e3a8e solid 2px; padding-top: 0; padding-bottom: 0; margin-top: 3%; color: #3e3a8e; background: white; transition: ease background-color 250ms; &:hover:enabled { background-color: #e9e8e8; opacity: 0.9; color: #3e3a8e; } } .btn-labeled-3-notHover { border: #3e3a8e solid 2px; padding-top: 0; padding-bottom: 0; margin-top: 3%; color: #3e3a8e; // background: transparent; // transition: ease background-color 250ms; &[disabled] { color: #3e3a8e; } } .btn-radius .btn-labeled-3-notHover { border-radius: 7px; } .btn-labeled-notHover { padding-top: 0; padding-bottom: 0; margin-right: 20px; margin-top: 3%; background: $colorbutton; display: inline; border-radius: 7px; transition: ease background-color 250ms; } .btn-radius .btn-labeled-notHover { border-radius: 7px; } .btn-radius .btn-labeled-3 { border-radius: 7px; } .btn-login { background: $colorbutton; transition: ease background-color 250ms; border: $colorbutton solid 2px; border-radius: 7px !important; &:hover:enabled{ background-color: $colorbutton; opacity: 0.8; } } //jangan di ubah .btn-v2 { background: transparent; border: #3e3a8e solid 2px; border-radius: 7px !important; } .btn-v3 { background: transparent; border: #a1a1a3 solid 1px; border-radius: 7px !important; } .navbar-color { background-color: $colortheme; } .posisi-btn-1 { position: relative; margin-left: auto; padding-right: 20px; } .tengah { text-align: center; padding: 30px; } .btn-simpanpenjadwalan { margin-left: auto; width: 100px; } .btn-colorpenjadwalan { // display: inline-block; background-color: $colorbutton; height: 35px; transition: ease background-color 250ms; // &:hover { // background-color: $colorbutton; opacity: 0.9; // } } .text-btn-penjadwalan-1 { letter-spacing: 0.02em; text-align: center; } .btn-simpanjadwal { margin-left: auto; width: 100px; margin-top: 20px; margin-bottom: 15px; } .btn-radius .btn-labeled-2 { border-radius: 7px; display: inline; border: 0; } .btn-radius .btn-labeled { border-radius: 7px; display: inline; border: 0; } .btn-radius .btn-login { border-radius: 7px; border: 0; } .btn-header { display: inline-block; background-color: $colorbutton; width: auto; height: 34px; margin-left: 5px; border: 0; transition: ease background-color 250ms; &:hover:enabled { background-color: $colorbutton; opacity: 0.9; } } .margin-l-5 { margin-right: 5px; display: inline; } .btn-radius .button-kirimlaporan { border: 0; background-color: $colorbutton; } .btn-radius .button-lihatpemantauan { border: 0; } .button-hidden { border: 0; padding: 0; } .color-3e3a8e { background-color: #3e3a8e; color: #3e3a8e; } .margin-left-auto { float: left; margin-right: auto; } .icon-laporan-baru { margin-left: 5px; // margin-right: -8px; width: 13px; } .modals { // height: 40px; background-color: $colortheme; padding: 5px; margin-bottom: -2px; border-radius: 5px; } .modals-1 { background-color: #b8b8b8; padding: 10px; border-radius: 5px; } .modals-verifikasi { background-color: transparent; padding: 5px; border-radius: 5px; color: black; } .btn-verif { background-color: Transparent; background-repeat: no-repeat; border: none; cursor: pointer; overflow: hidden; border: 0; padding: 0; margin-bottom: 3px; float: right; margin-bottom: auto; }