|
Kite |
8c766d |
/* -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
Component: Button Styles
|
|
Kite |
8c766d |
----------------------------------------------------------------------------- */
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
// Show (+/-) Button
|
|
Kite |
8c766d |
// -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
// a button style for the show more options button
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
.button-show {
|
|
Kite |
8c766d |
image: url('@{img-url}/plus.svg');
|
|
Kite |
8c766d |
image-position: center center;
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
padding: 1;
|
|
Kite |
8c766d |
min-width: 10;
|
|
Kite |
8c766d |
min-height: 10;
|
|
Kite |
8c766d |
&:checked {
|
|
Kite |
8c766d |
background-color: @button-bg-color-checked;
|
|
Kite |
8c766d |
border-color: @button-border-color-checked;
|
|
Kite |
8c766d |
image: url('@{img-url}/minus.svg');
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
8c766d |
background-color: @button-bg-color-pressed;
|
|
Kite |
8c766d |
border-color: @button-border-color-pressed;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:hover {
|
|
Kite |
8c766d |
background-color: @button-bg-color-checked-hover;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
// Tool Button
|
|
Kite |
8c766d |
// -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
// ideal for use on toolbar buttons and console buttons
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
.button-tool {
|
|
Kite |
8c766d |
background-color: @toolbutton-bg-color;
|
|
Kite |
8c766d |
border: 1 solid @toolbutton-border-color;
|
|
Kite |
8c766d |
border-radius: 2;
|
|
Kite |
8c766d |
color: @toolbutton-text-color;
|
|
Kite |
8c766d |
margin: 1;
|
|
Kite |
8c766d |
padding: 0;
|
|
Kite |
8c766d |
&:hover {
|
|
Kite |
8c766d |
background-color: @toolbutton-bg-color-hover;
|
|
Kite |
8c766d |
border-color: @toolbutton-border-color-hover;
|
|
Kite |
8c766d |
color: @toolbutton-text-color-hover;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
8c766d |
background-color: @toolbutton-bg-color-pressed;
|
|
Kite |
8c766d |
border-color: @toolbutton-border-color-pressed;
|
|
Kite |
8c766d |
color: @toolbutton-text-color-pressed;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:checked {
|
|
Kite |
8c766d |
background-color: @toolbutton-bg-color-checked;
|
|
Kite |
8c766d |
border-color: @toolbutton-border-color-checked;
|
|
Kite |
8c766d |
color: @toolbutton-text-color-checked;
|
|
Kite |
8c766d |
&:hover {
|
|
Kite |
8c766d |
background-color: @toolbutton-bg-color-checked-hover;
|
|
Kite |
8c766d |
border-color: @toolbutton-border-color-checked-hover;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:disabled {
|
|
Kite |
8c766d |
color: @text-color-disabled;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
// Flat Button
|
|
Kite |
8c766d |
// -----------------------------------------------------------------------------
|
|
Kite |
8c766d |
// this is a flat button style with no border and no margin
|
|
Kite |
8c766d |
// ideal for use in palette tool bars and tight areas
|
|
Kite |
8c766d |
|
|
Kite |
8c766d |
.button-flat {
|
|
Kite |
8c766d |
background-color: none;
|
|
Kite |
8c766d |
border: 0;
|
|
Kite |
8c766d |
border-radius: 0;
|
|
Kite |
8c766d |
margin: 0;
|
|
Kite |
8c766d |
&:hover {
|
|
Kite |
8c766d |
background-color: @toolbutton-bg-color-hover;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
&:pressed {
|
|
Kite |
8c766d |
background-color: @accent;
|
|
Kite |
8c766d |
}
|
|
Kite |
8c766d |
}
|