Sha256: 630dee873c9d3fc7c410e202ce42696029e8e82389ccff531f9d79843df749f5

Contents?: true

Size: 1.97 KB

Versions: 14

Compression:

Stored size: 1.97 KB

Contents

/*!
 * Datepicker for Bootstrap
 *
 * Copyright 2012 Stefan Petre
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 */
 
.datepicker {
	top: 0;
	left: 0;
	padding: 4px;
	margin-top: 1px;
	.border-radius(4px);
	&:before {
		content: '';
		display: inline-block;
		border-left:   7px solid transparent;
		border-right:  7px solid transparent;
		border-bottom: 7px solid #ccc;
		border-bottom-color: rgba(0,0,0,.2);
		position: absolute;
		top: -7px;
		left: 6px;
	}
	&:after {
		content: '';
		display: inline-block;
		border-left:   6px solid transparent;
		border-right:  6px solid transparent;
		border-bottom: 6px solid @white;
		position: absolute;
		top: -6px;
		left: 7px;
	}
	>div {
		display: none;
	}
	table{
		width: 100%;
		margin: 0;
	}
	td,
	th{
		text-align: center;
		width: 20px;
		height: 20px;
		.border-radius(4px);
	}
	td {
		&.day:hover {
			background: @grayLighter;
			cursor: pointer;
		}
		&.day.disabled {
			color: @grayLighter;
		}
		&.old,
		&.new {
			color: @grayLight;
		}
		&.active,
		&.active:hover {
			.buttonBackground(@btnPrimaryBackground, spin(@btnPrimaryBackground, 20));
			color: #fff;
			text-shadow: 0 -1px 0 rgba(0,0,0,.25);
		}
		span {
			display: block;
			width: 47px;
			height: 54px;
			line-height: 54px;
			float: left;
			margin: 2px;
			cursor: pointer;
			.border-radius(4px);
			&:hover {
				background: @grayLighter;
			}
			&.active {
				.buttonBackground(@btnPrimaryBackground, spin(@btnPrimaryBackground, 20));
				color: #fff;
				text-shadow: 0 -1px 0 rgba(0,0,0,.25);
			}
			&.old {
				color: @grayLight;
			}
		}
	}
	
	th {
		&.switch {
			width: 145px;
		}
		&.next,
		&.prev {
			font-size: @baseFontSize * 1.5;
		}
	}
	
	thead tr:first-child th {
		cursor: pointer;
		&:hover{
			background: @grayLighter;
		}
	}
	/*.dow {
		border-top: 1px solid #ddd !important;
	}*/
}
.input-append,
.input-prepend {
	&.date {
		.add-on i {
			display: block;
			cursor: pointer;
			width: 16px;
			height: 16px;
		}
	}
}

Version data entries

14 entries across 13 versions & 2 rubygems

Version Path
j1-template-2020.0.21 assets/themes/j1/modules/bsDatepicker/less/datepicker.less
j1-template-2020.0.20 assets/themes/j1/modules/bsDatepicker/less/datepicker.less
j1-template-2020.0.19 assets/themes/j1/modules/bsDatepicker/less/datepicker.less
j1-template-2020.0.18 assets/themes/j1/modules/bsDatepicker/less/datepicker.less
j1-template-2020.0.17 assets/themes/j1/modules/bsDatepicker/less/datepicker.less
j1-template-2020.0.16 assets/themes/j1/modules/bsDatepicker/less/datepicker.less
j1-template-2020.0.15 assets/themes/j1/modules/bsDatepicker/less/datepicker.less
j1-template-2020.0.14 assets/themes/j1/modules/bsDatepicker/less/datepicker.less
j1-template-2020.0.13 assets/themes/j1/extensions/bsDatepicker/less/datepicker.less
j1-template-2020.0.12 assets/themes/j1/extensions/bsDatepicker/less/datepicker.less
repsheet_visualizer-1.1.0 lib/repsheet_visualizer/application/public/js/plugins/datepicker/less/datepicker.less
repsheet_visualizer-1.0.0 redesign/js/plugins/datepicker/less/datepicker.less
repsheet_visualizer-1.0.0 lib/repsheet_visualizer/application/public/js/plugins/datepicker/less/datepicker.less
repsheet_visualizer-0.2.2 redesign/js/plugins/datepicker/less/datepicker.less