Skip to content

Commit

Permalink
BS3[TbActiveForm, input, date picker, date rage picker, and time picker]
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbedair committed May 9, 2014
1 parent d1d4abc commit 1363eec
Show file tree
Hide file tree
Showing 53 changed files with 5,909 additions and 1,313 deletions.
13 changes: 13 additions & 0 deletions src/assets/bootstrap-colorpicker/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2012 Stefan Petre

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
19 changes: 19 additions & 0 deletions src/assets/bootstrap-colorpicker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Bootstrap Colorpicker 2.0

[![Build Status](https://travis-ci.org/mjolnic/bootstrap-colorpicker.png)](https://travis-ci.org/mjolnic/bootstrap-colorpicker)

Originally written by [Stefan Petre](http://www.eyecon.ro/)

Read the documentation [here](http://mjolnic.github.io/bootstrap-colorpicker/)

## Contributing

* All the sources are compiled using Grunt, please do not modify dist files directly
* If you modify some source code, please recompile the project dist files
* Check that the index.html demos aren't broken (modify if necessary)
* Test your code at least in Chrome, Firefox and IE >= 9

Thanks =)

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/mjolnic/bootstrap-colorpicker/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

214 changes: 214 additions & 0 deletions src/assets/bootstrap-colorpicker/css/bootstrap-colorpicker.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,214 @@
/*!
* Bootstrap Colorpicker
* http://mjolnic.github.io/bootstrap-colorpicker/
*
* Originally written by (c) 2012 Stefan Petre
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
*/

.colorpicker-saturation {
float: left;
width: 100px;
height: 100px;
cursor: crosshair;
background-image: url("../img/bootstrap-colorpicker/saturation.png");
}

.colorpicker-saturation i {
position: absolute;
top: 0;
left: 0;
display: block;
width: 5px;
height: 5px;
margin: -4px 0 0 -4px;
border: 1px solid #000;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.colorpicker-saturation i b {
display: block;
width: 5px;
height: 5px;
border: 1px solid #fff;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}

.colorpicker-hue,
.colorpicker-alpha {
float: left;
width: 15px;
height: 100px;
margin-bottom: 4px;
margin-left: 4px;
cursor: row-resize;
}

.colorpicker-hue i,
.colorpicker-alpha i {
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 1px;
margin-top: -1px;
background: #000;
border-top: 1px solid #fff;
}

.colorpicker-hue {
background-image: url("../img/bootstrap-colorpicker/hue.png");
}

.colorpicker-alpha {
display: none;
background-image: url("../img/bootstrap-colorpicker/alpha.png");
}

.colorpicker {
top: 0;
left: 0;
z-index: 2500;
min-width: 130px;
padding: 4px;
margin-top: 1px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
*zoom: 1;
}

.colorpicker:before,
.colorpicker:after {
display: table;
line-height: 0;
content: "";
}

.colorpicker:after {
clear: both;
}

.colorpicker:before {
position: absolute;
top: -7px;
left: 6px;
display: inline-block;
border-right: 7px solid transparent;
border-bottom: 7px solid #ccc;
border-left: 7px solid transparent;
border-bottom-color: rgba(0, 0, 0, 0.2);
content: '';
}

.colorpicker:after {
position: absolute;
top: -6px;
left: 7px;
display: inline-block;
border-right: 6px solid transparent;
border-bottom: 6px solid #ffffff;
border-left: 6px solid transparent;
content: '';
}

.colorpicker div {
position: relative;
}

.colorpicker.colorpicker-with-alpha {
min-width: 140px;
}

.colorpicker.colorpicker-with-alpha .colorpicker-alpha {
display: block;
}

.colorpicker-color {
height: 10px;
margin-top: 5px;
clear: both;
background-image: url("../img/bootstrap-colorpicker/alpha.png");
background-position: 0 100%;
}

.colorpicker-color div {
height: 10px;
}

.colorpicker-element .input-group-addon i {
display: block;
width: 16px;
height: 16px;
cursor: pointer;
}

.colorpicker.colorpicker-inline {
position: relative;
display: inline-block;
float: none;
}

.colorpicker.colorpicker-horizontal {
width: 110px;
height: auto;
min-width: 110px;
}

.colorpicker.colorpicker-horizontal .colorpicker-saturation {
margin-bottom: 4px;
}

.colorpicker.colorpicker-horizontal .colorpicker-color {
width: 100px;
}

.colorpicker.colorpicker-horizontal .colorpicker-hue,
.colorpicker.colorpicker-horizontal .colorpicker-alpha {
float: left;
width: 100px;
height: 15px;
margin-bottom: 4px;
margin-left: 0;
cursor: col-resize;
}

.colorpicker.colorpicker-horizontal .colorpicker-hue i,
.colorpicker.colorpicker-horizontal .colorpicker-alpha i {
position: absolute;
top: 0;
left: 0;
display: block;
width: 1px;
height: 15px;
margin-top: 0;
background: #ffffff;
border: none;
}

.colorpicker.colorpicker-horizontal .colorpicker-hue {
background-image: url("../img/bootstrap-colorpicker/hue-horizontal.png");
}

.colorpicker.colorpicker-horizontal .colorpicker-alpha {
background-image: url("../img/bootstrap-colorpicker/alpha-horizontal.png");
}

.colorpicker.colorpicker-hidden {
display: none;
}

.colorpicker.colorpicker-visible {
display: block;
}

.colorpicker-inline.colorpicker-visible {
display: inline-block;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1363eec

Please sign in to comment.