Sha256: 4b987526104d86c3b4cbcb6cbd555d937bb70d1cfdbd1dc4b44331ac1c08e02c

Contents?: true

Size: 1.95 KB

Versions: 3

Compression:

Stored size: 1.95 KB

Contents

/**
 * @copyright	Copyright 2010-2013, The Titon Project
 * @license		http://opensource.org/licenses/bsd-license.php
 * @link		http://titon.io
 */

@import "../common";

// Use border-box for everything
*, *:after, *:before { @include box-sizing(border-box); }

// Alignment
.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }
.align-justify { text-align: justify; }

.float-left { float: left; }
.float-right { float: right; }
.float-none { float: none; }

// Animations
.show { opacity: 1 !important; visibility: visible !important; }
.hide { visibility: hidden !important; }

// Display
.shown { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.hidden { display: none; }

// Positioning
.relative { position: relative; }
.absolute { position: absolute; }
.static { position: static; }

// Layout
.clear { clear: both; display: block; margin: 0; padding: 0; }
.clear-fix { @include clear-fix; }

// Styles
.round { border-radius: $round; }
.is-draggable { cursor: move; }
.is-disabled,
button[disabled] { cursor: not-allowed !important; pointer-events: none; }

// Carets
.caret-up,
.caret-down,
.caret-left,
.caret-right {
	@include reset-inline-block;
	border: 5px solid transparent;
	content: "";
	height: 0;
	width: 0;
}

.caret-up { border-bottom-color: $foreground-color; }
.caret-down { border-top-color: $foreground-color; }
.caret-left { border-right-color: $foreground-color; }
.caret-right { border-left-color: $foreground-color; }

// Close
.x {
	@include reset-inline-block;
	color: $foreground-color;
	font: bold 1.5rem/100% Arial, sans-serif;
	text-transform: uppercase;
}

.close {
	@include reset-inline-block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background: white(.5);
	border-radius: 2px;
	cursor: pointer;

	.x {
		color: black(.5);
		position: relative;
		top: -1px;
	}

	&:hover {
		background: white(.8);

		.x { color: black(.75); }
	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
titon-toolkit-0.9.4 src/scss/toolkit/layout/base.scss
titon-toolkit-0.9.3 src/scss/toolkit/layout/base.scss
titon-toolkit-0.9.2 src/scss/toolkit/layout/base.scss