Source

django-admintools-bootstrap / admintools_bootstrap / static / admintools_bootstrap / lib / style.less

Full commit
@import "bootstrap.less";

@redbor: 1px solid red;

.page-top .pull-right {
	margin-top: -33px;
}

h1, ul, li {
	margin: 0;
}

#changelist-filter {
	float: right;
	max-width: 180px;

	li {
		list-style: none;
		list-style-position: outside;
		padding-left: 8px;
	}

	ul {
		margin-left: -0.5em;
	}

	li.selected {
		border-left: 4px solid gray;
		padding-left: 4px;
	}
}


.content {
	margin-right: 230px;
}


.changelist-actions {
	.changelist-action {
		margin-top: 0.5em;
		margin-bottom: 0.8em;
		label, select, button {
			margin-right: 0.5em;
		}

		label {
			display: inline;
			width: auto;
		}
		.action-wrapper {
			float: left;
		}
		button {
			height: 28px;
			margin-left: 5px;
			min-width: 80px;
			* {
				float: left;	
			}
			float: right;
		}
	}

	.ui-toolbar {
		height: 28px;
	}
	/* clearing bootstrap .actions class */
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	span.clear, span.question, .selection-info {
		display: none;
	}
	.ui-icon {
		float: left;
		margin-right: 5px;
	}
}

.errorlist li {
	list-style: none;
	color: red;
}


.pagination {
	ul {
		margin-left: 1em;
	}
	input {
		margin-left: 1em;
		height: 35px;
		padding-left: 2em;
		padding-right: 2em;
	}
}


.help_text {
	font-size: small;
	color: #999;
	text-transform: lowercase;
	margin-top: 0.1em;
}

.readonly-input {
	margin-top: 0.6em;
}

.empty-form {
	display: none;
}

.dashboard-module {
	li {
		list-style: none;
	}

	h2 {
		font-size: 14pt;
		line-height: 12pt;
	}

	h3 {
		font-size: 12pt;
		line-height: 15pt;

		a {
			margin-left: -15px;
			color: @green !important;
			font-weight: bold !important;
		}
	}
	li {
		a {
			margin-left: 10px;
		}
	}
}


#container {
	padding-top: 50px;
}

td.action-checkbox {
	width: 1.5em;
}

.container-popup {
	min-width: 700px !important; /* replacing bootstrap's value */
	padding-top: 10px !important;
}

#result_list {
	width: 100% !important;
}

.login .hero-unit {
	margin-left: 20%;
	margin-right: 20%;
	margin-top: 80px;
	padding-top: 30px;
	padding-bottom: 10px;

	h1 {
		font-size: 26pt;
		margin-bottom: 20px;
	}
}


.stacked-inline span.delete {
	float: right;

	label {
		width: 50px;
		margin-top: 0px;
		padding-top: 4px;
	}

	input {
		margin-top: 5px;
		float: left;
	}
}


.inline-addlink {
	color: #fff !important;
}

.submenu {
	li a {
		padding-left: 25px !important;
	}
}

.results {
	th div {
		float: left;
	}
	.sortoptions {
		a { float: left; }
		margin-left: 1em;
	}
}

.secondary-nav {
	li a.top-icon {
		padding-right: 0;
		margin-right: 0;
	}
}

.nav, .secondary-nav {
	.ui-icon {
		float: left;
		margin: 0 8px 0 0px;
		width: 16px; height: 16px; background-image: url(icons/ui-icons_ffffff_256x240.png); 
	}
}


#menu_search {
	@menu_search_width: 190px;
	position: absolute;
	z-index: 900;
	border: 1px solid @gray;
	background-color: @grayLighter;
	padding: 10px;
	left: -@menu_search_width + 10px;
	width: @menu_search_width;
	top: 40px;
	.border-radius(0 0 6px 6px);
	.box-shadow(0 2px 4px rgba(0,0,0,.2));
	.background-clip(padding-box);
	display: none;

	ul {
		width: 100%;
		margin-top: 0.5em;
		li {
			list-style: none;
			float: none;
			padding: 0px;
			a {
				text-shadow: none;
				padding: 0.2em 0.5em;
				color: @gray;
				&:hover,&:focus {
					color: @grayLighter;
					span.highlight {
						color: @grayLighter;
						font-weight: bold;
					}
					background-color: @gray;
				}

				span.highlight {
					color: @grayDark;
					font-weight: bold;
				}
			}
		}
	}

	input {
		width: @menu_search_width - 10;
		background-color: @white;
		color: @black !important;
		// Placeholder text gets special styles; can't be bundled together though for some reason
		&:-moz-placeholder {
		  color: @gray;
		}
		&::-webkit-input-placeholder {
		  color: @gray;
		}
		// Hover states
		&:hover {
		  background-color: @grayLight;
		  background-color: rgba(255,255,255,.5);
		  color: @white;
		}
		// Focus states (we use .focused since IE8 and down doesn't support :focus)
		&:focus,
		&.focused {
		  background-color: @white;
		  color: @grayDark;
		  text-shadow: 0 1px 0 @white;
		  border: 0;
		  padding: 4px 9px;
		  .box-shadow(0 0 3px rgba(0,0,0,.15));
		}
	}

}

.module {
	textarea {
		width: 90%;
		height: 5em;
	}
} 

.action-wrapper .chzn-search { display: none; }

fieldset {
	&.collapsed * + * {
		display: none;
	}
	h2 { 
		border-bottom: 1px solid @grayLight; 
		margin-bottom: 0.5em;
	}
}