-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BS3[TbActiveForm, input, date picker, date rage picker, and time picker]
- Loading branch information
Showing
53 changed files
with
5,909 additions
and
1,313 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
214
src/assets/bootstrap-colorpicker/css/bootstrap-colorpicker.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
9 changes: 9 additions & 0 deletions
9
src/assets/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+3.55 KB
src/assets/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png
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.
Binary file added
BIN
+2.77 KB
src/assets/bootstrap-colorpicker/img/bootstrap-colorpicker/hue-horizontal.png
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.
Binary file added
BIN
+8.61 KB
src/assets/bootstrap-colorpicker/img/bootstrap-colorpicker/saturation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.