Sha256: 44a1cf7a6492e02465c2ee37d4309934324a1c3d6d47c0f2999bf22bdb1b7e10

Contents?: true

Size: 1.72 KB

Versions: 8

Compression:

Stored size: 1.72 KB

Contents

///
/// Solid State 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');
		background-color: transparent;
		border-radius: _size(border-radius);
		border: 0;
		box-shadow: inset 0 0 0 2px _palette(border);
		color: _palette(fg-bold) !important;
		cursor: pointer;
		display: inline-block;
		font-family: _font(family-heading);
		font-size: 0.8em;
		font-weight: _font(weight-heading-bold);
		height: 3.75em;
		letter-spacing: _font(kern-heading);
		line-height: 3.75em;
		padding: 0 2.25em;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		white-space: nowrap;

		&:hover {
			background-color: _palette(border-bg);
		}

		&:active {
			background-color: _palette(border2-bg);
		}

		&.icon {
			&:before {
				margin-right: 0.5em;
				color: _palette(fg-light);
			}
		}

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

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

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

			&.icon {
				&:before {
					color: mix(_palette(fg-bold), _palette(accent), 25%);
				}
			}
		}

		&.fit {
			width: 100%;
		}

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

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

		&.disabled,
		&:disabled {
			opacity: 0.25;
		}

		@include breakpoint('<=xsmall') {
			padding: 0;
		}
	}

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
jekyll-theme-mrwooo-solid-state-0.2.003 _sass/components/_button.scss
jekyll-theme-mrwooo-solid-state-0.2.003 assets/sass/components/_button.scss
jekyll-theme-mrwooo-solid-state-0.2.002 _sass/components/_button.scss
jekyll-theme-mrwooo-solid-state-0.2.002 assets/sass/components/_button.scss
jekyll-theme-mrwooo-solid-state-0.2.001 _sass/components/_button.scss
jekyll-theme-mrwooo-solid-state-0.2.001 assets/sass/components/_button.scss
jekyll-theme-mrwooo-solid-state-0.2.0 _sass/components/_button.scss
jekyll-theme-mrwooo-solid-state-0.2.0 assets/sass/components/_button.scss