/*!
 * Copyright 2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@import "../common/icons.less";
@import "../common/button.less";
@import "base.less";

// Button

.km-blackberry .km-button
{
    margin-left: 4px;
    margin-right: 4px;
    .box-shadow(none);
}

.km-blackberry .km-button:before
{
    content: "\a0";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 0;
    top: -1px;
    left: -1px;
    background-color: inherit;
    border: inherit;
    border-radius: inherit;
    z-index: -1;
}

.km-blackberry .km-button:before
{
    z-index: 0;
    display: none;
}

.km-blackberry .km-button .km-text
{
    position: relative;
}

.km-blackberry .km-badge
{
    min-width: 1em;
    font-size: .7rem;
    border-radius: ~"2rem";
}

.km-blackberry .km-detail
{
    line-height: .95rem;
    border-radius: ~".2rem";
}

.km-root .km-blackberry .km-detail
{
    width: 1.35rem;
    height: 1.4rem;
}

.km-blackberry .km-detail .km-icon,
.km-blackberry .km-detail .km-icon:after,
.km-blackberry .km-detail .km-icon:before,
.km-root .km-blackberry .km-detail:before,
.km-root .km-blackberry .km-detail:after
{
    line-height: 1.4rem;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.km-blackberry .km-detail .km-icon:after,
.km-blackberry .km-detail .km-icon:before
{
    text-shadow: none;
}

.km-blackberry .km-detail .km-icon:before,
.km-root .km-blackberry .km-detail:before
{
    display: block;
}

.km-blackberry .km-detail .km-text
{
    display: none;
}

.km-blackberry .km-button:active:before,
.km-blackberry .km-button.km-state-active:before
{
    display: block;
}

.km-blackberry .km-content .km-button:after
{
    background-color: transparent;
}
