Sha256: d1b419bbf6baee966b8c6211c8967e923a8273fa9a60c9f601e08eb19d609c31

Contents?: true

Size: 1.78 KB

Versions: 17

Compression:

Stored size: 1.78 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 {
			display: block;
			margin: 0 0 (_size(element-margin) * 0.5) 0;
			width: 100%;
		}

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

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

		&.special {
			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

17 entries across 17 versions & 1 rubygems

Version Path
jekyll-theme-consulting-0.1.17 _sass/components/_button.scss
jekyll-theme-consulting-0.1.16 _sass/components/_button.scss
jekyll-theme-consulting-0.1.15 _sass/components/_button.scss
jekyll-theme-consulting-0.1.14 _sass/components/_button.scss
jekyll-theme-consulting-0.1.13 _sass/components/_button.scss
jekyll-theme-consulting-0.1.12 _sass/components/_button.scss
jekyll-theme-consulting-0.1.11 _sass/components/_button.scss
jekyll-theme-consulting-0.1.10 _sass/components/_button.scss
jekyll-theme-consulting-0.1.9 _sass/components/_button.scss
jekyll-theme-consulting-0.1.8 _sass/components/_button.scss
jekyll-theme-consulting-0.1.7 _sass/components/_button.scss
jekyll-theme-consulting-0.1.6 _sass/components/_button.scss
jekyll-theme-consulting-0.1.5 _sass/components/_button.scss
jekyll-theme-consulting-0.1.4 _sass/components/_button.scss
jekyll-theme-consulting-0.1.3 _sass/components/_button.scss
jekyll-theme-consulting-0.1.2 _sass/components/_button.scss
jekyll-theme-consulting-0.1.1 _sass/components/_button.scss