You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
111 lines
2.5 KiB
CSS
111 lines
2.5 KiB
CSS
/* Button */
|
|
.ui-button {
|
|
display: inline-block;
|
|
position: relative;
|
|
padding: 0;
|
|
text-decoration: none !important;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
zoom: 1;
|
|
overflow: visible; /* the overflow property removes extra width in IE */
|
|
}
|
|
|
|
p-button {
|
|
display: inline-block;
|
|
}
|
|
|
|
/*button text element */
|
|
.ui-button .ui-button-text {
|
|
display: block;
|
|
line-height: normal;
|
|
}
|
|
|
|
.ui-button-text-only .ui-button-text {
|
|
padding: .25em 1em;
|
|
}
|
|
|
|
.ui-button-icon-only .ui-button-text,
|
|
.ui-button-text-empty .ui-button-text {
|
|
padding: .25em;
|
|
text-indent: -9999999px;
|
|
}
|
|
|
|
.ui-button-text-icon-left .ui-button-text {
|
|
padding: .25em 1em .25em 2.1em;
|
|
}
|
|
|
|
.ui-button-text-icon-right .ui-button-text {
|
|
padding: .25em 2.1em .25em 1em;
|
|
}
|
|
|
|
/*button icon element(s) */
|
|
.ui-button-icon-only .ui-button-icon-left,
|
|
.ui-button-text-icon-left .ui-button-icon-left,
|
|
.ui-button-text-icon-right .ui-button-icon-right {
|
|
position: absolute;
|
|
top: 50%;
|
|
margin-top: -.5em;
|
|
height: 1em;
|
|
}
|
|
|
|
.ui-button-icon-only .ui-button-icon-left {
|
|
top: 50%;
|
|
left: 50%;
|
|
margin-top: -.5em;
|
|
margin-left: -.5em;
|
|
width: 1em;
|
|
height: 1em;
|
|
}
|
|
|
|
.ui-button-icon-left {
|
|
left: .5em;
|
|
}
|
|
|
|
.ui-button-icon-right {
|
|
right: .5em;
|
|
}
|
|
|
|
/*button sets*/
|
|
.ui-buttonset .ui-button {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
|
|
/* workarounds */
|
|
button.ui-button::-moz-focus-inner {
|
|
border: 0; padding: 0; /* reset extra padding in Firefox */
|
|
}
|
|
|
|
/** Fluid **/
|
|
.ui-fluid .ui-button {
|
|
width: 100%;
|
|
}
|
|
|
|
.ui-fluid .ui-button-text-icon-left .ui-button-text,
|
|
.ui-fluid .ui-button-text-icon-right .ui-button-text {
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
}
|
|
|
|
/** ButtonSet **/
|
|
.ui-fluid .ui-buttonset {
|
|
width: 100%;
|
|
}
|
|
|
|
.ui-fluid .ui-buttonset.ui-buttonset-1 .ui-button {width: 100%;}
|
|
.ui-fluid .ui-buttonset.ui-buttonset-2 .ui-button {width: 50%;}
|
|
.ui-fluid .ui-buttonset.ui-buttonset-3 .ui-button {width: 33.3%;}
|
|
.ui-fluid .ui-buttonset.ui-buttonset-4 .ui-button {width: 25%;}
|
|
.ui-fluid .ui-buttonset.ui-buttonset-5 .ui-button {width: 20%;}
|
|
.ui-fluid .ui-buttonset.ui-buttonset-6 .ui-button {width: 16.6%;}
|
|
|
|
@media (max-width: 640px) {
|
|
.ui-fluid .ui-buttonset.ui-buttonset-1 .ui-button,
|
|
.ui-fluid .ui-buttonset.ui-buttonset-2 .ui-button,
|
|
.ui-fluid .ui-buttonset.ui-buttonset-3 .ui-button,
|
|
.ui-fluid .ui-buttonset.ui-buttonset-4 .ui-button,
|
|
.ui-fluid .ui-buttonset.ui-buttonset-5 .ui-button,
|
|
.ui-fluid .ui-buttonset.ui-buttonset-6 .ui-button {
|
|
width: 100%;
|
|
}
|
|
} |