mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-09 11:46:39 -08:00
120 lines
2.8 KiB
CSS
120 lines
2.8 KiB
CSS
/*!
|
|
Pure v2.0.3
|
|
Copyright 2013 Yahoo!
|
|
Licensed under the BSD License.
|
|
https://github.com/pure-css/pure/blob/master/LICENSE.md
|
|
*/
|
|
.pure-button {
|
|
/* Structure */
|
|
display: inline-block;
|
|
line-height: normal;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
-webkit-user-drag: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Firefox: Get rid of the inner focus border */
|
|
.pure-button::-moz-focus-inner {
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
/* Inherit .pure-g styles */
|
|
.pure-button-group {
|
|
letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
|
|
text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
|
|
}
|
|
|
|
.opera-only :-o-prefocus,
|
|
.pure-button-group {
|
|
word-spacing: -0.43em;
|
|
}
|
|
|
|
.pure-button-group .pure-button {
|
|
letter-spacing: normal;
|
|
word-spacing: normal;
|
|
vertical-align: top;
|
|
text-rendering: auto;
|
|
}
|
|
|
|
/*csslint outline-none:false*/
|
|
|
|
.pure-button {
|
|
font-family: inherit;
|
|
font-size: 100%;
|
|
padding: 0.5em 1em;
|
|
color: rgba(0, 0, 0, 0.80);
|
|
border: none rgba(0, 0, 0, 0);
|
|
background-color: #E6E6E6;
|
|
text-decoration: none;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.pure-button-hover,
|
|
.pure-button:hover,
|
|
.pure-button:focus {
|
|
background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(40%, rgba(0,0,0, 0.05)), to(rgba(0,0,0, 0.10)));
|
|
background-image: linear-gradient(transparent, rgba(0,0,0, 0.05) 40%, rgba(0,0,0, 0.10));
|
|
}
|
|
.pure-button:focus {
|
|
outline: 0;
|
|
}
|
|
.pure-button-active,
|
|
.pure-button:active {
|
|
-webkit-box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
|
|
box-shadow: 0 0 0 1px rgba(0,0,0, 0.15) inset, 0 0 6px rgba(0,0,0, 0.20) inset;
|
|
border-color: #000;
|
|
}
|
|
|
|
.pure-button[disabled],
|
|
.pure-button-disabled,
|
|
.pure-button-disabled:hover,
|
|
.pure-button-disabled:focus,
|
|
.pure-button-disabled:active {
|
|
border: none;
|
|
background-image: none;
|
|
opacity: 0.40;
|
|
cursor: not-allowed;
|
|
-webkit-box-shadow: none;
|
|
box-shadow: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.pure-button-hidden {
|
|
display: none;
|
|
}
|
|
|
|
.pure-button-primary,
|
|
.pure-button-selected,
|
|
a.pure-button-primary,
|
|
a.pure-button-selected {
|
|
background-color: rgb(0, 120, 231);
|
|
color: #fff;
|
|
}
|
|
|
|
/* Button Groups */
|
|
.pure-button-group .pure-button {
|
|
margin: 0;
|
|
border-radius: 0;
|
|
border-right: 1px solid rgba(0, 0, 0, 0.2);
|
|
|
|
}
|
|
|
|
.pure-button-group .pure-button:first-child {
|
|
border-top-left-radius: 2px;
|
|
border-bottom-left-radius: 2px;
|
|
}
|
|
.pure-button-group .pure-button:last-child {
|
|
border-top-right-radius: 2px;
|
|
border-bottom-right-radius: 2px;
|
|
border-right: none;
|
|
}
|