button.css
Same filename in this branch
- 9 core/profiles/demo_umami/themes/umami/css/classy/components/button.css
- 9 core/themes/olivero/css/components/button.css
- 9 core/themes/seven/css/classy/components/button.css
- 9 core/themes/claro/css/components/button.css
- 9 core/themes/bartik/css/classy/components/button.css
- 9 core/themes/starterkit_theme/css/components/button.css
- 9 core/themes/classy/css/components/button.css
Same filename in other branches
- 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/button.css
- 8.9.x core/themes/seven/css/classy/components/button.css
- 8.9.x core/themes/claro/css/components/button.css
- 8.9.x core/themes/bartik/css/classy/components/button.css
- 8.9.x core/themes/classy/css/components/button.css
- 8.9.x core/assets/vendor/jquery.ui/themes/base/button.css
- 10 core/profiles/demo_umami/themes/umami/css/classy/components/button.css
- 10 core/misc/dialog/off-canvas/css/button.css
- 10 core/themes/olivero/css/components/button.css
- 10 core/themes/claro/css/components/button.css
- 10 core/themes/starterkit_theme/css/components/button.css
- 10 core/assets/vendor/jquery.ui/themes/base/button.css
- 11.x core/profiles/demo_umami/themes/umami/css/classy/components/button.css
- 11.x core/misc/dialog/off-canvas/css/button.css
- 11.x core/themes/olivero/css/components/button.css
- 11.x core/themes/claro/css/components/button.css
- 11.x core/themes/starterkit_theme/css/components/button.css
- 11.x core/assets/vendor/jquery.ui/themes/base/button.css
/*! * jQuery UI Button 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/button/#theming */ .ui-button { padding: .4em 1em; display: inline-block; position: relative; line-height: normal; margin-right: .1em; cursor: pointer; vertical-align: middle; text-align: center; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; /* Support: IE <= 11 */ overflow: visible; } .ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active { text-decoration: none; } /* to make room for the icon, a width needs to be set here */ .ui-button-icon-only { width: 2em; box-sizing: border-box; text-indent: -9999px; white-space: nowrap; } /* no icon support for input elements */ input.ui-button.ui-button-icon-only { text-indent: 0; } /* button icon element(s) */ .ui-button-icon-only .ui-icon { position: absolute; top: 50%; left: 50%; margin-top: -8px; margin-left: -8px; } .ui-button.ui-icon-notext .ui-icon { padding: 0; width: 2.1em; height: 2.1em; text-indent: -9999px; white-space: nowrap; } input.ui-button.ui-icon-notext .ui-icon { width: auto; height: auto; text-indent: 0; white-space: normal; padding: .4em 1em; } /* workarounds */ /* Support: Firefox 5 - 40 */ input.ui-button::-moz-focus-inner, button.ui-button::-moz-focus-inner { border: 0; padding: 0; }
File
-
core/
assets/ vendor/ jquery.ui/ themes/ base/ button.css
View source
- /*!
- * jQuery UI Button 1.13.2
- * http://jqueryui.com
- *
- * Copyright jQuery Foundation and other contributors
- * Released under the MIT license.
- * http://jquery.org/license
- *
- * http://api.jqueryui.com/button/#theming
- */
- .ui-button {
- padding: .4em 1em;
- display: inline-block;
- position: relative;
- line-height: normal;
- margin-right: .1em;
- cursor: pointer;
- vertical-align: middle;
- text-align: center;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-
- /* Support: IE <= 11 */
- overflow: visible;
- }
-
- .ui-button,
- .ui-button:link,
- .ui-button:visited,
- .ui-button:hover,
- .ui-button:active {
- text-decoration: none;
- }
-
- /* to make room for the icon, a width needs to be set here */
- .ui-button-icon-only {
- width: 2em;
- box-sizing: border-box;
- text-indent: -9999px;
- white-space: nowrap;
- }
-
- /* no icon support for input elements */
- input.ui-button.ui-button-icon-only {
- text-indent: 0;
- }
-
- /* button icon element(s) */
- .ui-button-icon-only .ui-icon {
- position: absolute;
- top: 50%;
- left: 50%;
- margin-top: -8px;
- margin-left: -8px;
- }
-
- .ui-button.ui-icon-notext .ui-icon {
- padding: 0;
- width: 2.1em;
- height: 2.1em;
- text-indent: -9999px;
- white-space: nowrap;
-
- }
-
- input.ui-button.ui-icon-notext .ui-icon {
- width: auto;
- height: auto;
- text-indent: 0;
- white-space: normal;
- padding: .4em 1em;
- }
-
- /* workarounds */
- /* Support: Firefox 5 - 40 */
- input.ui-button::-moz-focus-inner,
- button.ui-button::-moz-focus-inner {
- border: 0;
- padding: 0;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.