Sha256: ca4f5db481911f2dcca0a24107f58e244c9658d4fc977afb50b7ea90221d4489

Contents?: true

Size: 1.72 KB

Versions: 41

Compression:

Stored size: 1.72 KB

Contents

///
/// Editorial by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///

/* Button */

	input[type="submit"],
	input[type="reset"],
	input[type="button"],
	button,
	.button {
		@include vendor('appearance', 'none');
		@include vendor('transition', (
			'background-color #{_duration(transition)} ease-in-out',
			'color #{_duration(transition)} ease-in-out'
		));
		background-color: transparent;
		border-radius: _size(border-radius);
		border: 0;
		box-shadow: inset 0 0 0 2px _palette(accent);
		color: _palette(accent) !important;
		cursor: pointer;
		display: inline-block;
		font-family: _font(family-heading);
		font-size: 0.8em;
		font-weight: _font(weight-heading);
		height: 3.5em;
		letter-spacing: _font(kerning-heading);
		line-height: 3.5em;
		padding: 0 2.25em;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		white-space: nowrap;

		&:hover {
			background-color: transparentize(_palette(accent), 0.95);
		}

		&:active {
			background-color: transparentize(_palette(accent), 0.85);
		}

		&.icon {
			&:before {
				margin-right: 0.5em;
			}
		}

		&.fit {
			width: 100%;
		}

		&.small {
			font-size: 0.6em;
		}

		&.large {
			font-size: 1em;
			height: 3.65em;
			line-height: 3.65em;
		}

		&.primary {
			background-color: _palette(accent);
			box-shadow: none;
			color: _palette(bg) !important;

			&:hover {
				background-color: lighten(_palette(accent), 3);
			}

			&:active {
				background-color: darken(_palette(accent), 3);
			}
		}

		&.disabled,
		&:disabled {
			@include vendor('pointer-events', 'none');
			opacity: 0.25;
		}
	}

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
jekyll-theme-html5up-editorial-0.1.1 _sass/components/_button.scss
jekyll-theme-html5up-editorial-0.1.0 _sass/components/_button.scss
jekyll-theme-consulting-0.7.2 _sass/components/_button.scss
jekyll-theme-consulting-0.7.1 _sass/components/_button.scss
jekyll-theme-consulting-0.7.0 _sass/components/_button.scss
jekyll-theme-consulting-0.6.12 _sass/components/_button.scss
jekyll-theme-consulting-0.6.11 _sass/components/_button.scss
jekyll-theme-consulting-0.6.10 _sass/components/_button.scss
jekyll-theme-consulting-0.6.9 _sass/components/_button.scss
jekyll-theme-consulting-0.6.8 _sass/components/_button.scss
jekyll-theme-consulting-0.6.7 _sass/components/_button.scss
jekyll-theme-consulting-0.6.6 _sass/components/_button.scss
jekyll-theme-consulting-0.6.5 _sass/components/_button.scss
jekyll-theme-consulting-0.6.4 _sass/components/_button.scss
jekyll-theme-consulting-0.6.3 _sass/components/_button.scss
jekyll-theme-consulting-0.6.2 _sass/components/_button.scss
jekyll-theme-consulting-0.6.1 _sass/components/_button.scss
jekyll-theme-consulting-0.6.0 _sass/components/_button.scss
jekyll-theme-consulting-0.5.0 _sass/components/_button.scss
jekyll-theme-consulting-0.4.6 _sass/components/_button.scss