.zuo-btn { display: inline-block; cursor: pointer; border-radius: 0.25rem; white-space: nowrap; padding: 0.375rem 0.75rem; font-size: 0.875rem; line-height: 1.5; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; &:hover, &:focus { text-decoration: none; } /*primary btn - use for all call to actions (save, create, etc)*/ &.primary { color: $neutral-4; background-color: $support-1; border: 1px solid $support-1; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; &:hover:not(.disabled):not(:disabled), &:focus:not(.disabled):not(:disabled) { color: $neutral-4; background-color: $primary-hover; border: 1px solid $primary-hover; outline: none; } } /*secondary- cancel, etc*/ &.secondary { background-color: $neutral-4; border: 1px solid $support-1; color: $support-1; } /*danger button*/ &.danger { border: 1px solid $support-4; background-color: $neutral-4; color: $support-4; } /*disabled btn*/ &.disabled, &:disabled { opacity: 0.65; cursor: not-allowed; } } .zuo-btn-icon { padding-right: 0.375rem; } .table-btn { cursor: pointer; background-color: transparent; font-size: 1rem; line-height: 1rem; padding: 0.5rem; margin: 0.5rem; border: none; color: $support-1; box-shadow: none; &.active { // TODO: active style for grid/table toggle box-shadow: none; } &:hover { text-decoration: none; box-shadow: none; } &:focus { text-decoration: none; } } .btn-xs { margin: 1px; } .btn.disabled, .btn[disabled], fieldset[disabled] .btn { cursor: not-allowed; pointer-events: none; opacity: 0.65; filter: alpha(opacity=65); -webkit-box-shadow: none; box-shadow: none; background-color: #f1f2f4; } .btn-group.open .dropdown-toggle { box-shadow: none; } .btn-group-vertical > button { margin: 0px; } .btn-sign-in { background-color: transparent; border: 1px solid white; color: white; &:hover, &:focus { color: white; background-color: #5b6a79; border-color: white; } } a.btn-clear { color: white; background-color: inherit !important; border-color: inherit !important; &:hover, &:focus { color: white !important; background-color: #9fb1bf !important; border-color: white !important; } } .btn-clear + .tooltip > .tooltip-inner { background-color: white; border: 1px solid; border-color: white; color: #394b5d; } .btn-clear + .tooltip > .tooltip-arrow { border-bottom-color: white; } a.back_buttons { float: right; i { padding-right: 2px; } &:hover, &:focus { } } .btn-arrow-right, .btn-arrow-left { position: relative; padding-left: 18px; padding-right: 18px; border: 0px solid transparent; } .btn-arrow-right { padding-left: 36px; } .btn-arrow-left { padding-right: 36px; } .btn-arrow-right:before, .btn-arrow-right:after, .btn-arrow-left:before, .btn-arrow-left:after { /* make two squares (before and after), looking similar to the button */ content: ""; position: absolute; top: 5px; /* move it down because of rounded corners */ width: 22px; /* same as height */ height: 22px; /* button_outer_height / sqrt(2) */ background: inherit; /* use parent background */ border: inherit; /* use parent border */ border-left-color: transparent; /* hide left border */ border-bottom-color: transparent; /* hide bottom border */ border-radius: 0px 4px 0px 0px; /* round arrow corner, the shorthand property doesn't accept "inherit" so it is set to 4px */ -webkit-border-radius: 0px 4px 0px 0px; -moz-border-radius: 0px 4px 0px 0px; } .btn-arrow-right:before, .btn-arrow-right:after { transform: rotate( 45deg ); /* rotate right arrow squares 45 deg to point right */ -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -o-transform: rotate(45deg); -ms-transform: rotate(45deg); } .btn-arrow-left:before, .btn-arrow-left:after { transform: rotate( 225deg ); /* rotate left arrow squares 225 deg to point left */ -webkit-transform: rotate(225deg); -moz-transform: rotate(225deg); -o-transform: rotate(225deg); -ms-transform: rotate(225deg); } .btn-arrow-right:before, .btn-arrow-left:before { /* align the "before" square to the left */ left: -11px; top: 2px; } .btn-arrow-right:after, .btn-arrow-left:after { /* align the "after" square to the right */ right: -11px; top: 2px; } .btn-arrow-right:after, .btn-arrow-left:before { /* bring arrow pointers to front */ z-index: 5; } .btn-arrow-right:before, .btn-arrow-left:after { /* hide arrow tails background */ background-color: white; }