BUE.Button.css in BUEditor 8
/* Button */
.bue .bue-button,
.bue .bue-button:before,
.bue .bue-button > * {
display: inline-block;
vertical-align: bottom;
}
.bue .bue-button {
-moz-box-sizing: border-box;
box-sizing: border-box;
font-size: 1em;
font-family: inherit; /* Inherit from toolbar */
line-height: 1em;
padding: 0.4em;
min-width: 1.95em;
min-height: 1.92em;
text-align: center;
outline: none;
text-decoration: none;
cursor: default;
margin: 0.15em 0.15em 0 0;/* Complementary to toolbar padding */
color: #000;
background: #f7f7f7;
background: linear-gradient(180deg, #fff, #eaeaea);
border: 1px solid;
border-radius: 0.16em;
border-color: #ddd #bbb #bbb #ddd;
box-shadow: 0 0 1px rgba(255, 255, 255, 0.8);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
white-space: nowrap;
}
/* Reset firefox native styles */
.bue .bue-button::-moz-focus-inner {
border: 0;
padding: 0;
}
.bue .bue-button:hover,
.bue .bue-button:focus {
background: #eee;
border-color: #ccc;
}
.bue .bue-button:active,
.bue .bue-button.active,
.bue .bue-button.pressed {
background: #d5d5d5;
border-color: #a5a5a5 #c5c5c5 #c5c5c5 #a5a5a5;
box-shadow: 0 0 1px rgba(255, 255, 255, 0.8), 0 0 4px rgba(0, 0, 0, 0.15) inset;
}
.bue .bue-button.disabled {
opacity: 0.6;
}
.bue .bue-button.has-text:before {
margin-right: 0.2em;
}
File
library/css/BUE.Button.css
View source
- /* Button */
- .bue .bue-button,
- .bue .bue-button:before,
- .bue .bue-button > * {
- display: inline-block;
- vertical-align: bottom;
- }
- .bue .bue-button {
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- font-size: 1em;
- font-family: inherit; /* Inherit from toolbar */
- line-height: 1em;
- padding: 0.4em;
- min-width: 1.95em;
- min-height: 1.92em;
- text-align: center;
- outline: none;
- text-decoration: none;
- cursor: default;
- margin: 0.15em 0.15em 0 0;/* Complementary to toolbar padding */
- color: #000;
- background: #f7f7f7;
- background: linear-gradient(180deg, #fff, #eaeaea);
- border: 1px solid;
- border-radius: 0.16em;
- border-color: #ddd #bbb #bbb #ddd;
- box-shadow: 0 0 1px rgba(255, 255, 255, 0.8);
- text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
- white-space: nowrap;
- }
- /* Reset firefox native styles */
- .bue .bue-button::-moz-focus-inner {
- border: 0;
- padding: 0;
- }
- .bue .bue-button:hover,
- .bue .bue-button:focus {
- background: #eee;
- border-color: #ccc;
- }
- .bue .bue-button:active,
- .bue .bue-button.active,
- .bue .bue-button.pressed {
- background: #d5d5d5;
- border-color: #a5a5a5 #c5c5c5 #c5c5c5 #a5a5a5;
- box-shadow: 0 0 1px rgba(255, 255, 255, 0.8), 0 0 4px rgba(0, 0, 0, 0.15) inset;
- }
- .bue .bue-button.disabled {
- opacity: 0.6;
- }
- .bue .bue-button.has-text:before {
- margin-right: 0.2em;
- }