All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.swm.commons.mobile.client.theme.bootstrap.css.button.css Maven / Gradle / Ivy

There is a newer version: 3.1
Show newest version
@if swmmobile.css pretty {
@external button, bigbutton, pressed, buttonLightLeftText, backButton, pointer, hidden, nextButton, disabled, imageButton;
}

.button, .imageButton {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center !important;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    \-webkit-user-select: none;
    \-moz-user-select: none;
    \-ms-user-select: none;
    user-select: none;

    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
}

.bigbutton {
    color: #ffffff;
    border: 1px solid #9E9E9E;
    margin-top: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
    font-size: 20px;
    font-weight: 400;
    padding: 0.7em 0.7em 0.7em 0.7em;
    \-webkit-border-radius: 0.3em;
    height: 3em;
    text-align: center;
    background-image: literal('linear-gradient(to bottom, #26EC00 0%, #017C01 100%)');
    border-radius: 0.3em;
}

.buttonLightLeftText {
    text-align: left;
    font-family: inherit;
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px !important;
    \-webkit-user-select: none;
    \-moz-user-select: none;
    \-ms-user-select: none;
    user-select: none;

    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
}

.buttonLightLeftText.pressed {
    background: literal('-webkit-gradient(linear, 0% 0%, 0% 100%, from(#D5D5D5), to(#A09D9D))');
}

.bigbutton.pressed {
    background: literal('-webkit-gradient(linear, 0% 0%, 0% 100%, from(#D5D5D5), to(#A09D9D))');
}

.button.pressed {
    background: literal('-webkit-gradient(linear, 0% 0%, 0% 100%, from(#D5D5D5), to(#A09D9D))');
}

.button.disabled {
    color: gray;
}

/**Back button**/

.backButton {
    z-index: 2;
    position: absolute;
    left: 10px;
    bottom: 11px;
}

.backButton > .button,
.backButton > .pointer {

}

.backButton > .button {
    background: none;
    border: none;
    box-shadow: none;
    font-size: 21px;
    padding-left: 0.925em;
    font-family: inherit;
}

.backButton > .pointer {
    display: block;
    position: absolute;
    left: 0;
    top: -1px;
}

.backButton > .pointer:before {
    content: "<";
    font-family: inherit;
    width: 16px;
    display: inline-block;
    font-size: 30px;
    color: #585858;
    position: relative;
    margin-left: -7px;
}

.backButton.pressed > span.button,
.nextButton.pressed > span.button {
    color: #FFFFFF;
}

.backButton.hidden {
    display: none;
}

/** Next button **/
.nextButton {
    z-index: 2;
    position: relative;
    left: 10px;
    bottom: 11px;
    top: 6px;
}

.nextButton > .button {
    background: none;
    border: none;
    box-shadow: none;
    font-size: 21px;
    padding-left: 0.925em;
    font-family: inherit;
}

.nextButton > .pointer {
    display: block;
    position: absolute;
    left: 0;
    top: -1px;
}


.nextButton:after {
    content: ">";
    font-family: inherit;
    width: 16px;
    display: inline-block;
    font-size: 30px;
    color: #585858;
    position: relative;
    top: 3px;
}

/** image button **/
.imageButton.pressed {
    background: literal('-webkit-gradient(linear, 0% 0%, 0% 100%, from(lightgreen), color-stop(0.5, #298C08), color-stop(0.5, darkgreen), to(darkgreen))');
    background: literal('linear-gradient(to bottom, lightgreen 0%, #298C08 50%, darkgreen 50%, darkgreen 100%)');
}

.imageButton > img {
    \-webkit-user-select: none;
    border-style: none;
    outline: none;
}

.imageButton > div {
    -webkit-box-align: center;
    padding-left: 0.3em;
    -ms-flex-align: center;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy