Compare commits

...

707 Commits

Author SHA1 Message Date
Abdullah Almsaeed
37c8bbb019 Bump version up 2017-03-04 12:23:16 -05:00
Abdullah Almsaeed
890ccbdb09 Remove not needed comments 2017-03-04 12:20:23 -05:00
Abdullah Almsaeed
30324f4f33 Fix direct chat toggle trigger 2017-03-04 12:19:22 -05:00
Abdullah Almsaeed
324bca9f14 Activate bootstrap tooltips 2017-03-04 12:19:00 -05:00
Abdullah Almsaeed
2c372a2ce2 Create direct chat plugin 2017-03-04 12:13:04 -05:00
Abdullah Almsaeed
b04a99466d Add deprectated notice 2017-03-04 12:12:42 -05:00
Abdullah Almsaeed
201d482066 Update readme 2017-03-04 12:11:59 -05:00
Abdullah Almsaeed
024e3faa9d Update readme 2017-02-26 16:13:34 -05:00
Abdullah Almsaeed
436513ac24 Update readme 2017-02-26 16:12:36 -05:00
Abdullah Almsaeed
d2d63c857a Update readme 2017-02-26 16:09:42 -05:00
Abdullah Almsaeed
57c62f4222 Make JSHint happy 2017-02-26 16:05:36 -05:00
Abdullah Almsaeed
af4ece9a80 Update version 2017-02-26 16:04:47 -05:00
Abdullah Almsaeed
3f5abdbfca Make documentation compatible with the new js 2017-02-26 16:04:01 -05:00
Abdullah Almsaeed
383d685a5f Make pages compatible with the new js 2017-02-26 16:02:25 -05:00
Abdullah Almsaeed
075fe294ed Update todo list plugin usage example 2017-02-25 14:54:11 -05:00
Abdullah Almsaeed
9f870d0fad Add lint tasks and update less and js tasks 2017-02-25 14:53:27 -05:00
Abdullah Almsaeed
3c672fe9aa Seperate treeview plugin and fix control sidebar for the fixed layout 2017-02-25 14:52:04 -05:00
Abdullah Almsaeed
a7d49bd656 Make JSHint ignore app.js 2017-02-25 14:50:35 -05:00
Abdullah Almsaeed
f02c61eb0e Fix issue #1330 and update border colors 2017-02-25 14:47:24 -05:00
Abdullah Almsaeed
469e9cd136 Update data selector to match the name of the plugin 2017-02-25 14:46:01 -05:00
Abdullah Almsaeed
84ca9cdc24 Make listeners specific to the element 2017-02-25 14:45:03 -05:00
Abdullah Almsaeed
01b4740d93 Add more options and allow methods to get executed from outside the plugin 2017-02-25 14:43:23 -05:00
Abdullah Almsaeed
17c9366f4b Compile LESS 2017-02-25 14:40:16 -05:00
Abdullah Almsaeed
7cecd1922d Add compiled JS plugins 2017-02-25 14:39:54 -05:00
Abdullah Almsaeed
d10ba04ec9 Add TodoList plugin 2017-02-25 14:38:26 -05:00
Abdullah Almsaeed
51142e7fc9 Add BoxRefresh plugin 2017-02-25 14:38:05 -05:00
Abdullah Almsaeed
28c75ef8a0 Add BoxWidget plugin 2017-02-25 14:37:38 -05:00
Abdullah Almsaeed
cdc2e7e3d0 Create control sidebar functionality 2017-02-19 18:20:47 -05:00
Abdullah Almsaeed
b5e67488e7 Create JSHINT rules for Gruntfile 2017-02-19 10:44:41 -05:00
Abdullah Almsaeed
178adf5dc0 Create PushMenu widget 2017-02-19 10:43:39 -05:00
Abdullah Almsaeed
6683ab7303 Create Layout widget 2017-02-19 10:43:19 -05:00
Abdullah Almsaeed
7aa9f44d66 Create treeview css 2017-02-19 10:43:01 -05:00
Abdullah Almsaeed
bfbccf9bf7 Create Tree widget 2017-02-19 10:42:30 -05:00
Abdullah Almsaeed
aa945e6e6f Update jquery to 3.1 2017-02-13 08:42:03 -05:00
Abdullah Almsaeed
d73be88861 Add JSCS and JSHINT rules 2017-02-13 08:41:47 -05:00
Abdullah Almsaeed
f46e5198b7 Make JSCS and JSHINT happy 2017-02-13 08:40:59 -05:00
Abdullah Almsaeed
be0a0b17b0 Comply with jscs andjshint 2017-02-12 19:15:52 -05:00
Abdullah Almsaeed
fcc14dcff7 Merge pull request #1328 from Skasi/master
Fix typos
2017-01-17 06:32:41 -08:00
Skasi
bd3799eb7c Fix typos 2017-01-17 15:28:35 +01:00
Abdullah Almsaeed
082ffa3d41 Merge pull request #1326 from Skasi/patch-1
Fix typo
2017-01-17 05:33:46 -08:00
Skasi
09c91313a0 Fix typo 2017-01-17 13:43:43 +01:00
Abdullah Almsaeed
1273f93e67 Update version number 2017-01-12 08:31:10 -08:00
Abdullah Almsaeed
74c27f7f11 Update README.md 2017-01-11 22:32:33 -08:00
Abdullah Almsaeed
501448ad6f Merge pull request #1311 from yajra/bump-npm-version
Bump npm version to v2.3.11.
2017-01-11 09:16:46 -05:00
Abdullah Almsaeed
cdcf40edc0 Update version 2017-01-11 09:14:59 -05:00
Arjay Angeles
8747e8be04 Bump npm version to v2.3.11. 2017-01-11 15:39:58 +08:00
Abdullah Almsaeed
2be703222a Update colors @gray color to @gray-lte 2017-01-08 16:03:57 -05:00
Abdullah Almsaeed
95d377eabc Fix default box solid color issue 2017-01-08 15:57:03 -05:00
Abdullah Almsaeed
194f92be3a Remove test from starter page 2017-01-08 15:43:46 -05:00
Abdullah Almsaeed
0c4ca8c4db Merge branch 'PeterDaveHelloKitchen-image-optimize' 2017-01-08 15:42:44 -05:00
Abdullah Almsaeed
2f3d9ca953 Merge PR #1108 to optimize images 2017-01-08 15:42:30 -05:00
Abdullah Almsaeed
02efe00fc9 Fix #1256 2017-01-08 15:37:30 -05:00
Abdullah Almsaeed
4758ab5216 Fix #1269 2017-01-08 15:32:52 -05:00
Abdullah Almsaeed
b621ed77f2 Fix #1276 2017-01-08 15:23:14 -05:00
Abdullah Almsaeed
76e1d899d5 Fix #1296 2017-01-08 15:07:55 -05:00
Abdullah Almsaeed
b016468ab2 Fix #1300 2017-01-08 15:03:40 -05:00
Abdullah Almsaeed
a527b7fe99 Allow for adminlte without plugin override 2017-01-08 12:40:55 -05:00
Abdullah Almsaeed
8410b2fdc1 Merge pull request #1101 from almasaeed2010/issue-668
Split CSS files
2017-01-08 12:39:05 -05:00
Abdullah Almsaeed
e73de15f31 Causes bootstrap slider to disappear
Revert "Merge pull request #1186 from manhhailua/patch-1"

This reverts commit 96174a1ada, reversing
changes made to 1817e83917.
2017-01-08 12:01:36 -05:00
Abdullah Almsaeed
96174a1ada Merge pull request #1186 from manhhailua/patch-1
sliders bug fixes
2017-01-08 11:58:49 -05:00
Abdullah Almsaeed
1817e83917 Merge pull request #1205 from tyrollins/master
Remove unnecessary coma
2017-01-08 11:43:38 -05:00
Abdullah Almsaeed
fff97052cc Merge pull request #1211 from cquanu/master
Update BS to v3.3.7
2017-01-08 11:38:15 -05:00
Abdullah Almsaeed
7ec1e072d9 Merge pull request #1224 from kennynaoh/master
Add CDNJS version badge in readme
2017-01-08 11:33:59 -05:00
Abdullah Almsaeed
3d4acd72d9 Fix typo 2017-01-08 11:27:44 -05:00
Abdullah Almsaeed
bb61097fea Merge pull request #1239 from zzzeep/master
Removed redundant punctuation ":"
2017-01-08 11:27:26 -05:00
Abdullah Almsaeed
5ecdce9813 Fix typo 2017-01-08 11:26:47 -05:00
Abdullah Almsaeed
508e4f0815 Merge pull request #1242 from gauravmak/patch-1
Wrong Spell
2017-01-08 11:25:24 -05:00
Abdullah Almsaeed
70b95bbf6f Merge pull request #1264 from Strato/patch-1
Fixed a typo
2017-01-08 11:24:31 -05:00
Abdullah Almsaeed
dc83709196 Merge pull request #1286 from marcusportmann/master
Fixed jumping buttons with Bootstrap tooltip
2017-01-08 11:18:20 -05:00
Abdullah Almsaeed
09651c1d0c Merge branch 'master' of https://github.com/almasaeed2010/AdminLTE 2017-01-08 11:13:22 -05:00
Abdullah Almsaeed
eec8a98901 add laravel implementation PR #1301 2017-01-08 11:13:16 -05:00
Abdullah Almsaeed
e736df9f64 Merge pull request #1268 from eryshev/master
Add option to control sidemenu's tree views.
2017-01-06 11:01:55 -05:00
Abdullah Almsaeed
12ea7168fb Happy New Years! 🎉 2017-01-01 10:23:43 -05:00
Marcus Portmann
90e62c2af0 Fixed jumping buttons with Bootstrap tooltip 2016-12-21 21:11:49 +02:00
Abdullah Almsaeed
e499f26f76 Run LESS 2016-12-11 16:04:13 -05:00
Abdullah Almsaeed
53b904d946 Remove font antialiasing 2016-12-11 16:00:04 -05:00
Alexey ERYSHEV
7ec587b75b Add option to control sidemenu's tree views. 2016-12-05 13:17:36 +01:00
François Guillot
0159d06b24 Fixed a typo
It works because it's an alias. But it might be removed without warning.

While I'm here, being able to deactivate the treeview on the sidebar would be super nice, or have it as an _opt-in_ using a CSS class like *sidebar-as-tree*.
2016-12-02 14:48:17 +01:00
Gaurav Makhecha
51bf7c4a80 Wrong Spell 2016-11-07 17:11:44 +05:30
Abdullah Almsaeed
6e2f5b0708 Fix issue #1191 2016-11-06 13:19:15 -05:00
Abdullah Almsaeed
8a7b80c64c Add yarn lock file 2016-11-06 13:18:50 -05:00
Abdullah Almsaeed
ced14b133d Update version number 2016-11-04 10:42:55 -04:00
Abdullah Almsaeed
1fe157ae77 Update Bootstrap to 3.3.7 2016-11-04 10:41:51 -04:00
Abdullah Almsaeed
3cbb6273e0 Fix sidebar angle icon issue #1237 2016-11-04 10:36:03 -04:00
zzzeep
7e011ed4b5 Removed redundant punctuation ":" 2016-11-04 20:31:07 +08:00
Abdullah Almsaeed
e3d93f7e1d Update version 2016-10-19 12:31:38 -04:00
Abdullah Almsaeed
797b65b3ca Compile less and minify js 2016-10-19 11:34:25 -04:00
Abdullah Almsaeed
5b14053e35 Update version number 2016-10-19 11:30:41 -04:00
naoh
4de79841b4 Add CDNJS version badge in readme
This will add the badge to show its version on CDNJS and also link to its page on CDNJS!
2016-10-18 17:46:38 +08:00
Quan You
8d21b84474 Update BS to v3.3.7 2016-10-06 17:40:19 +08:00
Tyler Rollins
7561213185 remove unnecessary coma 2016-10-02 18:52:12 -07:00
Abdullah Almsaeed
1a89a2feab Merge pull request #1160 from antoniocambados/antoniocambados-patch-1158
Update sidebar.less
2016-09-12 16:23:06 -04:00
Abdullah Almsaeed
060f79063e Merge branch 'rickysang-master' 2016-09-12 16:22:01 -04:00
Abdullah Almsaeed
159887612e merge pull request #1165 2016-09-12 16:21:52 -04:00
Abdullah Almsaeed
e207c9c0c8 Merge pull request #1166 from liamgall/master
Fix link to dashboard in widgets page
2016-09-12 16:18:09 -04:00
Abdullah Almsaeed
be18803032 Merge pull request #1178 from mortonfox/patch-1
Fix link to changelog
2016-09-12 16:16:36 -04:00
Mạnh Phạm
821a3bc063 sliders bug fixes
- use `.bootstrapSlider()` instead of `.slider()` because `.slider()` does not work right with react.js
- add attribute:type to `.ionRangeSlider()`: related issue at [ion.rangeSlider repo](https://github.com/IonDen/ion.rangeSlider/issues/343)
2016-09-12 16:33:28 +07:00
Abdullah Almsaeed
79bd17075e Merge pull request #1184 from leoncheek/master
Fix sidebar angle rotate issue
2016-09-05 12:44:23 -04:00
Leon Cheek
30f9916802 Fix sidebar li.active fa-angle-left rotate. 2016-09-04 23:43:26 +08:00
Morton Fox
5170c4f8ea Fix link to changelog 2016-09-01 00:32:40 -04:00
Kihwan Kim
09a8974ab7 Merge pull request #1 from liamgall/liamgall-patch-1
changed index2.html to ../index2.html
2016-08-20 14:43:20 +09:00
Kihwan Kim
e989db685e changed index2.html to ../index2.html
it send me to file:///~~~/AdminLTE-2.3.6/pages/index2.html
so can't find page.

changed "index2.html" to "../index2.html"
2016-08-20 14:38:44 +09:00
rickysang
87cba5d352 Fix issue #1008 2016-08-19 18:19:40 +08:00
Antonio Cambados
8f0a652055 Update sidebar.less
Fixes https://github.com/almasaeed2010/AdminLTE/issues/1158: expandable indicators of sidebar's expandable menu items didn't toggle (rotate) upon expansion.
2016-08-11 08:47:38 +02:00
Abdullah Almsaeed
be11566d95 Update changelog 2016-08-04 19:22:06 -04:00
Abdullah Almsaeed
d4877677ab Update version 2016-08-04 19:20:57 -04:00
Abdullah Almsaeed
98400d1498 Use markdown in the changelog file 2016-08-04 19:17:03 -04:00
Abdullah Almsaeed
1bffa9fd44 Patch for issue #1098 2016-08-04 19:12:52 -04:00
Abdullah Almsaeed
7d78453e8a Update support emails 2016-07-16 07:13:49 -04:00
Peter Dave Hello
0e601c1463 optimize png images using zopflipng 2016-07-10 18:01:03 +08:00
Abdullah Almsaeed
b8ea25e8eb Provide fix for issue #668 2016-07-04 11:48:51 -04:00
Abdullah Almsaeed
16bb613abe Merge pull request #1096 from nobusugi246/fix_css_content_too_large
min-height of .content is too large.
2016-07-03 11:27:15 -04:00
Abdullah Almsaeed
0ab2eb7f38 Update version 2016-07-03 11:21:22 -04:00
Abdullah Almsaeed
665514209b Fix issue #1097 2016-07-03 11:17:11 -04:00
nobusugi246
13f3036479 min-height of .content is too large. 2016-07-03 11:27:07 +09:00
Abdullah Almsaeed
2de98d7b70 Remove changelog from readme and specify new source 2016-07-02 18:17:47 -04:00
Abdullah Almsaeed
140c350c5c Merge pull request #1040 from OskarStark/patch-1
updated changelog with already released versions
2016-07-02 18:09:39 -04:00
Abdullah Almsaeed
68e473db43 Update package.json version 2016-07-02 10:18:53 -04:00
Abdullah Almsaeed
64a91f7b56 Update version number 2016-07-01 16:36:20 -04:00
Abdullah Almsaeed
8e278e1145 Fix issue #1093 2016-07-01 14:09:03 -04:00
Abdullah Almsaeed
bca8e8ec66 Fix issue #427 by updating slimscroll 2016-07-01 12:39:46 -04:00
Abdullah Almsaeed
db51bd8b98 Fix isse #683 2016-07-01 12:36:40 -04:00
Abdullah Almsaeed
1a29b58111 Revert boxed layout fix to attempt another 2016-07-01 12:31:17 -04:00
Abdullah Almsaeed
35dacb3f97 Fix issue #1091 2016-07-01 12:13:44 -04:00
Abdullah Almsaeed
688631379b Fix issue #683 2016-07-01 12:07:06 -04:00
Abdullah Almsaeed
05f0528552 Merge branch 'master' of https://github.com/almasaeed2010/AdminLTE 2016-07-01 11:59:45 -04:00
Abdullah Almsaeed
20cd83d204 Fix issue #995 2016-07-01 11:59:39 -04:00
Abdullah Almsaeed
9d6c25d7b2 Merge pull request #1094 from xvonabur/patch-2
Remove sidebar click handler, before assigning one. Fix sidebar autoclose bug.
2016-07-01 11:57:19 -04:00
Abdullah Almsaeed
6ed3a7bfc4 Merge pull request #1006 from Jerome1337/fix-sidebar-label
Fix/allow multiple labels on Firefox
2016-06-29 09:19:00 -04:00
Abdullah Almsaeed
476653811a Merge pull request #1090 from choonho/master
Update typo replated with jQuery
2016-06-28 22:53:15 -04:00
Choonho Son
84ad18c3e8 Update typo replated with jQuery
jQuery file is jquery-2.2.3.min.js not jQuery-2.2.3.min.js

Signed-off-by: Choonho Son <choonho.son@gmail.com>
2016-06-29 01:54:32 +00:00
Abdullah Almsaeed
59c8ea100a Merge pull request #1003 from yu1ro/replace-year
replace 2015 to 2016
2016-06-28 20:39:03 -04:00
Abdullah Almsaeed
493bdb6580 Merge pull request #1015 from Fl0ux/master
Update Date Range Picker
2016-06-28 19:15:44 -04:00
Abdullah Almsaeed
abe80a0e92 Merge pull request #1029 from angelitomg/master
Update jQuery version to 2.2.3
2016-06-28 19:12:06 -04:00
Abdullah Almsaeed
0dc992837e Merge branch 'master' of https://github.com/almasaeed2010/AdminLTE 2016-06-28 18:33:50 -04:00
Abdullah Almsaeed
ec2e31079b Revert 2016-06-28 18:33:46 -04:00
Abdullah Almsaeed
d003040ddc Merge pull request #1089 from almasaeed2010/revert-1084-master
Revert "Fixed loss of "active" class after collapsing menu"
2016-06-28 18:33:23 -04:00
Abdullah Almsaeed
b07ef01535 Revert "Fixed loss of "active" class after collapsing menu" 2016-06-28 18:32:19 -04:00
Abdullah Almsaeed
b4f1c53713 Merge branch 'master' of https://github.com/almasaeed2010/AdminLTE 2016-06-28 16:03:24 -04:00
Abdullah Almsaeed
bcd808d203 - 2016-06-28 16:03:18 -04:00
Abdullah Almsaeed
9b80592460 Merge pull request #1084 from blz-ea/master
Add "disable sidebar accordion feature" to preserve active classes in the sidebar.
2016-06-28 16:02:43 -04:00
Abdullah Almsaeed
8438a30eaa Merge branch 'master' of https://github.com/almasaeed2010/AdminLTE 2016-06-28 15:29:11 -04:00
Abdullah Almsaeed
da310983fd Update ChartJS to 1.1.1 2016-06-28 15:29:03 -04:00
Abdullah Almsaeed
04e4fcb934 Merge pull request #1061 from freedayko/update-select2
Update Select2 plugin to version 4.0.3
2016-06-28 15:18:37 -04:00
Abdullah Almsaeed
1c243550e4 Merge 2016-06-28 15:01:00 -04:00
Abdullah Almsaeed
b71926e6ac Update Readme 2016-06-28 14:58:25 -04:00
Abdullah Almsaeed
f9a3f8b5ff Merge pull request #1041 from OskarStark/patch-2
added missing changelog to README. refs #1040
2016-06-28 14:38:07 -04:00
blz-ea
0c4ebb13c2 Update AdminLTE.css 2016-06-27 09:40:06 +05:00
blz-ea
198e91c64a Update app.js 2016-06-27 09:38:45 +05:00
Aleksandr Palyan
9b77655eb3 Update Select2 plugin to version 4.0.3 2016-05-27 21:42:25 +03:00
Oskar Stark
c9dcc7c1dd added missing changelog to README. refs #1040 2016-05-09 10:57:19 +02:00
Oskar Stark
e5e0c53b0c updated changelog with already released versions
2.3.2 and 2.3.3 were missing
2016-05-09 10:54:51 +02:00
Angelito
6eab94926c Update jQuery version to 2.2.3 2016-05-01 14:56:20 -03:00
Foulques du Peloux
a0addfa177 Update Date Range Picker 2016-04-19 16:49:45 +02:00
Foulques du Peloux
cb6ac64ac4 Update Date Range Picker 2016-04-19 16:48:50 +02:00
Foulques du Peloux
e61eb404d2 Newest momentjs version 2016-04-19 16:48:20 +02:00
Foulques du Peloux
ea7823b72c Delete old momentjs version 2016-04-19 16:48:01 +02:00
Foulques du Peloux
88b4e3d8b6 Delete old momentjs version 2016-04-19 16:47:48 +02:00
Foulques du Peloux
446b1cec52 Update Date Range Picker 2016-04-19 16:47:19 +02:00
Foulques du Peloux
d73cf99666 Update Date Range Picker 2016-04-19 16:46:52 +02:00
Jerome Pogeant
139b4604c5 Update sidebar label template to allow multiple labels 2016-04-08 10:32:03 +02:00
Yuichiro Kawano
af4360260c replace 2015 to 2016
close #998
2016-04-05 23:11:29 +09:00
Abdullah Almsaeed
0050e298a2 Merge pull request #991 from johnberberich/patch-1
Add Bower, NPM and Packagist versions to README.md
2016-03-28 18:50:42 -04:00
John Berberich
d051696b4b Add Bower, NPM and Packagist versions to README.md 2016-03-28 17:17:47 -04:00
Abdullah Almsaeed
a49aaf581b Add notification for changelog 2016-03-24 11:09:27 -04:00
Abdullah Almsaeed
8db9797950 Update BS version 2016-03-24 10:31:41 -04:00
Abdullah Almsaeed
497ca6d7e6 Update version number 2016-03-24 10:00:18 -04:00
Abdullah Almsaeed
034c31e089 Merge pull request #976 from suvjunmd/markup
Fixed W3C Markup Validation errors and warnings
2016-03-23 11:50:55 -04:00
Abdullah Almsaeed
bdec7573df Merge pull request #983 from johnberberich/fix-help-block-validation
Apply validation state colors to form group help blocks
2016-03-23 11:49:13 -04:00
John Berberich
f3b2f0d46c Apply form validation state colors to help blocks 2016-03-23 11:30:40 -04:00
Dmitri Suvorov
c2bc22698c Fixed W3C Markup Validation errors and warnings 2016-03-20 21:05:32 +02:00
Abdullah Almsaeed
bd61a3b66b Merge #918. Fix date-range button selection issue 2016-03-14 12:14:28 -04:00
Abdullah Almsaeed
fe147c9b21 Merge pull request #944 from bluemanos/master
update font-awesome to 4.5.0, change CDN to cdnjs.com
2016-03-13 21:14:03 -04:00
Abdullah Almsaeed
faa724a692 Merge pull request #935 from schulzetenberg/master
Add datepicker example
2016-03-13 21:11:52 -04:00
Abdullah Almsaeed
dbfd0322c0 Merge pull request #904 from 0xMatt/master
Improve tree click event handler
2016-03-13 21:02:41 -04:00
Abdullah Almsaeed
720c036708 Merge pull request #816 from magikMaker/feature/package-json
added main property to package.json
2016-03-13 20:56:05 -04:00
Abdullah Almsaeed
2f64568f4c Fix #957. Make pace visible in skin black 2016-03-13 20:47:41 -04:00
Abdullah Almsaeed
18b882dd3f Update ckeditor 2016-03-13 20:16:33 -04:00
Abdullah Almsaeed
4fbef59be1 Fix typo 2016-03-13 20:12:38 -04:00
Szymon Bluma
9c28589ad6 updated momentjs library to 2.11.2 2016-02-25 15:18:13 +01:00
Szymon Bluma
bd36febbc0 update font-awesome to 4.5.0, change CDN to cdnjs.com 2016-02-25 15:07:14 +01:00
Abdullah Almsaeed
2b73a99716 Fix sentence 2016-02-24 10:21:30 -05:00
Abdullah Almsaeed
be82cd2d05 Update README.md 2016-02-24 10:20:20 -05:00
Jacob Schulzetenberg
bc696b82cc Formatting fix 2016-02-19 13:31:25 -07:00
Jacob Schulzetenberg
fe3382b879 Add datepicker plugin to examples 2016-02-19 13:28:53 -07:00
Jacob Schulzetenberg
525f1e62fe Merge remote-tracking branch 'refs/remotes/almasaeed2010/master' 2016-02-19 12:40:21 -07:00
Abdullah Almsaeed
10e1f7fc2d Update License 2016-02-09 13:19:29 -05:00
0xMatt
f284016fa8 Improve click event handler 2016-02-01 12:44:51 -06:00
Abdullah Almsaeed
93e99de603 Merge pull request #877 from suvjunmd/jQuery
Updated jQuery to version 2.2.0
2016-01-18 10:45:30 -05:00
Abdullah Almsaeed
6a45ff52d0 Add Laravel implementation #858 2016-01-18 10:44:17 -05:00
Dmitri Suvorov
45b64a9739 Updated jQuery to version 2.2.0 2016-01-16 23:55:16 +02:00
Abdullah Almsaeed
74428d3ec4 Fix issue #812 2016-01-16 13:29:23 -05:00
Abdullah Almsaeed
e6318e7386 Update BS to v3.3.6 2016-01-16 12:48:26 -05:00
Abdullah Almsaeed
41d18400ba Merge pull 2016-01-16 11:28:59 -05:00
Abdullah Almsaeed
fceb5eebe6 Add .sass-cache to gitignore 2016-01-16 11:28:40 -05:00
Abdullah Almsaeed
f741eec73c Merge pull request #822 from condor-bird/patch-5
Duplicate attribute type button
2016-01-16 11:22:47 -05:00
Abdullah Almsaeed
b1e8da631e Merge pull request #818 from gabel/update_bootstrap_slider
Update to bootsrap-slider 5.3.1
2016-01-16 11:22:26 -05:00
Abdullah Almsaeed
732d6bbd59 Merge pull request #821 from pdesmarais/master
Updating to ion.RangeSlider v2.1.2
2016-01-16 11:22:11 -05:00
Abdullah Almsaeed
5482534db4 Merge pull request #829 from gabel/update_momentjs
update moment.js cdn links to version 2.10.6
2016-01-16 11:21:54 -05:00
Abdullah Almsaeed
65904edd76 Merge pull request #831 from gabel/update_colorpicker
Update to bootstrap-colorpicker version  2.3.0
2016-01-16 11:21:42 -05:00
Abdullah Almsaeed
93f2ad2fef Merge pull request #854 from aqnouch/patch-1
Updated copyright to 2016
2016-01-16 11:21:11 -05:00
Abdullah Almsaeed
e92b9acd19 Merge pull request #825 from gabel/update_select2
Update to select2 version 4.0.1
2016-01-16 11:15:35 -05:00
AQNOUCH Mohammed
03ff6f5d9f Updated copyright to 2016 2016-01-01 00:55:21 +00:00
Martin Fischer
d30707611d Update to bootstrap-colorpicker version 2.3.0 2015-12-04 19:18:37 +01:00
Martin Fischer
d7189ad95c update moment.js cdn links to version 2.10.6 2015-12-03 21:40:10 +01:00
Martin Fischer
34ce040105 Update to select2 version 4.0.1 2015-12-02 21:37:31 +01:00
condor
c174dc7b63 Duplicate attribute type button
Duplicate attribute type="button"
2015-12-02 11:46:07 +06:00
Patrick Desmarais
2681b8bd2e Changing the img paths in the css files 2015-12-01 16:00:25 -05:00
Patrick Desmarais
dce8dd7070 Updating to ion.RangeSlider v2.1.2 2015-12-01 14:37:14 -05:00
Martin Fischer
12bf734658 update to bootsrap-slider 5.3.1 2015-11-30 20:53:21 +01:00
Bjørn Wikkeling
ff6ce09d39 added npm install to readme 2015-11-30 14:48:50 +01:00
Bjørn Wikkeling
9c15693784 added main property to package.json 2015-11-30 14:41:24 +01:00
Abdullah Almsaeed
1ee281b3b9 Increment version number 2015-10-23 10:50:49 -04:00
Abdullah Almsaeed
57e10bc372 Fix issue #752 2015-10-23 10:48:01 -04:00
Abdullah Almsaeed
bbb67bafa5 Compile changes 2015-10-22 12:38:34 -04:00
Abdullah Almsaeed
1c448a3afa Merge pull request #717 from zviryatko/patch-1
Fix animation bug with collapsed sidebar and treeview menu.
2015-10-22 12:37:06 -04:00
Abdullah Almsaeed
9ca725c313 Merge pull request #741 from Soullivaneuh/patch-2
Do not use absolute position for .pull-right on sidebar
2015-10-22 12:29:33 -04:00
Abdullah Almsaeed
0cfe69d351 Add rails gem to documentation 2015-10-16 20:30:01 -04:00
Abdullah Almsaeed
13697c4743 Merge pull request #734 from racketlogger/master
Add new rails gem supporting AdminLTE sources
2015-10-16 20:29:09 -04:00
Abdullah Almsaeed
250fa7bbd7 Merge pull request #729 from Yellowen/master
Sidebar autoclose on turbolinks fixed. close #718
2015-10-16 19:43:22 -04:00
Sullivan SENECHAL
4a83dc18ce Do not use absolute position for .pull-right on sidebar 2015-10-15 16:11:34 +02:00
Carlos Puchol
02c76b9075 Add new rails gem supporting AdminLTE sources
Add a link to the new gem that uses less and it's more maintainable
2015-10-13 16:58:36 -07:00
xvonabur
20eba516a4 Remove sidebar click handler, before assigning one 2015-10-11 15:56:02 +03:00
Sameer Rahmani
b76c319144 Sidebar autoclose on turbolinks fixed. close #718 2015-10-11 15:40:34 +03:30
Abdullah Almsaeed
1accd72830 Merge pull request #712 from iaesaudi/patch-1
Update README.md
2015-10-06 09:50:49 -04:00
Abdullah Almsaeed
eb887847b3 Merge pull request #716 from novashultz/master
Fixed typo: way -> ways
2015-10-06 09:50:34 -04:00
Abdullah Almsaeed
8340a48561 Merge pull request #719 from iamgoodbytes/fix-fastclick
Fixes #688
2015-10-06 09:50:02 -04:00
Joris Hens
94d164d7e4 Fixes #688
Loading the minified version of fastclick doesn't work. My guess is that the FastClick object gets renamed in the minification process, making the check for "typeOf FastClick" useless and causing FastClick to never execute. Loading the unminified version of fastclick removes the 300ms click delay across the board.
2015-10-05 20:52:17 +02:00
Alexandr
f2b7e0eecc Update app.js
Fix bug with treeview menu when sidebar is collapsed and you clicked to menu which already visible.
2015-10-04 20:04:58 +03:00
novashultz
58cc994008 Fix spelling 2015-10-01 17:20:47 -04:00
iae SAUDI
26d33dffe4 Update README.md 2015-09-30 09:42:01 +03:00
Abdullah Almsaeed
4cd707a49e Merge branch 'master' of https://github.com/almasaeed2010/AdminLTE 2015-09-29 07:34:35 -04:00
Abdullah Almsaeed
5e66dfdcae Merge pull request #702 from iaesaudi/master
Implementing Pace to AdminLTE
2015-09-27 11:18:15 -04:00
Abdullah Almsaeed
9157e62294 Merge pull request #706 from dev-ggallon/feature/bootstrap_less
Update Bootstrap less files to 3.3.5
2015-09-27 11:16:59 -04:00
Abdullah Almsaeed
8a7a7ae527 Add new map and implementation reference 2015-09-26 16:22:57 -04:00
Gwenael Gallon
7032389411 Build CSS with Bootstrap less files 3.3.5 2015-09-24 08:57:37 +02:00
Abdullah Almsaeed
9505f59ac6 Merge pull request #699 from lukechilds/master
Attach push menu event listener to document
2015-09-23 20:37:38 -04:00
Gwenael Gallon
226ba4f4ed Update Bootstrap less files to 3.3.5 2015-09-23 08:43:22 +02:00
Yasser Lotfy
9c0d5d8c03 - Update to Pace v1.0.2 so there is no errors appears on Safari browsers.
- Modified one of the original styles to be matched with AdminLTE and Works good on both Desktop and Mobile versions.
- Minified .js and .css files
- Created new pace page for Pace preview
- Added Pace page to navigation to the whole theme files
2015-09-22 12:42:36 +03:00
Luke Childs
6e19e37251 Build minified JS 2015-09-21 17:36:24 +01:00
Luke Childs
fe3af68654 Attach push menu event listener to document 2015-09-21 17:36:09 +01:00
Abdullah Almsaeed
ef8624bff7 Merge pull request #697 from simivar/master
methods to toggle/remove boxes
2015-09-21 11:42:13 -04:00
simivar
f6593b34d2 methods to toggle/remove boxes 2015-09-21 14:41:29 +02:00
Abdullah Almsaeed
0dad027265 Update version 2015-09-19 14:29:39 -04:00
Abdullah Almsaeed
0748343f22 Update version 2015-09-19 14:28:07 -04:00
Abdullah Almsaeed
86712ae424 Fix issue #676 2015-09-19 14:18:38 -04:00
Abdullah Almsaeed
aa26f6eb7a Reformat 2015-09-19 14:18:18 -04:00
Abdullah Almsaeed
435dcfba80 Reformat 2015-09-19 14:18:04 -04:00
Abdullah Almsaeed
9bd1f6aa28 Merge branch 'master' of https://github.com/almasaeed2010/AdminLTE 2015-09-19 14:06:27 -04:00
Abdullah Almsaeed
ee1782c007 Reformat code 2015-09-19 14:05:54 -04:00
Abdullah Almsaeed
6cd614c582 Merge pull request #681 from yrchen/Fix-Plugin-dataTables
Fix wrong path for static images
2015-09-15 17:58:19 -04:00
Xaver Y.R. Chen
31725e0868 Fix wrong path for static images 2015-09-13 01:00:42 +08:00
Abdullah Almsaeed
2f72188c28 Merge master 2015-09-07 13:29:42 -04:00
Abdullah Almsaeed
9e93fa988e Correct sidebar link 2015-09-07 13:29:07 -04:00
Abdullah Almsaeed
080e4da6e8 Add instructions link to modals 2015-09-06 17:20:42 -04:00
Abdullah Almsaeed
dc84e46552 Merge pull request #663 from Dennis14e/patch_format
Formatting
2015-09-02 12:17:34 -04:00
Dennis Neufeld
8c2b2a41a1 Run grunt 2015-08-28 23:12:45 +02:00
Dennis Neufeld
91f47a8b7a Formatting 2015-08-28 15:55:13 +02:00
Abdullah Almsaeed
2dcddd175d Merge pull request #657 from freezy-sk/652-disable-W005
Skip W005 check
2015-08-24 18:35:44 -04:00
freezy
1ca659788b Skip W005 check until it will be possible to ignore it only in file pages/examples/invoice-print.html 2015-08-25 00:15:45 +02:00
Abdullah Almsaeed
685ba27900 Fix input group size 2015-08-24 18:08:24 -04:00
Abdullah Almsaeed
996444f55b Fix bootlint W008 2015-08-24 18:05:38 -04:00
Abdullah Almsaeed
b747fdf973 Fix bootlint E009 2015-08-24 18:00:33 -04:00
Abdullah Almsaeed
396b319c7e Fix bootlint E014 2015-08-24 17:52:49 -04:00
Abdullah Almsaeed
9fa335f363 Fix bootlint W007 warnings 2015-08-24 17:39:52 -04:00
Abdullah Almsaeed
283355e533 Remove unwated JS script 2015-08-24 17:36:51 -04:00
Abdullah Almsaeed
56aabaa0b1 Merge from remote source 2015-08-24 17:33:12 -04:00
Abdullah Almsaeed
86387efc8f Merge pull request #656 from freezy-sk/652-fix-E029
Fixed Bootlint error E029
2015-08-24 17:32:06 -04:00
Abdullah Almsaeed
18691817cf Merge pull request #655 from freezy-sk/652-fix-E033
Fixed Bootlint error E033
2015-08-24 17:29:04 -04:00
Abdullah Almsaeed
0b9e3c822c Merge pull request #653 from freezy-sk/652-fix-W007
Fixed Bootlint warning W007
2015-08-24 17:27:00 -04:00
freezy
ec43144a62 Fixed Bootlint error E029 2015-08-24 23:15:13 +02:00
freezy
be2ca6a21e Fixed Bootlint error E033 2015-08-24 23:10:49 +02:00
freezy
8c7fc61559 Fixed Bootlint warning W007 2015-08-24 22:54:49 +02:00
Abdullah Almsaeed
cba5477a46 Reduce text-elipsis rules 2015-08-24 12:45:35 -04:00
Abdullah Almsaeed
dcc45e5915 Update bootlint to include all relevant html files 2015-08-24 12:38:40 -04:00
Abdullah Almsaeed
72847dc136 Merge pull request #648 from freezy-sk/638-bootlint
Added Bootstrap linter
2015-08-24 10:54:46 -04:00
freezy
f68e1edb0e Added bootlint for pages 2015-08-22 19:22:37 +02:00
Abdullah Almsaeed
feac61b20c Compile navs.less 2015-08-21 11:31:20 -04:00
Abdullah Almsaeed
fc9554f866 Merge pull request #640 from devmark/patch-1
navs add different color
2015-08-21 11:29:38 -04:00
Abdullah Almsaeed
5d9e59efce Merge pull request #637 from Dennis14e/patch_format
Formatting and stuff
2015-08-21 11:28:50 -04:00
Mark
f7dc1429e2 navs add different color
https://github.com/almasaeed2010/AdminLTE/issues/429
2015-08-19 15:34:37 +08:00
Dennis Neufeld
3c05a7858f Fix Photo URL 2015-08-17 07:42:55 +02:00
Dennis Neufeld
81e784af15 Formatting and stuff 2015-08-17 07:39:25 +02:00
Abdullah Almsaeed
81aa879d3a Updated .gitignore 2015-08-16 21:49:41 -04:00
Abdullah Almsaeed
d3a547c5d3 Updated version 2015-08-16 20:50:48 -04:00
Abdullah Almsaeed
02cd4e32ee Updated changelog 2015-08-16 20:48:55 -04:00
Abdullah Almsaeed
8ab58de601 Updated changelog 2015-08-16 20:28:46 -04:00
Abdullah Almsaeed
ae37d79c1d Updated changelog 2015-08-16 20:26:00 -04:00
Abdullah Almsaeed
f25c90f598 Fixed csslint error 2015-08-16 20:25:45 -04:00
Abdullah Almsaeed
dde604023b Fix issue #430 2015-08-16 16:31:59 -04:00
Abdullah Almsaeed
6ab5a66fa2 Fix issue #578 2015-08-16 16:21:46 -04:00
Abdullah Almsaeed
a335278aa1 Fix issue #579 2015-08-16 16:19:20 -04:00
Abdullah Almsaeed
31af666ccc Merge pull request #635 from Dennis14e/patch_head
head-changes
2015-08-16 16:11:54 -04:00
Abdullah Almsaeed
393bb3ca1f Merge pull request #632 from Dennis14e/patch_glyphicons
Updated Glyphicons page
2015-08-16 16:10:21 -04:00
Abdullah Almsaeed
746ecd5cd3 Format 2015-08-16 16:09:31 -04:00
Abdullah Almsaeed
3faad543cb Update version 2015-08-16 16:06:46 -04:00
Abdullah Almsaeed
36f31d1448 Fixed typo attachemnt to attachment 2015-08-16 16:06:20 -04:00
Abdullah Almsaeed
738252af74 Merge feature/profile 2015-08-16 15:58:11 -04:00
Abdullah Almsaeed
67fd530662 Resized images 2015-08-16 15:55:36 -04:00
Abdullah Almsaeed
1555830bc6 Add activity tab to profile 2015-08-16 15:51:13 -04:00
Abdullah Almsaeed
ac99249af7 Add new profile page link to sidebar 2015-08-16 13:21:18 -04:00
Abdullah Almsaeed
2f390152bc Created and updated the profile page 2015-08-15 21:47:49 -04:00
Dennis Neufeld
71657fc0bc Some asset changes 2015-08-13 18:03:46 +02:00
Dennis Neufeld
c38df88d5a Updated page titles 2015-08-13 17:55:46 +02:00
Dennis Neufeld
a1c8225c2e Add meta X-UA-Compatible 2015-08-13 17:50:04 +02:00
Dennis Neufeld
1ba31abdc6 Lowercase charset ("UTF-8" to "utf-8") 2015-08-13 17:41:23 +02:00
Dennis Neufeld
418f73e2a8 Updated Glyphicons page 2015-08-13 08:27:09 +02:00
Abdullah Almsaeed
e13db59eb3 Updated version 2015-08-12 18:53:37 -04:00
Abdullah Almsaeed
7df333d8b6 Merge social widgets feature 2015-08-12 18:39:36 -04:00
Abdullah Almsaeed
e7653c8655 Add box-comment feature 2015-08-12 18:35:20 -04:00
Abdullah Almsaeed
af4deafa7c Add social widgets 2015-08-12 15:30:28 -04:00
Abdullah Almsaeed
a0a4a3207a Merge pull request #627 from Dennis14e/patch_version
Update files to v2.2.1
2015-08-12 14:55:42 -04:00
Abdullah Almsaeed
27d94de81a Merge pull request #628 from Dennis14e/patch_bootstrapversion
Updated Bootstrap version comment to v3.3.5
2015-08-12 14:54:49 -04:00
Dennis Neufeld
4e6e19a9f7 Updated Bootstrap version comment to v3.3.5 2015-08-12 07:50:02 +02:00
Dennis Neufeld
648d682618 Update files to v2.2.1 2015-08-12 07:40:05 +02:00
Abdullah Almsaeed
361db6d391 Updated local version 2015-08-11 10:24:45 -04:00
Abdullah Almsaeed
f525567feb Updated version info 2015-08-11 10:24:17 -04:00
Abdullah Almsaeed
70cda3605b Merge pull request #626 from Dennis14e/patch_html5shiv
Update html5shiv v3.7.3
2015-08-11 10:19:56 -04:00
Dennis Neufeld
7860607b5b Update html5shiv v3.7.3 2015-08-10 20:07:11 +02:00
Abdullah Almsaeed
5e57d8f4c1 Updated Boostrap to 3.3.5 2015-08-08 13:29:58 -04:00
Abdullah Almsaeed
dfc6a3d7ac updated changelog 2015-08-08 13:29:46 -04:00
Abdullah Almsaeed
7964338817 Merge pull request #608 from emnsen/patch-1
remove multiple selection height property
2015-08-08 13:17:44 -04:00
Abdullah Almsaeed
de59b4c4c9 Merge pull request #624 from Dennis14e/patch_fontawesome
Updated Font Awesome v4.4.0
2015-08-08 13:16:23 -04:00
Dennis Neufeld
87534fa1f0 Updated Font Awesome v4.4.0 2015-08-08 11:58:28 +02:00
Abdullah Almsaeed
2f8cd4f324 Merge pull request #620 from Dennis14e/master
Formatting files, HTML5
2015-08-07 18:02:07 -04:00
Abdullah Almsaeed
0eb8c98efd Merge pull request #611 from sahilm/add-missing-license-field
Fix #610 Missing license field
2015-08-07 18:02:00 -04:00
Dennis Neufeld
48dc576492 Fix HTML Comments (Documentation), run grunt 2015-08-05 19:50:45 +02:00
Dennis Neufeld
bdc89f14fe Edit README.md 2015-08-04 23:56:56 +02:00
Dennis Neufeld
0fce8ad2db HTML5 Pages - UI 2015-08-04 20:08:42 +02:00
Dennis Neufeld
ade5e66851 HTML5 Pages - Tables 2015-08-04 19:43:19 +02:00
Dennis Neufeld
5cb4f2840b HTML5 Pages - Mailbox 2015-08-04 19:39:07 +02:00
Dennis Neufeld
ccebf2492a HTML5 Pages - Layout 2015-08-04 19:30:38 +02:00
Dennis Neufeld
560b79e884 HTML5 Pages - Forms 2015-08-04 19:25:06 +02:00
Dennis Neufeld
d311cc0ab2 HTML5 Pages - Examples 2015-08-04 19:16:41 +02:00
Dennis Neufeld
502b6e6b2d HTML5 Pages - Charts 2015-08-04 18:59:18 +02:00
Dennis Neufeld
63230ebf57 HTML5 Pages 2015-08-04 18:48:08 +02:00
Dennis Neufeld
d20b62ca81 HTML5 Documentation 2015-08-04 18:33:36 +02:00
Dennis Neufeld
9837243bc9 Formatting files (newline, trailing spaces, ...) 2015-08-04 18:21:03 +02:00
Dennis Neufeld
a981cb8e54 Formatting Documentation Build files 2015-08-04 18:19:39 +02:00
Sahil Muthoo
1d34316754 Fix #610 Missing license field 2015-07-30 17:23:37 +05:30
Emin Şen
a7158e5ab8 remove multiple selection height property 2015-07-30 13:15:32 +03:00
Abdullah Almsaeed
30e6e1f034 Conform to CSSLINT rules 2015-07-25 15:52:28 -04:00
Abdullah Almsaeed
2827e4d2fb Added CSSLINT 2015-07-25 15:51:57 -04:00
Abdullah Almsaeed
0943d33ff3 compressed images 2015-07-25 15:06:31 -04:00
Abdullah Almsaeed
37a065bb99 conform to jshint rules 2015-07-25 15:06:16 -04:00
Abdullah Almsaeed
b1a94d780f Added rules for jshint 2015-07-25 15:05:44 -04:00
Abdullah Almsaeed
b8b38a29fa added grunt plugins 2015-07-25 15:05:25 -04:00
Abdullah Almsaeed
13aa44fe14 Added jshint, clean and image plugins to lint JS files, remove build images and compress images respectively 2015-07-25 15:05:02 -04:00
Abdullah Almsaeed
12996b0242 Compressed images 2015-07-25 15:03:18 -04:00
Abdullah Almsaeed
6676c7d068 formatted core.less 2015-07-24 19:39:42 -04:00
Abdullah Almsaeed
2296534d36 Fixed issue with active nav-stacked background 2015-07-24 19:36:51 -04:00
Abdullah Almsaeed
6bf4e63c44 Fixed issue with user menu on small screens 2015-07-24 19:33:52 -04:00
Abdullah Almsaeed
efd38d62be Updated changelog 2015-07-24 19:27:21 -04:00
Abdullah Almsaeed
a081021a9d Updated changelog 2015-07-24 19:26:57 -04:00
Abdullah Almsaeed
0bd8306502 Update boxwidget and tree to activate ajax loaded elements 2015-07-24 19:26:15 -04:00
Abdullah Almsaeed
8f1173b340 Fixed issue #590 2015-07-23 14:58:16 -04:00
Abdullah Almsaeed
b6148c802e Merge pull request #575 from irfanevrens/patch-1
improvements on some html comments.
2015-07-23 14:57:37 -04:00
Abdullah Almsaeed
10ca2ed070 Fixed issue #584 2015-07-20 23:26:06 -04:00
Abdullah Almsaeed
7760b0d516 Bootstrap social plugin changed google-plus button to google 2015-07-20 23:03:49 -04:00
Abdullah Almsaeed
ef2c51694d Fixed ajax loaded BoxWidget #593 2015-07-20 23:02:35 -04:00
Abdullah Almsaeed
a8406b4102 Removed unnecessary \!important 2015-07-20 22:36:04 -04:00
Abdullah Almsaeed
7c93106626 Updated select2 implementation to be responsive 2015-07-20 18:17:52 -04:00
Abdullah Almsaeed
2ceb6e19b8 Updates 2015-07-20 18:08:01 -04:00
Abdullah Almsaeed
d75e3e18c9 ChartJS requires css height in newer version 2015-07-20 18:07:07 -04:00
Abdullah Almsaeed
c848c6737f Merge pull request #581 from Dennis14e/master
Formatting files
2015-07-19 14:00:26 -04:00
Dennis Neufeld
8cecbcf2ca Format some files 2015-07-12 15:46:20 +02:00
Dennis Neufeld
63ad645910 Add newline of dist/*.min.css files 2015-07-12 15:44:02 +02:00
Dennis Neufeld
5befe56edc Format dist/*.js files 2015-07-12 15:42:55 +02:00
Dennis Neufeld
3f81b24501 Format less files 2015-07-12 15:42:26 +02:00
Dennis Neufeld
9fae8c8a00 Fix typo in pages/layout/top-nav.html 2015-07-12 15:36:36 +02:00
İrfan Evrens
6e5a7e47bf improvements on some html comments. 2015-07-12 05:36:12 +03:00
Abdullah Almsaeed
4bebda892a Updated docs 2015-07-08 18:00:28 -04:00
Abdullah Almsaeed
a6c2500da3 Updated version in footer 2015-07-08 17:18:12 -04:00
Abdullah Almsaeed
0bc1c2d7ae Updated changelog 2015-07-08 17:16:29 -04:00
Abdullah Almsaeed
824a8f3264 Updated changelog 2015-07-08 17:12:41 -04:00
Abdullah Almsaeed
145fbe8a1b Merge pull request #560 from 01-Scripts/patch-2
Fix typo in forms/general.php
2015-07-08 17:04:47 -04:00
Abdullah Almsaeed
3d9087a5cf Merge pull request #552 from masteradhoc/patch-2
Update ChartJS to 1.0.2
2015-07-08 16:59:05 -04:00
Abdullah Almsaeed
477c0ec8af Merge pull request #553 from masteradhoc/patch-1
Update ChartJS to 1.0.2
2015-07-08 16:58:53 -04:00
Michael
ead60ced86 Fix typo in forms/general.php 2015-07-05 14:32:19 +02:00
Brian
24722d195e Update ChartJS to 1.0.2
Update ChartJS to 1.0.2
2015-07-02 09:25:41 +02:00
Brian
229ac9a996 Update ChartJS to 1.0.2
Update ChartJS to 1.0.2
2015-07-02 09:25:20 +02:00
Abdullah Almsaeed
1e21624ddd Merge pull request #543 from danielsum/patch-1
Update Bootstrap-social.less
2015-07-02 00:35:05 -04:00
Abdullah Almsaeed
d74cec4227 Merge pull request #540 from fschaeffer/patch-3
enable font awesome in form controls
2015-07-02 00:32:56 -04:00
Abdullah Almsaeed
175d349e64 Merge pull request #533 from Dennis14e/master
More Formatting Pages
2015-07-02 00:30:05 -04:00
Daniel Sum
4e9daad75e Update Bootstrap Less
Hi Abdullah, 

I've seen that bootstrap-social.less is not up to date as Pinterest for instance was not in the list... May I suggest to use the import from bower package to keep up to date this little stylesheet or use a little script to update this vendor package : 

````bash
#!/usr/bin/env bash

curl -o build/less/bootstrap-social.less https://raw.githubusercontent.com/lipis/bootstrap-social/gh-pages/bootstrap-social.less
````

PS: I've just discovered your package and make a little donation, great work !
2015-06-27 17:23:31 +02:00
Florian Schaeffer
17fbe16151 enable font awesome in form controls
the form controls are preconfigured to use glyhicons but lack the support for FA icons
2015-06-25 07:17:51 +02:00
Abdullah Almsaeed
e5771daaf5 Added posibility to add image to info-box instead of icon #522 2015-06-23 16:18:07 +03:00
Dennis Neufeld
7ddea34311 Formatting Pages 2/2 2015-06-22 19:54:28 +02:00
Dennis Neufeld
6220d2c4fd Formatting Pages 1/2 2015-06-22 19:29:03 +02:00
Abdullah Almsaeed
c7c3381856 Updated local clone 2015-06-22 17:11:18 +03:00
Abdullah Almsaeed
4b1e5f1e42 Merge pull request #524 from fschaeffer/patch-1
Allow collapsible form in box
2015-06-22 16:47:03 +03:00
Abdullah Almsaeed
eb8012df48 Fixed issue #531 2015-06-22 16:39:50 +03:00
Abdullah Almsaeed
1411dda538 Merge pull request #527 from Dennis14e/master
Formatting Pages
2015-06-21 03:40:46 +03:00
Dennis Neufeld
7a2181964d Format pages - UI 2015-06-20 14:40:29 +02:00
Dennis Neufeld
6c795e84e9 Format pages - tables 2015-06-20 13:39:59 +02:00
Dennis Neufeld
23adb8661c Format pages - mailbox 2015-06-20 13:32:34 +02:00
Dennis Neufeld
57d18a266a Format pages - layout 2015-06-20 13:21:20 +02:00
Dennis Neufeld
65d99c7b6c Format pages - forms 2015-06-20 13:11:32 +02:00
Dennis Neufeld
4ce12b818c Format pages - examples 2015-06-20 12:59:38 +02:00
Dennis Neufeld
14cb228dcb Format pages - charts 2015-06-20 12:39:14 +02:00
Dennis Neufeld
68e1d9d7d5 Format pages 2015-06-20 12:38:52 +02:00
Dennis Neufeld
2c0e0af494 Format index pages 2015-06-20 12:22:30 +02:00
Abdullah Almsaeed
ab07ef8c92 Merge pull request #510 from 01-Scripts/patch-1
Wrong color code provided for orange class.
2015-06-19 15:44:27 +03:00
Abdullah Almsaeed
3c031bccde Merge pull request #509 from YasserHassan/patch-1
Trigger expand/collapse events for right sidebar
2015-06-19 15:44:08 +03:00
Florian Schaeffer
3e48dba688 Allow collapsible form in box
See issue #523
2015-06-19 12:29:00 +02:00
Abdullah Almsaeed
8feef037b7 Merge branch 'master' of https://github.com/almasaeed2010/AdminLTE
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-06-17 14:40:15 +03:00
Abdullah Almsaeed
f19c8f619e Fix sidebar-mini with Safari issue #410 2015-06-17 14:39:11 +03:00
Abdullah Almsaeed
6b234f1186 Updated change log and removed rtl.html 2015-06-17 14:31:49 +03:00
Michael
a16d1478eb Wrong color code provided for orange class. 2015-06-15 19:50:35 +02:00
Yasser Hassan
3058ba125c Trigger expand/collapse events for right sidebar
This commit will trigger the events `expanded.pushMenu` and `collapsed.pushMenu` on expanding and collapsing the right sidebar respectively as mentioned in #444.
2015-06-14 15:00:29 +02:00
Abdullah Almsaeed
bf2f7223aa Merge pull request #497 from angelitomg/master
Duplicated iCheck call removed
2015-06-14 01:51:03 +03:00
Abdullah Almsaeed
ad68d5e466 Added support for Select2 2015-06-13 02:36:04 +03:00
Abdullah Almsaeed
13f00afa61 Updated support email on bower.json 2015-06-11 11:39:24 +03:00
Abdullah Almsaeed
b7c4e32abe Merge pull request #503 from kkirsche/patch-1
Remove moot `version` property from bower.json
2015-06-11 11:38:13 +03:00
Kevin Kirsche
c2c97171dd Remove moot version property from bower.json
Per bower/bower.json-spec@a325da3
2015-06-10 19:05:17 -04:00
Abdullah Almsaeed
406de4e708 pull from master 2015-06-09 01:41:48 +03:00
Abdullah Almsaeed
586db744f7 Milestone 2.1.2 2015-06-09 01:41:18 +03:00
Angelito M. Goulart
14600d7016 Duplicated iCheck call removed 2015-06-08 11:43:45 -03:00
Abdullah Almsaeed
e8553fd402 Merge pull request #491 from ivantcholakov/master
Datatables, examples, switching to the new 1.10 API.
2015-06-08 01:26:10 +03:00
Ivan Tcholakov
1e096c9eec Datatables, examples, switching to the new 1.10 API. 2015-06-07 05:10:41 +03:00
Abdullah Almsaeed
8ae58fe1f6 Merge pull request #483 from masteradhoc/masteradhoc-patch-typo
Patch - Typo waring -> warning
2015-06-02 17:05:14 +03:00
Abdullah Almsaeed
a676363cf6 Merge pull request #481 from Green-Cat/patch-1
Fixes typo. Symphony -> Symfony
2015-06-02 16:50:24 +03:00
Brian
381d380797 Fixed typo (waring -> warning)
This fixes a typo in multiple files.
See #482

This shouldn affect the website, cause the typo got fixed in .css and
.html files.
2015-06-02 14:10:26 +02:00
Green Cat
a5cb88e44f Same fix in the build folder 2015-06-01 18:03:14 +01:00
Green Cat
6f02bcd6c5 Fixes typo. Symphony -> Symfony 2015-06-01 17:59:32 +01:00
Abdullah Almsaeed
13ec90f533 Fix typo in core.less 2015-06-01 13:18:35 +03:00
Abdullah Almsaeed
fd58f76090 Merge pull request #476 from masteradhoc/patch-1
Typo in AdminLTE.css
2015-06-01 13:16:41 +03:00
Abdullah Almsaeed
b8b837ad4d Merge pull request #475 from masteradhoc/masteradhoc-patch-1
Added comment to viewport meta
2015-06-01 13:06:49 +03:00
Brian
aa1e07b564 Update AdminLTE.css
Typo
2015-06-01 10:31:02 +02:00
Brian
75919217fd Update buttons.html
Commented metatag
2015-06-01 09:29:32 +02:00
Brian
a9d1889cc8 Update general.html
Commented metatag
2015-06-01 09:29:29 +02:00
Brian
a94a21dc52 Update icons.html
Commented metatag
2015-06-01 09:29:26 +02:00
Brian
e37ea9d383 Update modals.html
Commented metatag
2015-06-01 09:29:24 +02:00
Brian
1ea7dea2ec Update sliders.html
Commented metatag
2015-06-01 09:29:20 +02:00
Brian
0cdbdca0cb Update timeline.html
Commented metatag
2015-06-01 09:29:17 +02:00
Brian
9023977238 Update inline.html
Commented metatag
2015-06-01 09:28:37 +02:00
Brian
35912a5a6d Update morris.html
Commented metatag
2015-06-01 09:28:31 +02:00
Brian
1bfa07d562 Update flot.html
Commented metatag
2015-06-01 09:28:17 +02:00
Brian
c1298a0eab Update chartjs.html
Commented metatag
2015-06-01 09:28:04 +02:00
Brian
b98e09f88a Update register.html
Commented metatag
2015-06-01 09:27:47 +02:00
Brian
2860bc0fdb Update login.html
Commented metatag
2015-06-01 09:27:38 +02:00
Brian
e9ff619013 Update lockscreen.html
Commented metatag
2015-06-01 09:27:29 +02:00
Brian
4c8d3b929a Update invoice.html
Commented metatag
2015-06-01 09:27:18 +02:00
Brian
88d8a6fd9b Update invoice-print.html
Commented metatag
2015-06-01 09:27:07 +02:00
Brian
615c1707be Update blank.html
Commented metatag
2015-06-01 09:26:57 +02:00
Brian
d87ac0306b Update 500.html
Commented metatag
2015-06-01 09:26:44 +02:00
Brian
f501a96712 Update 404.html
Commented metatag
2015-06-01 09:26:33 +02:00
Brian
f520388da9 Update advanced.html
Commented metatag
2015-06-01 09:26:04 +02:00
Brian
05ace29173 Update editors.html
Commented metatag
2015-06-01 09:26:01 +02:00
Brian
cb091b7094 Update general.html
Commented metatag
2015-06-01 09:25:55 +02:00
Brian
32c6fc147d Update top-nav.html
Commented metatag
2015-06-01 09:25:23 +02:00
Brian
0561cecd77 Update rtl.html
Commented metatag
2015-06-01 09:25:15 +02:00
Brian
73c403b796 Update fixed.html
Commented metatag
2015-06-01 09:25:08 +02:00
Brian
1cc2f8be47 Update collapsed-sidebar.html
Commented metatag
2015-06-01 09:25:02 +02:00
Brian
110da40511 Update boxed.html
Commented metatag
2015-06-01 09:24:55 +02:00
Brian
3fee45b583 Update compose.html
Commented metatag
2015-06-01 09:24:32 +02:00
Brian
8c4cfbf887 Update mailbox.html
Commented metatag
2015-06-01 09:24:22 +02:00
Brian
8dc6a9d021 Update read-mail.html
Commented metatag
2015-06-01 09:24:08 +02:00
Brian
7ee63f97bd Update data.html
Commented metatag
2015-06-01 09:23:46 +02:00
Brian
1a62467472 Update simple.html
Commented the metatag
2015-06-01 09:23:39 +02:00
Brian
00de9b4e8d Update widgets.html
Commented the metatag
2015-06-01 09:23:18 +02:00
Brian
1428e23c28 Update calendar.html
Commented the meta tag.
2015-06-01 09:23:08 +02:00
Brian
6015ecef25 Update buttons.html
Commented the meta tag.
2015-06-01 09:22:10 +02:00
Brian
75e2910a69 Update index.html
Commented the meta tag.
2015-06-01 09:20:32 +02:00
Brian
322c309bbd Update index2.html
Commented the meta tag.
2015-06-01 09:20:29 +02:00
Brian
becf3981b5 Update starter.html
Commented the meta tag.
2015-06-01 09:17:52 +02:00
Abdullah Almsaeed
c2730bf40b Merged master 2015-05-30 00:51:47 +03:00
Abdullah Almsaeed
094ac31d18 Merge pull request #458 from suvjunmd/wysihtml5
Updated Bootstrap-wysihtml5 to 0.3.3
2015-05-30 00:51:06 +03:00
Abdullah Almsaeed
bfb9370dad Fixed issue #414 2015-05-27 14:12:52 +03:00
Abdullah Almsaeed
cd058f0a92 Merge pull request #460 from suvjunmd/plugins
Updated plugins links in documentation
2015-05-27 14:08:08 +03:00
Abdullah Almsaeed
1bccec3bca Merge pull request #459 from suvjunmd/momentjs
Fixed Moment.js deprecation warning
2015-05-27 14:07:23 +03:00
Abdullah Almsaeed
a0b752343d Merge pull request #457 from suvjunmd/jqueryui
Updated jQuery UI to 1.11.4
2015-05-27 14:05:12 +03:00
Dmitri Suvorov
c9200169fb Updated plugins links in documentation 2015-05-24 18:04:00 +03:00
Dmitri Suvorov
f6c3fb88d1 Fixed Moment.js deprecation warning 2015-05-24 17:40:05 +03:00
Dmitri Suvorov
073701cd00 Updated Bootstrap-wysihtml5 to 0.3.3 2015-05-24 17:16:24 +03:00
Dmitri Suvorov
d0ac3e7922 Updated jQuery UI to 1.11.4 2015-05-24 16:40:57 +03:00
Abdullah Almsaeed
1252cf423c Updated jQuery UI 2015-05-23 14:07:08 +03:00
Abdullah Almsaeed
84ce31cabb Updated AdminLTE Options list in documentation 2015-05-23 13:42:51 +03:00
Abdullah Almsaeed
ec8fa4a9e4 Updated skin list style in documentation 2015-05-23 13:40:30 +03:00
Abdullah Almsaeed
0d5a039b5d Merge pull request #436 from freezy-sk/doc-skins
Updated list of skins with skin switch and removed whitespace from end of lines
2015-05-23 13:12:49 +03:00
Abdullah Almsaeed
68ff51a0c4 resolved conflict with master 2015-05-23 13:11:51 +03:00
Abdullah Almsaeed
fa75a8d3b0 Updating from master 2015-05-23 13:10:39 +03:00
Abdullah Almsaeed
aa6552502d Added animation speed option to app.js 2015-05-23 13:09:35 +03:00
Abdullah Almsaeed
6f09c02537 Merge pull request #450 from pbihler/boxActivate
Enable explicit box activation
2015-05-23 12:51:18 +03:00
Pascal Bihler
3eb31be585 Enable explicit box activation 2015-05-21 11:06:14 +02:00
freezy
1ca9859367 Skin switch functionality in layout's skin list 2015-05-17 12:07:03 +02:00
freezy
d3494a468e Updated list of skins and removed whitespace from end of lines in documentation build files 2015-05-17 11:48:37 +02:00
freezy
8adf3ef9e8 Updated list of skins and removed whitespace from end of lines 2015-05-17 04:03:01 +02:00
Abdullah Almsaeed
d08e0e0c69 Updated AdminLTE's version 2015-05-17 02:21:28 +03:00
Abdullah Almsaeed
81fabc38c8 Merge pull request #411 from suvjunmd/breadcrumbs
Fixed text inside breadcrumbs
2015-05-17 02:16:43 +03:00
Abdullah Almsaeed
375905f41b Merge pull request #407 from albertofem/patch-1
Typo
2015-05-17 02:16:11 +03:00
Abdullah Almsaeed
f45f1101b7 Fixed documentation typo #428 2015-05-17 01:53:28 +03:00
Abdullah Almsaeed
493ce24f47 Fixed issue #422 2015-05-17 01:46:29 +03:00
Abdullah Almsaeed
6d981a4315 Referenced Bootstrap LESS resources 2015-05-17 01:46:07 +03:00
Dmitri Suvorov
b219c57f9e Fixed text inside breadcrumbs 2015-05-09 18:40:19 +03:00
Alberto Fernández
3836ac6712 Typo 2015-05-09 13:07:26 +02:00
Abdullah Almsaeed
e55c2b85aa Fix issue #405 2015-05-09 00:02:45 -04:00
Abdullah Almsaeed
7948e11145 Invalid file name caused server to not load jQuery 2015-05-08 17:25:54 -04:00
Abdullah Almsaeed
077bacd847 Updated docs 2015-05-08 16:57:00 -04:00
Abdullah Almsaeed
2401235e98 Fixed issue #403 2015-05-08 16:39:34 -04:00
Abdullah Almsaeed
b203535862 Merge pull request #401 from suvjunmd/index2
Removed redundant link and script elements
2015-05-07 19:37:35 -04:00
Abdullah Almsaeed
d9cc6e3d37 Merge pull request #400 from suvjunmd/datatables
Updated DataTables to 1.10.7
2015-05-07 19:37:13 -04:00
Abdullah Almsaeed
72a190f384 Merge pull request #399 from suvjunmd/jquery
Updated jQuery to 2.1.4
2015-05-07 19:36:13 -04:00
Dmitri Suvorov
bc3b170782 Removed redundant link and script elements 2015-05-07 23:32:18 +03:00
Dmitri Suvorov
1ea3e97d1f Updated DataTables to 1.10.7 2015-05-07 22:44:30 +03:00
Dmitri Suvorov
02c04ca12d Updated jQuery to 2.1.4 2015-05-07 21:56:39 +03:00
Abdullah Almsaeed
2b8e2c3859 Updated documentation 2015-05-07 00:04:48 -04:00
Abdullah Almsaeed
d72176caa7 Fixed issue with extending $.AdminLTE.options 2015-05-06 23:59:51 -04:00
Abdullah Almsaeed
c0280e2819 Fixed a problem click propagation for the control sidebar toggle button 2015-05-06 22:53:47 -04:00
Abdullah Almsaeed
b80104171d Updated change log and versioning info 2015-05-06 20:16:11 -04:00
Abdullah Almsaeed
7bfbc542cc Removed extra css 2015-05-06 17:47:30 -04:00
Abdullah Almsaeed
c46d8723f7 Updated hover color for navs 2015-05-06 17:41:43 -04:00
Abdullah Almsaeed
66f6c40b47 added overlay feature as suggested in issue #355 2015-05-05 10:45:52 -04:00
Abdullah Almsaeed
95a5719287 Added implementations section to the documentation 2015-05-05 10:41:17 -04:00
Abdullah Almsaeed
654fcc0922 Added enhancement per suggestion in #383 2015-05-04 23:14:19 -04:00
Abdullah Almsaeed
2af6d6ee45 Added border to box 2015-05-04 23:10:29 -04:00
Abdullah Almsaeed
e35f602533 Removed trailing white space 2015-05-04 23:10:08 -04:00
Abdullah Almsaeed
e0577e6d01 Removed alert from the top of the page 2015-05-04 23:09:29 -04:00
Abdullah Almsaeed
416583c0e0 Removed depricated tabs bottom 2015-05-04 23:00:52 -04:00
Abdullah Almsaeed
f2c3bd47aa Fixed custom tabs issue #378 2015-05-04 22:56:42 -04:00
Abdullah Almsaeed
9adf789426 Fixed Safari & sidebar mini issue #370 2015-05-04 22:00:20 -04:00
Abdullah Almsaeed
d2bbd218f2 merged master 2015-05-04 21:52:34 -04:00
Abdullah Almsaeed
4780c4ad61 Fixed Safari control sidebar issue #377 2015-05-04 21:50:20 -04:00
Abdullah Almsaeed
c8ef738577 Merge pull request #391 from suvjunmd/breadcrumb
Fixed text inside breadcrumbs
2015-05-04 21:19:29 -04:00
Abdullah Almsaeed
6b2a9191e1 Merge pull request #389 from suvjunmd/typos
Fixed typos
2015-05-04 21:18:55 -04:00
Abdullah Almsaeed
c07774f947 Merge pull request #388 from suvjunmd/shiv
Updated links to the latest versions of HTML5 Shiv and Respond.js
2015-05-04 21:16:57 -04:00
Dmitri Suvorov
a89298e29c Fixed text inside breadcrumbs 2015-05-01 23:07:29 +03:00
Dmitri Suvorov
3e5e1008b5 Fixed typos 2015-05-01 22:46:17 +03:00
Dmitri Suvorov
bb7d6e72d5 Updated links to the latest versions of HTML5 Shiv and Respond.js 2015-05-01 21:44:04 +03:00
Abdullah Almsaeed
244134986b Merge pull request #387 from suvjunmd/email
Changed input type from text to email
2015-05-01 11:02:04 -04:00
Dmitri Suvorov
064de16cdd Changed input type from text to email 2015-05-01 17:41:15 +03:00
Abdullah Almsaeed
cf6a37dc80 Compiled #386 2015-04-30 20:18:36 -04:00
Abdullah Almsaeed
25f3628be8 #386 2015-04-30 20:18:05 -04:00
Abdullah Almsaeed
01c0071459 Updates 2015-04-30 20:17:35 -04:00
Abdullah Almsaeed
7fd2c0bf47 Merge pull request #386 from iaesaudi/patch-3
Fix Animation on Safari
2015-04-30 20:16:57 -04:00
iae SAUDI
89bc33ce4c Fix Animation on Safari
Fix Animation issue in the LESS file :)
2015-05-01 03:15:22 +03:00
Abdullah Almsaeed
c51c10f236 Merge pull request #367 from suvjunmd/icons
Updated Icons page to Font Awesome 4.3
2015-04-26 10:03:38 -04:00
Dmitri Suvorov
38dbc01055 Updated Icons page to Font Awesome 4.3 2015-04-25 22:07:35 +03:00
Abdullah Almsaeed
4b6b9ffef9 updated docs 2015-04-25 12:58:28 -04:00
Abdullah Almsaeed
2c1ef3d5d8 Updated docs 2015-04-25 12:58:13 -04:00
Abdullah Almsaeed
28ffb61ecc Merge pull request #366 from suvjunmd/typos
Fix typos
2015-04-25 12:47:05 -04:00
Dmitri Suvorov
35ea2489b5 Fix typos 2015-04-25 14:46:22 +03:00
Abdullah Almsaeed
e419815b34 Updated Bootstrap version in comments 2015-04-22 22:21:14 -04:00
Abdullah Almsaeed
bba4150caa Merge pull request #362 from suvjunmd/typos2
Fix typos
2015-04-22 22:20:41 -04:00
Abdullah Almsaeed
1277b22ebe Updated dataTables plugin and added extensions 2015-04-22 22:03:13 -04:00
Dmitri Suvorov
6d1efe98c7 Fix typos 2015-04-23 00:13:31 +03:00
Abdullah Almsaeed
c546ed7062 Merge pull request #360 from stefanmajoor/master
Fixed typo in bower.json
2015-04-22 13:37:48 -04:00
stefanmajoor
36df97fe10 Update bower.json 2015-04-22 16:08:14 +02:00
Abdullah Almsaeed
75d1407041 Implemented suggestion in issue #341 2015-04-20 21:50:36 -04:00
Abdullah Almsaeed
22926e6792 removed unwanted margining 2015-04-19 20:56:29 -04:00
Abdullah Almsaeed
c1caa414f4 Updated boxshadow 2015-04-19 20:49:35 -04:00
Abdullah Almsaeed
bc4c3fca69 Updated box shoadow for navbar dropdown menus 2015-04-19 20:48:07 -04:00
Abdullah Almsaeed
d6861e81be added close right sidebar on document click if the slide option is enabled 2015-04-19 19:15:49 -04:00
Abdullah Almsaeed
d4674d3a1d Updated app.js 2015-04-19 18:41:56 -04:00
Abdullah Almsaeed
654614067b Removed debug code 2015-04-19 18:00:21 -04:00
Abdullah Almsaeed
f23da45064 Updated mailbox iCheck plugin 2015-04-19 11:21:04 -04:00
Abdullah Almsaeed
0f46cb356b Added demo to blank page 2015-04-19 11:16:32 -04:00
Abdullah Almsaeed
4bc1bbe090 Updated docs 2015-04-19 11:16:01 -04:00
Abdullah Almsaeed
bd926b06ac Add collapse option for labels and folders in mailbox 2015-04-19 11:15:42 -04:00
Abdullah Almsaeed
d928b118df Added option to enable expand sidebar on hover for sidebar mini 2015-04-19 08:56:15 -04:00
Abdullah Almsaeed
84ef3ce4da Updated changelog 2015-04-19 08:22:12 -04:00
Abdullah Almsaeed
811d1f3dbe Fix for sidebar mini and fixed layout 2015-04-19 08:21:03 -04:00
Abdullah Almsaeed
4476517642 Fix for sidebar mini logo overflow 2015-04-17 13:50:49 -04:00
Abdullah Almsaeed
125734950b Revert Bower version to 2.0.5 - latest stable release 2015-04-16 11:46:53 -04:00
Abdullah Almsaeed
6757b695af Update Bower 2015-04-16 11:44:18 -04:00
Abdullah Almsaeed
b149ad3db2 Removed support of RTL 2015-04-15 19:37:07 -04:00
Abdullah Almsaeed
69235fee35 Updated Bootstrap.css 2015-04-15 19:28:31 -04:00
Abdullah Almsaeed
ac2b52005c RTL version in progress 2015-04-15 19:28:17 -04:00
Abdullah Almsaeed
ed56daaf97 Merge pull request #337 from gabel/bootstrap-3.3.4
Updated bootstrap to 3.3.4
2015-04-15 19:26:31 -04:00
Abdullah Almsaeed
fd7106ce5b Added bootstrap-rtl 2015-04-15 19:08:15 -04:00
Abdullah Almsaeed
bc4a25452e Fixed typos 2015-04-15 19:07:57 -04:00
Abdullah Almsaeed
777a93ddc4 Published 2015-04-15 19:07:24 -04:00
Abdullah Almsaeed
35e0d2e73d Ignore logs 2015-04-15 19:07:05 -04:00
Abdullah Almsaeed
94e52710d5 updated 2015-04-15 19:06:16 -04:00
Abdullah Almsaeed
8f6d175488 updated 2015-04-15 19:05:38 -04:00
Abdullah Almsaeed
6eb0cefc4f changed control sidebar icon 2015-04-15 19:05:23 -04:00
Abdullah Almsaeed
9a4adb7546 Updated daterangepicker plugin 2015-04-15 18:26:56 -04:00
Abdullah Almsaeed
9ac155ee5c Fixed issue #338 2015-04-15 18:08:35 -04:00
Abdullah Almsaeed
d5c8cb8ab2 Added ability to make item clickable as suggested in issue #323 2015-04-15 18:06:38 -04:00
Abdullah Almsaeed
436856b1c3 Removed unused mixins 2015-04-14 19:14:34 -04:00
Martin Fischer
64096856cc Updated bootstrap to 3.3.4 2015-04-14 08:11:30 +02:00
Abdullah Almsaeed
e0bd7ba438 Created light skin for control sidebar 2015-04-13 21:44:47 -04:00
Abdullah Almsaeed
a1f496be11 Added default dark skin to control sidebar 2015-04-13 21:43:45 -04:00
Abdullah Almsaeed
dc2b2fef49 Fixed issue #329 2015-04-09 21:06:47 -04:00
Abdullah Almsaeed
cd4c9aecba Fixed issue #325 2015-04-09 20:59:44 -04:00
Abdullah Almsaeed
ffe1d9ced5 Fixed issue #328 2015-04-09 19:43:40 -04:00
Abdullah Almsaeed
ba23ea0a11 Fixed right sidebar and boxed layout issues 2015-04-09 19:21:44 -04:00
Abdullah Almsaeed
0d48b12fc0 Fixed sidebar mini transition issue 2015-04-09 19:19:23 -04:00
Abdullah Almsaeed
340be0df61 Updates to v2.1 alpha 2015-04-09 18:52:51 -04:00
Abdullah Almsaeed
0fc9439050 Updated light skin logos 2015-04-07 21:06:05 -04:00
Abdullah Almsaeed
0e7def36bb Adjusted contacts pane position in direct chat 2015-04-07 21:05:43 -04:00
Abdullah Almsaeed
1ef5178a6c Adjusted box overlay zindex 2015-04-07 21:04:55 -04:00
Abdullah Almsaeed
ac534fd60c Added path variable to boxed layout bg img 2015-04-04 12:55:15 -04:00
Abdullah Almsaeed
a056fbf5b2 Merge pull request #320 from Elbandi/master
Allow configure image path for boxed-bg.jpg
2015-04-04 12:52:05 -04:00
Abdullah Almsaeed
5a97938d81 Update demo 2015-04-03 23:19:41 -04:00
Abdullah Almsaeed
34a1353630 Updated 2015-04-03 22:55:46 -04:00
Abdullah Almsaeed
85b64ef0e7 Updated top layout 2015-04-03 22:55:30 -04:00
Abdullah Almsaeed
467d442c22 Added new chartjs preview page 2015-04-03 21:33:33 -04:00
Abdullah Almsaeed
b71df6e81c Added control sidebar to all pages 2015-04-03 21:19:55 -04:00
Abdullah Almsaeed
802592aa4a compiled updates 2015-04-03 20:52:09 -04:00
Abdullah Almsaeed
95fe7c218e moved chart class to miscellaneous.less 2015-04-03 20:49:47 -04:00
Abdullah Almsaeed
7516fece64 Updated links to display sidebar mini properly 2015-04-03 20:48:20 -04:00
Abdullah Almsaeed
fb77d2171c Force control sidebar to slide over content on small screens 2015-04-03 12:44:22 -04:00
Abdullah Almsaeed
4db47e6ca4 updated changelog 2015-04-03 12:43:37 -04:00
Abdullah Almsaeed
46c31acf01 Added clearfix to box elements 2015-04-03 12:34:36 -04:00
Abdullah Almsaeed
bad990bd1a Updated demo menu 2015-04-03 12:20:14 -04:00
Abdullah Almsaeed
5a2dd478fb Fixed sidebar-mini image issue 2015-04-03 12:19:55 -04:00
Abdullah Almsaeed
75596d1189 updated version 2015-04-03 12:00:48 -04:00
Abdullah Almsaeed
c74cf61565 pulled changes 2015-04-03 11:59:42 -04:00
Abdullah Almsaeed
09463c8db2 updated text colors for labels menu in sidebar 2015-04-03 11:59:05 -04:00
Abdullah Almsaeed
e9276e43ac Added skins to css and updated js 2015-04-03 11:58:10 -04:00
Abdullah Almsaeed
a00ab59882 Updated control sidebar to get rid of the need for javascript to keep up with its height 2015-04-03 11:57:46 -04:00
Abdullah Almsaeed
9a122a39d6 Add skins auto compile 2015-04-03 11:56:51 -04:00
Abdullah Almsaeed
bbef7a40e9 Added light skin files 2015-04-03 11:56:11 -04:00
Andras Elso
0b5d6e55ed Allow configure image path for boxed-bg.jpg 2015-04-03 11:30:51 +02:00
Abdullah Almsaeed
5e888faa31 Updates to control sidebar 2015-03-28 20:39:26 -04:00
Abdullah Almsaeed
4dacac85ec Updated broken links 2015-03-28 17:33:02 -04:00
Abdullah Almsaeed
bfb25a6ee8 Updated control sidebar 2015-03-28 14:44:48 -04:00
Abdullah Almsaeed
7cc7d81ad9 Created light sidebar and added new skin mixins 2015-03-28 11:14:54 -04:00
Abdullah Almsaeed
2f7f43109d Updatd collapsed sidebar support 2015-03-27 19:30:02 -04:00
Abdullah Almsaeed
ca3f112980 Updated build 2015-03-27 19:29:28 -04:00
Abdullah Almsaeed
940ac58558 Updated docs 2015-03-27 19:29:03 -04:00
Abdullah Almsaeed
919fba82f6 Added logo support for sidebar-mini 2015-03-25 19:05:57 -04:00
Abdullah Almsaeed
c2158b1138 don't remember 2015-03-25 19:00:53 -04:00
Abdullah Almsaeed
d0664b2695 Added https to CDN link 2015-03-25 18:59:50 -04:00
Abdullah Almsaeed
9ffad71b0d Fixed h2 issue that caused inability to click links 2015-03-25 17:06:41 -04:00
Abdullah Almsaeed
993aff4e31 Prettified the charts and added chartjs 2015-03-23 10:13:35 -04:00
Abdullah Almsaeed
d373b16699 Removed unwanted height restriction on sidebar 2015-03-23 00:30:16 -04:00
Abdullah Almsaeed
1ad2394ff4 Added sidebar mini support to pages 2015-03-23 00:29:33 -04:00
Abdullah Almsaeed
e9b5020cc1 removed deprecated mailbox 2015-03-23 00:25:49 -04:00
Abdullah Almsaeed
046df357d9 Replaced placehold.it image with a local link 2015-03-22 22:53:08 -04:00
Abdullah Almsaeed
df02e559cb Updated ion icons http to https 2015-03-22 22:49:04 -04:00
Abdullah Almsaeed
cbd471a3b2 Update README.md 2015-03-22 22:27:58 -04:00
Abdullah Almsaeed
8365e0e4c8 Update README.md 2015-03-22 21:38:10 -04:00
Abdullah Almsaeed
63b7c3d50e Update README.md 2015-03-22 21:37:48 -04:00
Abdullah Almsaeed
4abde39635 Added span to sidebar links to be compatible with sidebar mini 2015-03-22 21:17:14 -04:00
Abdullah Almsaeed
b4cde82b74 Sidebar mini is here 2015-03-22 21:16:06 -04:00
Abdullah Almsaeed
a771ce89ea Removed weird margin 2015-03-22 21:06:13 -04:00
Abdullah Almsaeed
de6f3a91f9 Compiled css files 2015-03-22 21:03:19 -04:00
Abdullah Almsaeed
cb5ab444d5 Prepared skins to be compatible with sidebar mini 2015-03-22 21:01:46 -04:00
Abdullah Almsaeed
7c7cc5768a Added comments 2015-03-22 17:32:38 -04:00
Abdullah Almsaeed
2b2b706438 Added transition support to sidebar mini 2015-03-22 17:31:15 -04:00
Abdullah Almsaeed
776aa33cb8 Removed extra transition function 2015-03-22 17:28:38 -04:00
Abdullah Almsaeed
c8328e944c Typo fix 2015-03-22 09:25:28 -04:00
Abdullah Almsaeed
d83809c4e9 Update Ion Icons 2015-03-22 08:45:38 -04:00
Abdullah Almsaeed
ae4fcde836 Merge from master 2015-03-21 22:38:14 -04:00
Abdullah Almsaeed
ab57813844 Updated color pallete style 2015-03-21 22:37:23 -04:00
Abdullah Almsaeed
f0fe6d8eff Update README.md 2015-03-20 11:32:59 -04:00
Abdullah Almsaeed
c25a8710f4 Updated version number 2015-03-17 11:36:50 -04:00
Abdullah Almsaeed
c7d5dea45d Updated changelog 2015-03-17 11:34:36 -04:00
Abdullah Almsaeed
edd6de2e50 Updated files 2015-03-17 11:27:50 -04:00
Abdullah Almsaeed
09b425e63e Updated version info 2015-03-17 11:26:08 -04:00
Abdullah Almsaeed
3810f026ce Fixed issue #288 2015-03-17 11:23:28 -04:00
Abdullah Almsaeed
c6e7e8dd07 Merge pull request #279 from Fuhrmann/patch-1
Update Gruntfile.js
2015-03-14 01:06:34 -04:00
Abdullah Almsaeed
4f40077a5b Update README.md 2015-03-09 10:23:06 -04:00
Abdullah Almsaeed
3e3fedd4f5 Fix bower.json issue #227 2015-03-09 10:21:18 -04:00
Ricardo Fuhrmann
544fc08aab Update Gruntfile.js
minor typo
2015-03-06 19:37:57 -04:00
Abdullah Almsaeed
22c5b35043 Merge branch 'master' of https://github.com/almasaeed2010/AdminLTE 2015-03-05 23:03:45 -05:00
Abdullah Almsaeed
c285b41223 Merge pull request #278 from Acris/master
Update demo.js
2015-03-05 23:03:30 -05:00
Abdullah Almsaeed
b11c60a6f8 Updated docs 2015-03-05 22:47:23 -05:00
Acris
5051f21522 Update demo.js
update href='#' to href='javascript:void(0);'
2015-03-05 16:07:32 +08:00
Abdullah Almsaeed
5121f708f7 Update README.md 2015-03-04 11:12:30 -05:00
Abdullah Almsaeed
ebf6b8b937 Update package.json 2015-03-04 11:11:25 -05:00
Abdullah Almsaeed
aec621eb77 Update bower.json 2015-03-04 11:10:56 -05:00
Abdullah Almsaeed
66491416c8 Merge pull request #276 from albelop/patch-1
Change AdminLTE.js to app.js in bower.json
2015-03-04 11:10:20 -05:00
albelop
c6aedd60d3 Fixed .js filename. 2015-03-04 10:34:13 +01:00
Abdullah Almsaeed
b2baf6e74f Fixed typo 2015-03-04 00:01:02 -05:00
Abdullah Almsaeed
41dbb2f9c1 Fixed indentation issue with code examples 2015-03-04 00:00:28 -05:00
Abdullah Almsaeed
59e2ba0e17 Update README.md 2015-03-03 20:40:19 -05:00
Abdullah Almsaeed
0391457ff5 Removed execution permissions from all files 2015-03-03 20:36:58 -05:00
Abdullah Almsaeed
11d8befda2 Updated changelog 2015-03-03 20:06:47 -05:00
Abdullah Almsaeed
1b54f8946d Updated versions in JS and CSS files 2015-03-03 20:04:07 -05:00
Abdullah Almsaeed
9cf17863fa Updated change log 2015-03-03 20:03:17 -05:00
Abdullah Almsaeed
9197cb613f Fixed sidebar issue 2015-03-03 19:59:20 -05:00
Abdullah Almsaeed
9753353574 Updated docs 2015-03-03 19:58:14 -05:00
Abdullah Almsaeed
5c93ffc613 Updated documentation 2015-03-02 20:11:20 -05:00
Abdullah Almsaeed
cdb3d56c38 Updated version in css 2015-03-02 18:53:54 -05:00
Abdullah Almsaeed
7165c78c3c modified permissions 2015-03-02 18:41:47 -05:00
Abdullah Almsaeed
fdb97e3d5d Created separated print.less files 2015-03-02 18:41:16 -05:00
Abdullah Almsaeed
70e9032937 Dynamically build documentation using Grunt includes 2015-03-02 18:39:46 -05:00
Abdullah Almsaeed
8015fa3456 Updated sidebar markup 2015-03-01 19:21:05 -05:00
Abdullah Almsaeed
dbfcd57ecd Updated README.md 2015-03-01 19:19:53 -05:00
Abdullah Almsaeed
e8504a1245 Added bower.json 2015-03-01 12:48:16 -05:00
Abdullah Almsaeed
643976f10e Solved issue with hash links 2015-02-27 22:28:50 -05:00
Abdullah Almsaeed
ed51f8b0ef Merge branch 'master' of https://github.com/almasaeed2010/AdminLTE 2015-02-27 22:06:26 -05:00
Abdullah Almsaeed
b81fd035f6 Updated widgets page to include AdminLTE2.0 components 2015-02-27 22:06:16 -05:00
Abdullah Almsaeed
c78bf1f4d5 Updated docs 2015-02-27 22:05:43 -05:00
Abdullah Almsaeed
1093482f1b Merge pull request #263 from ETNyx/calendar_fix_link
Calendar: add missing protocols for external libraries
2015-02-27 21:27:45 -05:00
Abdullah Almsaeed
d9aae29254 Fixed user menu bottom border radius inconsistency 2015-02-27 21:21:40 -05:00
Abdullah Almsaeed
bb63d927e7 Updated image credits 2015-02-27 21:20:59 -05:00
Abdullah Almsaeed
f882a5a054 Compiled CSS update 2015-02-27 21:14:40 -05:00
Abdullah Almsaeed
b200298e2c Made text in info boxes default to uppercase letters 2015-02-27 21:14:04 -05:00
Abdullah Almsaeed
c5aa9e00f5 Starter template. Stripped from anything not needed and commented well. 2015-02-27 21:13:18 -05:00
Abdullah Almsaeed
7b5711f4e4 Added support for direct chat contacts toggle button 2015-02-27 19:58:00 -05:00
Abdullah Almsaeed
26fc4f6a53 Corrected versioning issues 2015-02-27 19:57:17 -05:00
Silvestr Hašek
7534497535 Calendar: add missing protocols for external lib 2015-02-27 11:11:43 +01:00
Abdullah Almsaeed
1a0afe89b9 Fixed out of bounds checkbox issue 2015-02-26 21:03:58 -05:00
Abdullah Almsaeed
01cd01345a Update README.md 2015-02-26 20:27:46 -05:00
Abdullah Almsaeed
6e2661c367 Updated 2015-02-26 20:27:08 -05:00
Abdullah Almsaeed
970ba215ad Merge pull request #248 from alekstrust/master
make entire breadcrumb item clickable
2015-02-26 20:23:42 -05:00
Abdullah Almsaeed
e180f1f4d9 Merge pull request #260 from githubjeka/patch-1
Update documentation for .layout-boxed
2015-02-26 20:18:48 -05:00
Abdullah Almsaeed
c8a5c85dd4 Fixed issue #262 2015-02-26 20:12:42 -05:00
Evgeniy Tkachenko
e3c644bb21 Update documentation for .layout-boxed
https://github.com/almasaeed2010/AdminLTE/blob/master/dist/css/AdminLTE.css#L44
2015-02-26 09:04:31 +03:00
Abdullah Almsaeed
52777c1e2a Fixed comment typo 2015-02-25 13:40:23 -05:00
Abdullah Almsaeed
59fbae2aee Fixed margin issue with box loding state 2015-02-25 11:03:56 -05:00
Abdullah Almsaeed
57fb76966b Added arrow to select boxes 2015-02-25 10:13:11 -05:00
Javier Távara
1d9d946f88 make entire breadcrumb item clickable 2015-02-21 18:11:57 -05:00
1077 changed files with 216391 additions and 51270 deletions

15
.gitignore vendored Executable file → Normal file
View File

@@ -1,7 +1,12 @@
*.DS_Store
.idea
/nbproject/private/
/nbproject/
/node_modules/
TODO
*.log
*.zip
.idea
.sass-cache/
/nbproject/
/nbproject/private/
/node_modules/
/bower_components/
ad.js
TODO
test.html

289
Gruntfile.js Executable file → Normal file
View File

@@ -1,68 +1,267 @@
'use strict';
module.exports = function (grunt) {
// load all grunt tasks
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-uglify');
// AdminLTE Gruntfile
module.exports = function (grunt) { // jshint ignore:line
'use strict';
grunt.initConfig({
pkg : grunt.file.readJSON('package.json'),
watch: {
// if any .less file changes in directory "build/less/" run the "less"-task.
files: ["build/less/*.less", "build/less/skins/*.less", "dist/js/app.js"],
tasks: ["less", "uglify"]
less : {
// Compiles less files upon saving
files: ['build/less/*.less'],
tasks: ['less:development', 'less:production']
},
js : {
// Compile js files upon saving
files: ['build/js/*.js', 'dist/js/app.js'],
tasks: ['js']
},
skins: {
// Compile any skin less files upon saving
files: ['build/less/skins/*.less'],
tasks: ['less:skins', 'less:minifiedSkins']
}
},
// "less"-task configuration
//this task will compile all less files upon saving to create both AdminLTE.css and AdminLTE.min.css
less: {
//Development not compressed
development: {
options: {
//Wether to compress or not
compress: false
},
// 'less'-task configuration
// This task will compile all less files upon saving to create both AdminLTE.css and AdminLTE.min.css
less : {
// Development not compressed
development : {
files: {
// compilation.css : source.less
"dist/css/AdminLTE.css": "build/less/AdminLTE.less",
"dist/css/skins/skin-blue.css": "build/less/skins/skin-blue.less",
"dist/css/skins/skin-black.css": "build/less/skins/skin-black.less",
"dist/css/skins/skin-yellow.css": "build/less/skins/skin-yellow.less",
"dist/css/skins/skin-green.css": "build/less/skins/skin-green.less",
"dist/css/skins/skin-red.css": "build/less/skins/skin-red.less",
"dist/css/skins/skin-purple.css": "build/less/skins/skin-purple.less",
"dist/css/skins/_all-skins.css": "build/less/skins/_all-skins.less"
'dist/css/AdminLTE.css' : 'build/less/AdminLTE.less',
// AdminLTE without plugins
'dist/css/alt/AdminLTE-without-plugins.css' : 'build/less/AdminLTE-without-plugins.less',
// Separate plugins
'dist/css/alt/AdminLTE-select2.css' : 'build/less/select2.less',
'dist/css/alt/AdminLTE-fullcalendar.css' : 'build/less/fullcalendar.less',
'dist/css/alt/AdminLTE-bootstrap-social.css': 'build/less/bootstrap-social.less'
}
},
//production compresses version
production: {
// Production compressed version
production : {
options: {
//Wether to compress or not
compress: true
},
files: {
files : {
// compilation.css : source.less
"dist/css/AdminLTE.min.css": "build/less/AdminLTE.less",
"dist/css/skins/skin-blue.min.css": "build/less/skins/skin-blue.less",
"dist/css/skins/skin-black.min.css": "build/less/skins/skin-black.less",
"dist/css/skins/skin-yellow.min.css": "build/less/skins/skin-yellow.less",
"dist/css/skins/skin-green.min.css": "build/less/skins/skin-green.less",
"dist/css/skins/skin-red.min.css": "build/less/skins/skin-red.less",
"dist/css/skins/skin-purple.min.css": "build/less/skins/skin-purple.less",
"dist/css/skins/_all-skins.min.css": "build/less/skins/_all-skins.less"
'dist/css/AdminLTE.min.css' : 'build/less/AdminLTE.less',
// AdminLTE without plugins
'dist/css/alt/AdminLTE-without-plugins.min.css' : 'build/less/AdminLTE-without-plugins.less',
// Separate plugins
'dist/css/alt/AdminLTE-select2.min.css' : 'build/less/select2.less',
'dist/css/alt/AdminLTE-fullcalendar.min.css' : 'build/less/fullcalendar.less',
'dist/css/alt/AdminLTE-bootstrap-social.min.css': 'build/less/bootstrap-social.less'
}
},
// Non minified skin files
skins : {
files: {
'dist/css/skins/skin-blue.css' : 'build/less/skins/skin-blue.less',
'dist/css/skins/skin-black.css' : 'build/less/skins/skin-black.less',
'dist/css/skins/skin-yellow.css' : 'build/less/skins/skin-yellow.less',
'dist/css/skins/skin-green.css' : 'build/less/skins/skin-green.less',
'dist/css/skins/skin-red.css' : 'build/less/skins/skin-red.less',
'dist/css/skins/skin-purple.css' : 'build/less/skins/skin-purple.less',
'dist/css/skins/skin-blue-light.css' : 'build/less/skins/skin-blue-light.less',
'dist/css/skins/skin-black-light.css' : 'build/less/skins/skin-black-light.less',
'dist/css/skins/skin-yellow-light.css': 'build/less/skins/skin-yellow-light.less',
'dist/css/skins/skin-green-light.css' : 'build/less/skins/skin-green-light.less',
'dist/css/skins/skin-red-light.css' : 'build/less/skins/skin-red-light.less',
'dist/css/skins/skin-purple-light.css': 'build/less/skins/skin-purple-light.less',
'dist/css/skins/_all-skins.css' : 'build/less/skins/_all-skins.less'
}
},
// Skins minified
minifiedSkins: {
options: {
compress: true
},
files : {
'dist/css/skins/skin-blue.min.css' : 'build/less/skins/skin-blue.less',
'dist/css/skins/skin-black.min.css' : 'build/less/skins/skin-black.less',
'dist/css/skins/skin-yellow.min.css' : 'build/less/skins/skin-yellow.less',
'dist/css/skins/skin-green.min.css' : 'build/less/skins/skin-green.less',
'dist/css/skins/skin-red.min.css' : 'build/less/skins/skin-red.less',
'dist/css/skins/skin-purple.min.css' : 'build/less/skins/skin-purple.less',
'dist/css/skins/skin-blue-light.min.css' : 'build/less/skins/skin-blue-light.less',
'dist/css/skins/skin-black-light.min.css' : 'build/less/skins/skin-black-light.less',
'dist/css/skins/skin-yellow-light.min.css': 'build/less/skins/skin-yellow-light.less',
'dist/css/skins/skin-green-light.min.css' : 'build/less/skins/skin-green-light.less',
'dist/css/skins/skin-red-light.min.css' : 'build/less/skins/skin-red-light.less',
'dist/css/skins/skin-purple-light.min.css': 'build/less/skins/skin-purple-light.less',
'dist/css/skins/_all-skins.min.css' : 'build/less/skins/_all-skins.less'
}
}
},
//Uglify task info. Compress the js files.
// Uglify task info. Compress the js files.
uglify: {
options: {
mangle: true,
options : {
mangle : true,
preserveComments: 'some'
},
my_target: {
production: {
files: {
'dist/js/app.min.js': ['dist/js/app.js']
'dist/js/app.min.js' : ['dist/js/app.js'],
'dist/js/adminlte.min.js': ['dist/js/adminlte.js']
}
}
},
// Concatenate JS Files
concat: {
options: {
separator: '\n\n',
banner : '/*! AdminLTE app.js\n'
+ '* ================\n'
+ '* Main JS application file for AdminLTE v2. This file\n'
+ '* should be included in all pages. It controls some layout\n'
+ '* options and implements exclusive AdminLTE plugins.\n'
+ '*\n'
+ '* @Author Almsaeed Studio\n'
+ '* @Support <https://www.almsaeedstudio.com>\n'
+ '* @Email <abdullah@almsaeedstudio.com>\n'
+ '* @version <%= pkg.version %>\n'
+ '* @repository <%= pkg.repository.url %>\n'
+ '* @license MIT <http://opensource.org/licenses/MIT>\n'
+ '*/\n\n'
+ '// Make sure jQuery has been loaded\n'
+ 'if (typeof jQuery === \'undefined\') {\n'
+ 'throw new Error(\'AdminLTE requires jQuery\')\n'
+ '}\n\n'
},
dist : {
src : [
'build/js/Layout.js',
'build/js/PushMenu.js',
'build/js/Tree.js',
'build/js/ControlSidebar.js',
'build/js/BoxWidget.js',
'build/js/TodoList.js',
'build/js/DirectChat.js'
],
dest: 'dist/js/adminlte.js'
}
},
// Build the documentation files
includes: {
build: {
src : ['*.html'], // Source files
dest : 'documentation/', // Destination directory
flatten: true,
cwd : 'documentation/build',
options: {
silent : true,
includePath: 'documentation/build/include'
}
}
},
// Optimize images
image: {
dynamic: {
files: [
{
expand: true,
cwd : 'build/img/',
src : ['**/*.{png,jpg,gif,svg,jpeg}'],
dest : 'dist/img/'
}
]
}
},
// Validate JS code
jshint: {
options: {
jshintrc: 'build/js/.jshintrc'
},
grunt : {
options: {
jshintrc: 'build/grunt/.jshintrc'
},
src : 'Gruntfile.js'
},
core : {
src: 'build/js/*.js'
},
demo : {
src: 'dist/js/demo.js'
},
pages : {
src: 'dist/js/pages/*.js'
}
},
jscs: {
options: {
config: 'build/js/.jscsrc'
},
core : {
src: '<%= jshint.core.src %>'
},
pages : {
src: '<%= jshint.pages.src %>'
}
},
// Validate CSS files
csslint: {
options: {
csslintrc: 'build/less/.csslintrc'
},
dist : [
'dist/css/AdminLTE.css'
]
},
// Validate Bootstrap HTML
bootlint: {
options: {
relaxerror: ['W005']
},
files : ['pages/**/*.html', '*.html']
},
// Delete images in build directory
// After compressing the images in the build/img dir, there is no need
// for them
clean: {
build: ['build/img/*']
}
});
// the default task (running "grunt" in console) is "watch"
// Load all grunt tasks
// LESS Compiler
grunt.loadNpmTasks('grunt-contrib-less');
// Watch File Changes
grunt.loadNpmTasks('grunt-contrib-watch');
// Compress JS Files
grunt.loadNpmTasks('grunt-contrib-uglify');
// Include Files Within HTML
grunt.loadNpmTasks('grunt-includes');
// Optimize images
grunt.loadNpmTasks('grunt-image');
// Validate JS code
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-jscs');
// Delete not needed files
grunt.loadNpmTasks('grunt-contrib-clean');
// Lint CSS
grunt.loadNpmTasks('grunt-contrib-csslint');
// Lint Bootstrap
grunt.loadNpmTasks('grunt-bootlint');
// Concatenate JS files
grunt.loadNpmTasks('grunt-contrib-concat');
// Linting task
grunt.registerTask('lint', ['jshint', 'csslint', 'bootlint']);
// JS task
grunt.registerTask('js', ['concat', 'uglify']);
// The default task (running 'grunt' in console) is 'watch'
grunt.registerTask('default', ['watch']);
};
};

View File

@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2014-2015 almasaeed2010
Copyright (c) 2014-2017 Abdullah Almsaeed
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in

144
README.md
View File

@@ -1,68 +1,29 @@
Introduction
============
**AdminLTE** -- is a fully responsive admin template. Based on **Bootstrap 3** framework. Highly customizable and easy to use. Fits many screen resolutions from small mobile devices to large desktops. Check out the live preview now and see for yourself.
![Bower version](https://img.shields.io/bower/v/adminlte.svg)
[![npm version](https://img.shields.io/npm/v/admin-lte.svg)](https://www.npmjs.com/package/admin-lte)
[![Packagist](https://img.shields.io/packagist/v/almasaeed2010/adminlte.svg)](https://packagist.org/packages/almasaeed2010/adminlte)
[![CDNJS](https://img.shields.io/cdnjs/v/admin-lte.svg)](https://cdnjs.com/libraries/admin-lte)
**Download & Preview on [Almsaeed Studio](http://almsaeedstudio.com)**
**AdminLTE** -- is a fully responsive admin template. Based on **[Bootstrap 3](https://github.com/twbs/bootstrap)** framework. Highly customizable and easy to use. Fits many screen resolutions from small mobile devices to large desktops. Check out the live preview now and see for yourself.
Looking for Premium Templates?
------------------------------
**Almsaeed studio just opened a new premium templates page. Hand picked to insure the best quality and the most affordable prices. Visit http://almsaeedstudio.com/premium for more information.**
**Download & Preview on [Almsaeed Studio](https://almsaeedstudio.com)**
### Looking for Premium Templates?
**Almsaeed studio just opened a new premium templates website. Hand picked to ensure the best quality and the most affordable prices. Visit https://themequarry.com for more information.**
!["AdminLTE Presentation"] (http://almsaeedstudio.com/AdminLTE2.png "AdminLTE Presentation")
## Documentation & Installation Guide
Visit the [online documentation](https://almsaeedstudio.com/docs) for the most
updated guide.
**AdminLTE** has been carefully coded with clear comments in all of its JS, LESS and HTML files. LESS has been used to increase code customizability.
!["AdminLTE Presentation"] (https://almsaeedstudio.com/AdminLTE2.png "AdminLTE Presentation")
Installation
------------
There are multiple ways to install AdminLTE.
####Download:
Download from Github or [visit Almsaeed Studio](http://almsaeedstudio.com) and download the lateset release.
####Using The Command Line:
**Github**
- Fork the repository ([here is the guide](https://help.github.com/articles/fork-a-repo/)).
- Clone to your machine
```
git clone https://github.com/YOUR_USERNAME/AdminLTE.git"
```
**Bower**
```
bower install git://github.com/almasaeed2010/AdminLTE.git
```
**Composer**
```
composer require "almasaeed2010/adminlte=~2.0"
```
Documentation
-------------
Visit the [online documentation](http://almsaeedstudio.com/themes/AdminLTE/documentation/index.html) for the most
updated guide. Information will be added on a weekly basis.
Browser Support
---------------
- IE 9+
- Firefox (latest)
- Chrome (latest)
- Safari (latest)
- Opera (latest)
Contribution
------------
### Contribution
Contribution are always **welcome and recommended**! Here is how:
- Fork the repository ([here is the guide](https://help.github.com/articles/fork-a-repo/)).
- Clone to your machine ```git clone https://github.com/YOUR_USERNAME/AdminLTE.git"
- Clone to your machine ```git clone https://github.com/YOUR_USERNAME/AdminLTE.git```
- Make your changes
- Create a pull request
@@ -73,73 +34,24 @@ Contribution are always **welcome and recommended**! Here is how:
- Contributions are only accepted through Github pull requests.
- Finally, contributed code must work in all supported browsers (see above for browser support).
License
-------
AdminLTE is an open source project by [Almsaeed Studio](http://almsaeedstudio.com) that is licensed under [MIT](http://opensource.org/licenses/MIT). Almsaeed Studio
reserves the right to change the license of future releases.
### License
AdminLTE is an open source project by [Almsaeed Studio](https://almsaeedstudio.com) that is licensed under [MIT](http://opensource.org/licenses/MIT). Almsaeed Studio
reserves the right to change the license of future releases. Wondering what you can or can't do? View the [license guide](https://almsaeedstudio.com/docs/license).
Legacy Realeases
----------------
AdminLTE 1.x can be easily upgraded to 2.x using [this guide](http://almsaeedstudio.com/themes/AdminLTE/documentation/index.html#browsers), but if you intend to keep using AdminLTE 1.x, you can download the latest release from the [releases](https://github.com/almasaeed2010/AdminLTE/releases) section above.
### Legacy Releases
AdminLTE 1.x can be easily upgraded to 2.x using [this guide](https://almsaeedstudio.com/themes/AdminLTE/documentation/index.html#upgrade), but if you intend to keep using AdminLTE 1.x, you can download the latest release from the [releases](https://github.com/almasaeed2010/AdminLTE/releases) section above.
Change log
----------
**v2.0:**
### Change log
**For the most recent change log, visit the [releases page](https://github.com/almasaeed2010/AdminLTE/releases) or the [changelog file](https://github.com/almasaeed2010/AdminLTE/blob/master/changelog.md).** We will add a detailed release notes to each new release.
- Major layout bug fixes
- Change in layout mark up
- Added transitions to the sidebar
- New skins and modified previous skins
- Change in color scheme to a more complementing scheme
- Added footer support
- Removed pace.js from the main app.js
- Added support for collapsed sidebar as an initial state (add .sidebar-collapse to the body tag)
- Added boxed layout (.layout-boxed)
- Enhanced consistency in padding and margining
- Updated Bootstrap to 3.3.2
- Fixed navbar dropdown menu on small screens positioning issues.
- Updated Ion Icons to 2.0.0
- Updated FontAwesome to 4.3.0
- Added ChartJS 1.0.1
- Removed iCheck dependency
- Created Dashboard 2.0
- Created new Chat widget (DirectChat)
- Added transitions to DirectChat
- Added contacts pane to DirectChat
- Changed .right-side to .content-wrapper
- Changed .navbar-right to .navbar-custom-menu
- Removed unused files
- Updated lockscreen style (HTML markup changed!)
- Updated Login & Registration pages (HTML markup changed!)
- Updated buttons style.
- Enhanced border-radius consistency
- Added mailbox: inbox, read, and compose pages
- Bootstrap & jQuery are now hosted locally
- Created documentation.
### Image Credits
- [Pixeden](http://www.pixeden.com/psd-web-elements/flat-responsive-showcase-psd)
- [Graphicsfuel](http://www.graphicsfuel.com/2013/02/13-high-resolution-blur-backgrounds/)
- [Pickaface](http://pickaface.net/)
- [Unsplash](https://unsplash.com/)
- [Uifaces](http://uifaces.com/)
**ver 1.2:**
- Fixed the sidebar scroll issue when using the fixed layout.
- Added [Bootstrap Social Buttons](http://lipis.github.io/bootstrap-social/ "Bootstrap Social") plugin.
- Fixed RequireJS bug. Thanks to [StaticSphere](https://github.com/StaticSphere "github user").
**ver 1.1:**
- Added new skin. class: .skin-black
- Added [pace](http://github.hubspot.com/pace/docs/welcome/ "pace") plugin.
Image Credits
-------------
[Pixeden](http://www.pixeden.com/psd-web-elements/flat-responsive-showcase-psd)
[Graphicsfuel](http://www.graphicsfuel.com/2013/02/13-high-resolution-blur-backgrounds/)
[Pickaface](http://pickaface.net/)
[Unsplash](https://unsplash.com/)
Donations
---------
### Donations
Donations are **greatly appreciated!**
[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif "AdminLTE Presentation")](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=629XCUSXBHCBC "Donate")

587
bootstrap/css/bootstrap-theme.css vendored Normal file
View File

@@ -0,0 +1,587 @@
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}
.btn-default:active,
.btn-primary:active,
.btn-success:active,
.btn-info:active,
.btn-warning:active,
.btn-danger:active,
.btn-default.active,
.btn-primary.active,
.btn-success.active,
.btn-info.active,
.btn-warning.active,
.btn-danger.active {
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
.btn-default.disabled,
.btn-primary.disabled,
.btn-success.disabled,
.btn-info.disabled,
.btn-warning.disabled,
.btn-danger.disabled,
.btn-default[disabled],
.btn-primary[disabled],
.btn-success[disabled],
.btn-info[disabled],
.btn-warning[disabled],
.btn-danger[disabled],
fieldset[disabled] .btn-default,
fieldset[disabled] .btn-primary,
fieldset[disabled] .btn-success,
fieldset[disabled] .btn-info,
fieldset[disabled] .btn-warning,
fieldset[disabled] .btn-danger {
-webkit-box-shadow: none;
box-shadow: none;
}
.btn-default .badge,
.btn-primary .badge,
.btn-success .badge,
.btn-info .badge,
.btn-warning .badge,
.btn-danger .badge {
text-shadow: none;
}
.btn:active,
.btn.active {
background-image: none;
}
.btn-default {
text-shadow: 0 1px 0 #fff;
background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #dbdbdb;
border-color: #ccc;
}
.btn-default:hover,
.btn-default:focus {
background-color: #e0e0e0;
background-position: 0 -15px;
}
.btn-default:active,
.btn-default.active {
background-color: #e0e0e0;
border-color: #dbdbdb;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
background-color: #e0e0e0;
background-image: none;
}
.btn-primary {
background-image: -webkit-linear-gradient(top, #337ab7 0%, #265a88 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #265a88 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#265a88));
background-image: linear-gradient(to bottom, #337ab7 0%, #265a88 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #245580;
}
.btn-primary:hover,
.btn-primary:focus {
background-color: #265a88;
background-position: 0 -15px;
}
.btn-primary:active,
.btn-primary.active {
background-color: #265a88;
border-color: #245580;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
background-color: #265a88;
background-image: none;
}
.btn-success {
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #3e8f3e;
}
.btn-success:hover,
.btn-success:focus {
background-color: #419641;
background-position: 0 -15px;
}
.btn-success:active,
.btn-success.active {
background-color: #419641;
border-color: #3e8f3e;
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled.focus,
.btn-success[disabled].focus,
fieldset[disabled] .btn-success.focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
background-color: #419641;
background-image: none;
}
.btn-info {
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #28a4c9;
}
.btn-info:hover,
.btn-info:focus {
background-color: #2aabd2;
background-position: 0 -15px;
}
.btn-info:active,
.btn-info.active {
background-color: #2aabd2;
border-color: #28a4c9;
}
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
background-color: #2aabd2;
background-image: none;
}
.btn-warning {
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #e38d13;
}
.btn-warning:hover,
.btn-warning:focus {
background-color: #eb9316;
background-position: 0 -15px;
}
.btn-warning:active,
.btn-warning.active {
background-color: #eb9316;
border-color: #e38d13;
}
.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled.focus,
.btn-warning[disabled].focus,
fieldset[disabled] .btn-warning.focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
background-color: #eb9316;
background-image: none;
}
.btn-danger {
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-color: #b92c28;
}
.btn-danger:hover,
.btn-danger:focus {
background-color: #c12e2a;
background-position: 0 -15px;
}
.btn-danger:active,
.btn-danger.active {
background-color: #c12e2a;
border-color: #b92c28;
}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
background-color: #c12e2a;
background-image: none;
}
.thumbnail,
.img-thumbnail {
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
background-color: #e8e8e8;
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
background-repeat: repeat-x;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
background-color: #2e6da4;
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
background-repeat: repeat-x;
}
.navbar-default {
background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .active > a {
background-image: -webkit-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
background-image: -o-linear-gradient(top, #dbdbdb 0%, #e2e2e2 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#dbdbdb), to(#e2e2e2));
background-image: linear-gradient(to bottom, #dbdbdb 0%, #e2e2e2 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
background-repeat: repeat-x;
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
}
.navbar-brand,
.navbar-nav > li > a {
text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
}
.navbar-inverse {
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
background-repeat: repeat-x;
border-radius: 4px;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .active > a {
background-image: -webkit-linear-gradient(top, #080808 0%, #0f0f0f 100%);
background-image: -o-linear-gradient(top, #080808 0%, #0f0f0f 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#080808), to(#0f0f0f));
background-image: linear-gradient(to bottom, #080808 0%, #0f0f0f 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);
background-repeat: repeat-x;
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
}
.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
}
.navbar-static-top,
.navbar-fixed-top,
.navbar-fixed-bottom {
border-radius: 0;
}
@media (max-width: 767px) {
.navbar .navbar-nav .open .dropdown-menu > .active > a,
.navbar .navbar-nav .open .dropdown-menu > .active > a:hover,
.navbar .navbar-nav .open .dropdown-menu > .active > a:focus {
color: #fff;
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
background-repeat: repeat-x;
}
}
.alert {
text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
}
.alert-success {
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
background-repeat: repeat-x;
border-color: #b2dba1;
}
.alert-info {
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
background-repeat: repeat-x;
border-color: #9acfea;
}
.alert-warning {
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
background-repeat: repeat-x;
border-color: #f5e79e;
}
.alert-danger {
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
background-repeat: repeat-x;
border-color: #dca7a7;
}
.progress {
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar {
background-image: -webkit-linear-gradient(top, #337ab7 0%, #286090 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #286090 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#286090));
background-image: linear-gradient(to bottom, #337ab7 0%, #286090 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-success {
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-info {
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-warning {
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-danger {
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
background-repeat: repeat-x;
}
.progress-bar-striped {
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}
.list-group {
border-radius: 4px;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
}
.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
text-shadow: 0 -1px 0 #286090;
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2b669a 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #2b669a 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2b669a));
background-image: linear-gradient(to bottom, #337ab7 0%, #2b669a 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);
background-repeat: repeat-x;
border-color: #2b669a;
}
.list-group-item.active .badge,
.list-group-item.active:hover .badge,
.list-group-item.active:focus .badge {
text-shadow: none;
}
.panel {
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.panel-default > .panel-heading {
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
background-repeat: repeat-x;
}
.panel-primary > .panel-heading {
background-image: -webkit-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -o-linear-gradient(top, #337ab7 0%, #2e6da4 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#337ab7), to(#2e6da4));
background-image: linear-gradient(to bottom, #337ab7 0%, #2e6da4 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);
background-repeat: repeat-x;
}
.panel-success > .panel-heading {
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
background-repeat: repeat-x;
}
.panel-info > .panel-heading {
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
background-repeat: repeat-x;
}
.panel-warning > .panel-heading {
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
background-repeat: repeat-x;
}
.panel-danger > .panel-heading {
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
background-repeat: repeat-x;
}
.well {
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
background-repeat: repeat-x;
border-color: #dcdcdc;
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
}
/*# sourceMappingURL=bootstrap-theme.css.map */

File diff suppressed because one or more lines are too long

6
bootstrap/css/bootstrap-theme.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

33
bower.json Normal file
View File

@@ -0,0 +1,33 @@
{
"name": "AdminLTE",
"homepage": "http://almsaeedstudio.com",
"authors": [
"Abdullah Almsaeed <abdullah@almsaeedstudio.com>"
],
"description": "Admin dashboard and control panel template",
"main": [
"index2.html",
"dist/css/AdminLTE.css",
"dist/js/app.js",
"build/less/AdminLTE.less"
],
"keywords": [
"css",
"js",
"html",
"template",
"admin",
"bootstrap",
"theme",
"backend",
"responsive"
],
"license": "MIT",
"ignore": [
"/.*",
"node_modules",
"bower_components",
"composer.json",
"documentation"
]
}

5
build/bootstrap-less/mixins.less Normal file → Executable file
View File

@@ -1,6 +1,5 @@
// Mixins
// --------------------------------------------------
// Utilities
@import "mixins/hide-text.less";
@import "mixins/opacity.less";
@@ -11,10 +10,10 @@
@import "mixins/responsive-visibility.less";
@import "mixins/size.less";
@import "mixins/tab-focus.less";
@import "mixins/reset-text.less";
@import "mixins/text-emphasis.less";
@import "mixins/text-overflow.less";
@import "mixins/vendor-prefixes.less";
// Components
@import "mixins/alerts.less";
@import "mixins/buttons.less";
@@ -25,12 +24,10 @@
@import "mixins/forms.less";
@import "mixins/progress-bar.less";
@import "mixins/table-row.less";
// Skins
@import "mixins/background-variant.less";
@import "mixins/border-radius.less";
@import "mixins/gradients.less";
// Layout
@import "mixins/clearfix.less";
@import "mixins/center-block.less";

0
build/bootstrap-less/mixins/alerts.less Executable file → Normal file
View File

View File

@@ -2,7 +2,8 @@
.bg-variant(@color) {
background-color: @color;
a&:hover {
a&:hover,
a&:focus {
background-color: darken(@color, 10%);
}
}

11
build/bootstrap-less/mixins/border-radius.less Executable file → Normal file
View File

@@ -2,17 +2,20 @@
.border-top-radius(@radius) {
border-top-right-radius: @radius;
border-top-left-radius: @radius;
border-top-left-radius: @radius;
}
.border-right-radius(@radius) {
border-bottom-right-radius: @radius;
border-top-right-radius: @radius;
border-top-right-radius: @radius;
}
.border-bottom-radius(@radius) {
border-bottom-right-radius: @radius;
border-bottom-left-radius: @radius;
border-bottom-left-radius: @radius;
}
.border-left-radius(@radius) {
border-bottom-left-radius: @radius;
border-top-left-radius: @radius;
border-top-left-radius: @radius;
}

View File

@@ -8,15 +8,31 @@
background-color: @background;
border-color: @border;
&:hover,
&:focus,
&.focus,
&.focus {
color: @color;
background-color: darken(@background, 10%);
border-color: darken(@border, 25%);
}
&:hover {
color: @color;
background-color: darken(@background, 10%);
border-color: darken(@border, 12%);
}
&:active,
&.active,
.open > .dropdown-toggle& {
color: @color;
background-color: darken(@background, 10%);
border-color: darken(@border, 12%);
border-color: darken(@border, 12%);
&:hover,
&:focus,
&.focus {
color: @color;
background-color: darken(@background, 17%);
border-color: darken(@border, 25%);
}
}
&:active,
&.active,
@@ -33,7 +49,7 @@
&:active,
&.active {
background-color: @background;
border-color: @border;
border-color: @border;
}
}

0
build/bootstrap-less/mixins/center-block.less Executable file → Normal file
View File

0
build/bootstrap-less/mixins/clearfix.less Executable file → Normal file
View File

9
build/bootstrap-less/mixins/forms.less Executable file → Normal file
View File

@@ -14,16 +14,16 @@
&.radio label,
&.checkbox label,
&.radio-inline label,
&.checkbox-inline label {
&.checkbox-inline label {
color: @text-color;
}
// Set the border and box shadow on specific inputs to match
.form-control {
border-color: @border-color;
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
.box-shadow(inset 0 1px 1px rgba(0, 0, 0, .075)); // Redeclare so transitions work
&:focus {
border-color: darken(@border-color, 10%);
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@border-color, 20%);
@shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px lighten(@border-color, 20%);
.box-shadow(@shadow);
}
}
@@ -39,7 +39,6 @@
}
}
// Form control focus state
//
// Generate a customized focus state and for any input with the specified color,
@@ -79,7 +78,7 @@
}
textarea&,
select[multiple]& {
select[multiple] & {
height: auto;
}
}

12
build/bootstrap-less/mixins/gradients.less Executable file → Normal file
View File

@@ -11,7 +11,7 @@
background-image: -o-linear-gradient(left, @start-color @start-percent, @end-color @end-percent); // Opera 12
background-image: linear-gradient(to right, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
background-repeat: repeat-x;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)", argb(@start-color), argb(@end-color))); // IE9 and down
}
// Vertical gradient, from top to bottom
@@ -19,11 +19,11 @@
// Creates two color stops, start and end, by specifying a color and position for each color stop.
// Color stops are not available in IE9 and below.
.vertical(@start-color: #555; @end-color: #333; @start-percent: 0%; @end-percent: 100%) {
background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+
background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Opera 12
background-image: -webkit-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Safari 5.1-6, Chrome 10+
background-image: -o-linear-gradient(top, @start-color @start-percent, @end-color @end-percent); // Opera 12
background-image: linear-gradient(to bottom, @start-color @start-percent, @end-color @end-percent); // Standard, IE10, Firefox 16+, Opera 12.10+, Safari 7+, Chrome 26+
background-repeat: repeat-x;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)", argb(@start-color), argb(@end-color))); // IE9 and down
}
.directional(@start-color: #555; @end-color: #333; @deg: 45deg) {
@@ -37,14 +37,14 @@
background-image: -o-linear-gradient(left, @start-color, @mid-color @color-stop, @end-color);
background-image: linear-gradient(to right, @start-color, @mid-color @color-stop, @end-color);
background-repeat: no-repeat;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=1)", argb(@start-color), argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
}
.vertical-three-colors(@start-color: #00b3ee; @mid-color: #7a43b6; @color-stop: 50%; @end-color: #c3325f) {
background-image: -webkit-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
background-image: -o-linear-gradient(@start-color, @mid-color @color-stop, @end-color);
background-image: linear-gradient(@start-color, @mid-color @color-stop, @end-color);
background-repeat: no-repeat;
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@start-color),argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)", argb(@start-color), argb(@end-color))); // IE9 and down, gets no color-stop at all for proper fallback
}
.radial(@inner-color: #555; @outer-color: #333) {
background-image: -webkit-radial-gradient(circle, @inner-color, @outer-color);

25
build/bootstrap-less/mixins/grid-framework.less Executable file → Normal file
View File

@@ -5,21 +5,24 @@
.make-grid-columns() {
// Common styles for all sizes of grid columns, widths 1-12
.col(@index) { // initial
.col(@index) {
// initial
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
.col((@index + 1), @item);
}
.col(@index, @list) when (@index =< @grid-columns) { // general; "=<" isn't a typo
.col(@index, @list) when (@index =< @grid-columns) {
// general; "=<" isn't a typo
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
.col((@index + 1), ~"@{list}, @{item}");
}
.col(@index, @list) when (@index > @grid-columns) { // terminal
.col(@index, @list) when (@index > @grid-columns) {
// terminal
@{list} {
position: relative;
// Prevent columns from collapsing when empty
min-height: 1px;
// Inner gutter via padding
padding-left: (@grid-gutter-width / 2);
padding-left: (@grid-gutter-width / 2);
padding-right: (@grid-gutter-width / 2);
}
}
@@ -27,15 +30,18 @@
}
.float-grid-columns(@class) {
.col(@index) { // initial
.col(@index) {
// initial
@item: ~".col-@{class}-@{index}";
.col((@index + 1), @item);
}
.col(@index, @list) when (@index =< @grid-columns) { // general
.col(@index, @list) when (@index =< @grid-columns) {
// general
@item: ~".col-@{class}-@{index}";
.col((@index + 1), ~"@{list}, @{item}");
}
.col(@index, @list) when (@index > @grid-columns) { // terminal
.col(@index, @list) when (@index > @grid-columns) {
// terminal
@{list} {
float: left;
}
@@ -48,26 +54,31 @@
width: percentage((@index / @grid-columns));
}
}
.calc-grid-column(@index, @class, @type) when (@type = push) and (@index > 0) {
.col-@{class}-push-@{index} {
left: percentage((@index / @grid-columns));
}
}
.calc-grid-column(@index, @class, @type) when (@type = push) and (@index = 0) {
.col-@{class}-push-0 {
left: auto;
}
}
.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index > 0) {
.col-@{class}-pull-@{index} {
right: percentage((@index / @grid-columns));
}
}
.calc-grid-column(@index, @class, @type) when (@type = pull) and (@index = 0) {
.col-@{class}-pull-0 {
right: auto;
}
}
.calc-grid-column(@index, @class, @type) when (@type = offset) {
.col-@{class}-offset-@{index} {
margin-left: percentage((@index / @grid-columns));

View File

@@ -6,15 +6,15 @@
.container-fixed(@gutter: @grid-gutter-width) {
margin-right: auto;
margin-left: auto;
padding-left: (@gutter / 2);
padding-left: (@gutter / 2);
padding-right: (@gutter / 2);
&:extend(.clearfix all);
}
// Creates a wrapper for a series of columns
.make-row(@gutter: @grid-gutter-width) {
margin-left: (@gutter / -2);
margin-right: (@gutter / -2);
margin-left: ceil((@gutter / -2));
margin-right: floor((@gutter / -2));
&:extend(.clearfix all);
}
@@ -24,15 +24,18 @@
float: left;
width: percentage((@columns / @grid-columns));
min-height: 1px;
padding-left: (@gutter / 2);
padding-left: (@gutter / 2);
padding-right: (@gutter / 2);
}
.make-xs-column-offset(@columns) {
margin-left: percentage((@columns / @grid-columns));
}
.make-xs-column-push(@columns) {
left: percentage((@columns / @grid-columns));
}
.make-xs-column-pull(@columns) {
right: percentage((@columns / @grid-columns));
}
@@ -41,7 +44,7 @@
.make-sm-column(@columns; @gutter: @grid-gutter-width) {
position: relative;
min-height: 1px;
padding-left: (@gutter / 2);
padding-left: (@gutter / 2);
padding-right: (@gutter / 2);
@media (min-width: @screen-sm-min) {
@@ -49,16 +52,19 @@
width: percentage((@columns / @grid-columns));
}
}
.make-sm-column-offset(@columns) {
@media (min-width: @screen-sm-min) {
margin-left: percentage((@columns / @grid-columns));
}
}
.make-sm-column-push(@columns) {
@media (min-width: @screen-sm-min) {
left: percentage((@columns / @grid-columns));
}
}
.make-sm-column-pull(@columns) {
@media (min-width: @screen-sm-min) {
right: percentage((@columns / @grid-columns));
@@ -69,7 +75,7 @@
.make-md-column(@columns; @gutter: @grid-gutter-width) {
position: relative;
min-height: 1px;
padding-left: (@gutter / 2);
padding-left: (@gutter / 2);
padding-right: (@gutter / 2);
@media (min-width: @screen-md-min) {
@@ -77,16 +83,19 @@
width: percentage((@columns / @grid-columns));
}
}
.make-md-column-offset(@columns) {
@media (min-width: @screen-md-min) {
margin-left: percentage((@columns / @grid-columns));
}
}
.make-md-column-push(@columns) {
@media (min-width: @screen-md-min) {
left: percentage((@columns / @grid-columns));
}
}
.make-md-column-pull(@columns) {
@media (min-width: @screen-md-min) {
right: percentage((@columns / @grid-columns));
@@ -97,7 +106,7 @@
.make-lg-column(@columns; @gutter: @grid-gutter-width) {
position: relative;
min-height: 1px;
padding-left: (@gutter / 2);
padding-left: (@gutter / 2);
padding-right: (@gutter / 2);
@media (min-width: @screen-lg-min) {
@@ -105,16 +114,19 @@
width: percentage((@columns / @grid-columns));
}
}
.make-lg-column-offset(@columns) {
@media (min-width: @screen-lg-min) {
margin-left: percentage((@columns / @grid-columns));
}
}
.make-lg-column-push(@columns) {
@media (min-width: @screen-lg-min) {
left: percentage((@columns / @grid-columns));
}
}
.make-lg-column-pull(@columns) {
@media (min-width: @screen-lg-min) {
right: percentage((@columns / @grid-columns));

View File

@@ -1,6 +1,6 @@
// CSS image replacement
//
// Heads up! v3 launched with with only `.hide-text()`, but per our pattern for
// Heads up! v3 launched with only `.hide-text()`, but per our pattern for
// mixins being reused as classes with the same name, this doesn't hold up. As
// of v3.0.1 we have added `.text-hide()` and deprecated `.hide-text()`.
//

10
build/bootstrap-less/mixins/image.less Executable file → Normal file
View File

@@ -2,7 +2,6 @@
// - Responsive image
// - Retina image
// Responsive image
//
// Keep images from scaling beyond the width of their parents.
@@ -12,7 +11,6 @@
height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
}
// Retina image
//
// Short retina mixin for setting background-image and -size. Note that the
@@ -20,13 +18,7 @@
.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
background-image: url("@{file-1x}");
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and ( min--moz-device-pixel-ratio: 2),
only screen and ( -o-min-device-pixel-ratio: 2/1),
only screen and ( min-device-pixel-ratio: 2),
only screen and ( min-resolution: 192dpi),
only screen and ( min-resolution: 2dppx) {
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and ( min--moz-device-pixel-ratio: 2), only screen and ( -o-min-device-pixel-ratio: 2/1), only screen and ( min-device-pixel-ratio: 2), only screen and ( min-resolution: 192dpi), only screen and ( min-resolution: 2dppx) {
background-image: url("@{file-2x}");
background-size: @width-1x @height-1x;
}

0
build/bootstrap-less/mixins/labels.less Executable file → Normal file
View File

View File

@@ -5,7 +5,8 @@
color: @color;
background-color: @background;
a& {
a&,
button& {
color: @color;
.list-group-item-heading {

0
build/bootstrap-less/mixins/nav-divider.less Executable file → Normal file
View File

0
build/bootstrap-less/mixins/nav-vertical-align.less Executable file → Normal file
View File

0
build/bootstrap-less/mixins/opacity.less Executable file → Normal file
View File

View File

@@ -1,11 +1,12 @@
// Pagination
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @border-radius) {
.pagination-size(@padding-vertical; @padding-horizontal; @font-size; @line-height; @border-radius) {
> li {
> a,
> span {
padding: @padding-vertical @padding-horizontal;
font-size: @font-size;
line-height: @line-height;
}
&:first-child {
> a,

0
build/bootstrap-less/mixins/panels.less Executable file → Normal file
View File

1
build/bootstrap-less/mixins/progress-bar.less Executable file → Normal file
View File

@@ -1,4 +1,5 @@
// Progress bars
.progress-bar-variant(@color) {
background-color: @color;

0
build/bootstrap-less/mixins/reset-filter.less Executable file → Normal file
View File

View File

@@ -0,0 +1,18 @@
.reset-text() {
font-family: @font-family-base;
// We deliberately do NOT reset font-size.
font-style: normal;
font-weight: normal;
letter-spacing: normal;
line-break: auto;
line-height: @line-height-base;
text-align: left; // Fallback for where `start` is not supported
text-align: start;
text-decoration: none;
text-shadow: none;
text-transform: none;
white-space: normal;
word-break: normal;
word-spacing: normal;
word-wrap: normal;
}

0
build/bootstrap-less/mixins/resize.less Executable file → Normal file
View File

12
build/bootstrap-less/mixins/responsive-visibility.less Executable file → Normal file
View File

@@ -4,10 +4,16 @@
// More easily include all the states for responsive-utilities.less.
.responsive-visibility() {
display: block !important;
table& { display: table; }
tr& { display: table-row !important; }
table& {
display: table !important;
}
tr& {
display: table-row !important;
}
th&,
td& { display: table-cell !important; }
td& {
display: table-cell !important;
}
}
.responsive-invisibility() {

0
build/bootstrap-less/mixins/size.less Executable file → Normal file
View File

0
build/bootstrap-less/mixins/tab-focus.less Executable file → Normal file
View File

0
build/bootstrap-less/mixins/table-row.less Executable file → Normal file
View File

View File

@@ -2,7 +2,8 @@
.text-emphasis-variant(@color) {
color: @color;
a&:hover {
a&:hover,
a&:focus {
color: darken(@color, 10%);
}
}

0
build/bootstrap-less/mixins/text-overflow.less Executable file → Normal file
View File

275
build/bootstrap-less/mixins/vendor-prefixes.less Executable file → Normal file
View File

@@ -14,50 +14,56 @@
// - Transitions
// - User Select
// Animations
.animation(@animation) {
-webkit-animation: @animation;
-o-animation: @animation;
animation: @animation;
-o-animation: @animation;
animation: @animation;
}
.animation-name(@name) {
-webkit-animation-name: @name;
animation-name: @name;
animation-name: @name;
}
.animation-duration(@duration) {
-webkit-animation-duration: @duration;
animation-duration: @duration;
animation-duration: @duration;
}
.animation-timing-function(@timing-function) {
-webkit-animation-timing-function: @timing-function;
animation-timing-function: @timing-function;
animation-timing-function: @timing-function;
}
.animation-delay(@delay) {
-webkit-animation-delay: @delay;
animation-delay: @delay;
animation-delay: @delay;
}
.animation-iteration-count(@iteration-count) {
-webkit-animation-iteration-count: @iteration-count;
animation-iteration-count: @iteration-count;
animation-iteration-count: @iteration-count;
}
.animation-direction(@direction) {
-webkit-animation-direction: @direction;
animation-direction: @direction;
animation-direction: @direction;
}
.animation-fill-mode(@fill-mode) {
-webkit-animation-fill-mode: @fill-mode;
animation-fill-mode: @fill-mode;
animation-fill-mode: @fill-mode;
}
// Backface visibility
// Prevent browsers from flickering when using CSS 3D transforms.
// Default value is `visible`, but can be changed to `hidden`
.backface-visibility(@visibility){
.backface-visibility(@visibility) {
-webkit-backface-visibility: @visibility;
-moz-backface-visibility: @visibility;
backface-visibility: @visibility;
-moz-backface-visibility: @visibility;
backface-visibility: @visibility;
}
// Drop shadows
@@ -67,34 +73,34 @@
.box-shadow(@shadow) {
-webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
box-shadow: @shadow;
box-shadow: @shadow;
}
// Box sizing
.box-sizing(@boxmodel) {
-webkit-box-sizing: @boxmodel;
-moz-box-sizing: @boxmodel;
box-sizing: @boxmodel;
-moz-box-sizing: @boxmodel;
box-sizing: @boxmodel;
}
// CSS3 Content Columns
.content-columns(@column-count; @column-gap: @grid-gutter-width) {
-webkit-column-count: @column-count;
-moz-column-count: @column-count;
column-count: @column-count;
-moz-column-count: @column-count;
column-count: @column-count;
-webkit-column-gap: @column-gap;
-moz-column-gap: @column-gap;
column-gap: @column-gap;
-moz-column-gap: @column-gap;
column-gap: @column-gap;
}
// Optional hyphenation
.hyphens(@mode: auto) {
word-wrap: break-word;
-webkit-hyphens: @mode;
-moz-hyphens: @mode;
-ms-hyphens: @mode; // IE10+
-o-hyphens: @mode;
hyphens: @mode;
-moz-hyphens: @mode;
-ms-hyphens: @mode; // IE10+
-o-hyphens: @mode;
hyphens: @mode;
}
// Placeholder text
@@ -104,124 +110,145 @@
color: @color;
opacity: 1; // Override Firefox's unusual default opacity; see https://github.com/twbs/bootstrap/pull/11526
}
&:-ms-input-placeholder { color: @color; } // Internet Explorer 10+
&::-webkit-input-placeholder { color: @color; } // Safari and Chrome
&:-ms-input-placeholder {
color: @color;
}
// Internet Explorer 10+
&::-webkit-input-placeholder {
color: @color;
}
// Safari and Chrome
}
// Transformations
.scale(@ratio) {
-webkit-transform: scale(@ratio);
-ms-transform: scale(@ratio); // IE9 only
-o-transform: scale(@ratio);
transform: scale(@ratio);
}
.scale(@ratioX; @ratioY) {
-webkit-transform: scale(@ratioX, @ratioY);
-ms-transform: scale(@ratioX, @ratioY); // IE9 only
-o-transform: scale(@ratioX, @ratioY);
transform: scale(@ratioX, @ratioY);
}
.scaleX(@ratio) {
-webkit-transform: scaleX(@ratio);
-ms-transform: scaleX(@ratio); // IE9 only
-o-transform: scaleX(@ratio);
transform: scaleX(@ratio);
}
.scaleY(@ratio) {
-webkit-transform: scaleY(@ratio);
-ms-transform: scaleY(@ratio); // IE9 only
-o-transform: scaleY(@ratio);
transform: scaleY(@ratio);
}
.skew(@x; @y) {
-webkit-transform: skewX(@x) skewY(@y);
-ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
-o-transform: skewX(@x) skewY(@y);
transform: skewX(@x) skewY(@y);
}
.translate(@x; @y) {
-webkit-transform: translate(@x, @y);
-ms-transform: translate(@x, @y); // IE9 only
-o-transform: translate(@x, @y);
transform: translate(@x, @y);
}
.translate3d(@x; @y; @z) {
-webkit-transform: translate3d(@x, @y, @z);
transform: translate3d(@x, @y, @z);
}
.rotate(@degrees) {
-webkit-transform: rotate(@degrees);
-ms-transform: rotate(@degrees); // IE9 only
-o-transform: rotate(@degrees);
transform: rotate(@degrees);
}
.rotateX(@degrees) {
-webkit-transform: rotateX(@degrees);
-ms-transform: rotateX(@degrees); // IE9 only
-o-transform: rotateX(@degrees);
transform: rotateX(@degrees);
}
.rotateY(@degrees) {
-webkit-transform: rotateY(@degrees);
-ms-transform: rotateY(@degrees); // IE9 only
-o-transform: rotateY(@degrees);
transform: rotateY(@degrees);
}
.perspective(@perspective) {
-webkit-perspective: @perspective;
-moz-perspective: @perspective;
perspective: @perspective;
}
.perspective-origin(@perspective) {
-webkit-perspective-origin: @perspective;
-moz-perspective-origin: @perspective;
perspective-origin: @perspective;
}
.transform-origin(@origin) {
-webkit-transform-origin: @origin;
-moz-transform-origin: @origin;
-ms-transform-origin: @origin; // IE9 only
transform-origin: @origin;
-ms-transform: scale(@ratio); // IE9 only
-o-transform: scale(@ratio);
transform: scale(@ratio);
}
.scale(@ratioX; @ratioY) {
-webkit-transform: scale(@ratioX, @ratioY);
-ms-transform: scale(@ratioX, @ratioY); // IE9 only
-o-transform: scale(@ratioX, @ratioY);
transform: scale(@ratioX, @ratioY);
}
.scaleX(@ratio) {
-webkit-transform: scaleX(@ratio);
-ms-transform: scaleX(@ratio); // IE9 only
-o-transform: scaleX(@ratio);
transform: scaleX(@ratio);
}
.scaleY(@ratio) {
-webkit-transform: scaleY(@ratio);
-ms-transform: scaleY(@ratio); // IE9 only
-o-transform: scaleY(@ratio);
transform: scaleY(@ratio);
}
.skew(@x; @y) {
-webkit-transform: skewX(@x) skewY(@y);
-ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
-o-transform: skewX(@x) skewY(@y);
transform: skewX(@x) skewY(@y);
}
.translate(@x; @y) {
-webkit-transform: translate(@x, @y);
-ms-transform: translate(@x, @y); // IE9 only
-o-transform: translate(@x, @y);
transform: translate(@x, @y);
}
.translate3d(@x; @y; @z) {
-webkit-transform: translate3d(@x, @y, @z);
transform: translate3d(@x, @y, @z);
}
.rotate(@degrees) {
-webkit-transform: rotate(@degrees);
-ms-transform: rotate(@degrees); // IE9 only
-o-transform: rotate(@degrees);
transform: rotate(@degrees);
}
.rotateX(@degrees) {
-webkit-transform: rotateX(@degrees);
-ms-transform: rotateX(@degrees); // IE9 only
-o-transform: rotateX(@degrees);
transform: rotateX(@degrees);
}
.rotateY(@degrees) {
-webkit-transform: rotateY(@degrees);
-ms-transform: rotateY(@degrees); // IE9 only
-o-transform: rotateY(@degrees);
transform: rotateY(@degrees);
}
.perspective(@perspective) {
-webkit-perspective: @perspective;
-moz-perspective: @perspective;
perspective: @perspective;
}
.perspective-origin(@perspective) {
-webkit-perspective-origin: @perspective;
-moz-perspective-origin: @perspective;
perspective-origin: @perspective;
}
.transform-origin(@origin) {
-webkit-transform-origin: @origin;
-moz-transform-origin: @origin;
-ms-transform-origin: @origin; // IE9 only
transform-origin: @origin;
}
// Transitions
.transition(@transition) {
-webkit-transition: @transition;
-o-transition: @transition;
transition: @transition;
}
.transition-property(@transition-property) {
-webkit-transition-property: @transition-property;
transition-property: @transition-property;
}
.transition-delay(@transition-delay) {
-webkit-transition-delay: @transition-delay;
transition-delay: @transition-delay;
}
.transition-duration(@transition-duration) {
-webkit-transition-duration: @transition-duration;
transition-duration: @transition-duration;
}
.transition-timing-function(@timing-function) {
-webkit-transition-timing-function: @timing-function;
transition-timing-function: @timing-function;
}
.transition-transform(@transition) {
-webkit-transition: -webkit-transform @transition;
-moz-transition: -moz-transform @transition;
-o-transition: -o-transform @transition;
transition: transform @transition;
-o-transition: @transition;
transition: @transition;
}
.transition-property(@transition-property) {
-webkit-transition-property: @transition-property;
transition-property: @transition-property;
}
.transition-delay(@transition-delay) {
-webkit-transition-delay: @transition-delay;
transition-delay: @transition-delay;
}
.transition-duration(@transition-duration) {
-webkit-transition-duration: @transition-duration;
transition-duration: @transition-duration;
}
.transition-timing-function(@timing-function) {
-webkit-transition-timing-function: @timing-function;
transition-timing-function: @timing-function;
}
.transition-transform(@transition) {
-webkit-transition: -webkit-transform @transition;
-moz-transition: -moz-transform @transition;
-o-transition: -o-transform @transition;
transition: transform @transition;
}
// User select
// For selecting text on the page
.user-select(@select) {
-webkit-user-select: @select;
-moz-user-select: @select;
-ms-user-select: @select; // IE10+
user-select: @select;
-moz-user-select: @select;
-ms-user-select: @select; // IE10+
user-select: @select;
}

802
build/bootstrap-less/variables.less Executable file → Normal file

File diff suppressed because it is too large Load Diff

7
build/grunt/.jshintrc Normal file
View File

@@ -0,0 +1,7 @@
{
"extends" : "../js/.jshintrc",
"asi" : false,
"browser" : false,
"es3" : false,
"node" : true
}

42
build/js/.jscsrc Normal file
View File

@@ -0,0 +1,42 @@
{
"disallowEmptyBlocks": true,
"disallowKeywords": ["with"],
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineStrings": true,
"disallowMultipleVarDecl": true,
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
"disallowSpaceBeforeBinaryOperators": [","],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
"disallowSpacesInsideArrayBrackets": true,
"disallowSpacesInsideParentheses": true,
"disallowTrailingComma": true,
"disallowTrailingWhitespace": true,
"requireCamelCaseOrUpperCaseIdentifiers": true,
"requireCapitalizedConstructors": true,
"requireCommaBeforeLineBreak": true,
"requireDollarBeforejQueryAssignment": true,
"requireDotNotation": true,
"requireLineFeedAtFileEnd": true,
"requirePaddingNewLinesAfterUseStrict": true,
"requirePaddingNewLinesBeforeExport": true,
"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
"requireSpaceAfterLineComment": true,
"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
"requireSpaceBetweenArguments": true,
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningCurlyBrace": true, "beforeOpeningRoundBrace": true },
"requireSpacesInConditionalExpression": true,
"requireSpacesInForStatement": true,
"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
"requireSpacesInsideObjectBrackets": "allButNested",
"validateAlignedFunctionParameters": true,
"validateIndentation": 2,
"validateLineBreaks": "LF",
"validateNewlineAfterArrayElements": true,
"validateQuoteMarks": "'",
"maxErrors": "3000"
}

17
build/js/.jshintrc Normal file
View File

@@ -0,0 +1,17 @@
{
"asi" : true,
"browser" : true,
"eqeqeq" : false,
"eqnull" : true,
"es3" : true,
"expr" : true,
"jquery" : true,
"latedef" : true,
"laxbreak" : true,
"nonbsp" : true,
"strict" : true,
"undef" : true,
"unused" : true,
// External variabls and plugins
"predef": [ "AdminLTEOptions", "FastClick", "moment", "Morris", "Chart" ]
}

119
build/js/BoxRefresh.js Normal file
View File

@@ -0,0 +1,119 @@
/* BoxRefresh()
* =========
* Adds AJAX content control to a box.
*
* @Usage: $('#my-box').boxRefresh(options)
* or add [data-widget="box-refresh"] to the box element
* Pass any option as data-option="value"
*/
+function ($) {
'use strict'
var DataKey = 'lte.boxrefresh'
var Default = {
source : '',
params : {},
trigger : '.refresh-btn',
content : '.box-body',
loadInContent : true,
responseType : '',
overlayTemplate: '<div class="overlay"><div class="fa fa-refresh fa-spin"></div></div>',
onLoadStart : function () {
},
onLoadDone : function (response) {
return response
}
}
var Selector = {
data: '[data-widget="box-refresh"]'
}
// BoxRefresh Class Definition
// =========================
var BoxRefresh = function (element, options) {
this.element = element
this.options = options
this.$overlay = $(options.overlay)
if (options.source === '') {
throw new Error('Source url was not defined. Please specify a url in your BoxRefresh source option.')
}
this._setUpListeners()
this.load()
}
BoxRefresh.prototype.load = function () {
this._addOverlay()
this.options.onLoadStart.call($(this))
$.get(this.options.source, this.options.params, function (response) {
if (this.options.loadInContent) {
$(this.options.content).html(response)
}
this.options.onLoadDone.call($(this), response)
this._removeOverlay()
}.bind(this), this.options.responseType !== '' && this.options.responseType)
}
// Private
BoxRefresh.prototype._setUpListeners = function () {
$(this.element).on('click', Selector.trigger, function (event) {
if (event) event.preventDefault()
this.load()
}.bind(this))
}
BoxRefresh.prototype._addOverlay = function () {
$(this.element).append(this.$overlay)
}
BoxRefresh.prototype._removeOverlay = function () {
$(this.element).remove(this.$overlay)
}
// Plugin Definition
// =================
function Plugin(option) {
return this.each(function () {
var $this = $(this)
var data = $this.data(DataKey)
if (!data) {
var options = $.extend({}, Default, $this.data(), typeof option == 'object' && option)
$this.data(DataKey, (data = new BoxRefresh($this, options)))
}
if (typeof data == 'string') {
if (typeof data[option] == 'undefined') {
throw new Error('No method named ' + option)
}
data[option]()
}
})
}
var old = $.fn.boxRefresh
$.fn.boxRefresh = Plugin
$.fn.boxRefresh.Constructor = BoxRefresh
// No Conflict Mode
// ================
$.fn.boxRefresh.noConflict = function () {
$.fn.boxRefresh = old
return this
}
// BoxRefresh Data API
// =================
$(window).on('load', function () {
$(Selector.data).each(function () {
Plugin.call($(this))
})
})
}(jQuery)

161
build/js/BoxWidget.js Normal file
View File

@@ -0,0 +1,161 @@
/* BoxWidget()
* ======
* Adds box widget functions to boxes.
*
* @Usage: $('.my-box').boxWidget(options)
* or add [data-widget="box-widget"] to the ul element
* Pass any option as data-option="value"
*/
+function ($) {
'use strict'
var DataKey = 'lte.boxwidget'
var Default = {
animationSpeed : 500,
collapseTrigger: '[data-widget="collapse"]',
removeTrigger : '[data-widget="remove"]',
collapseIcon : 'fa-minus',
expandIcon : 'fa-plus',
removeIcon : 'fa-times'
}
var Selector = {
data : '.box',
collapsed: '.collapsed-box',
body : '.box-body',
footer : '.box-footer',
tools : '.box-tools'
}
var ClassName = {
collapsed: 'collapsed-box'
}
var Event = {
collapsed: 'collapsed.boxwidget',
expanded : 'expanded.boxwidget',
removed : 'removed.boxwidget'
}
// BoxWidget Class Definition
// =====================
var BoxWidget = function (element, options) {
this.element = element
this.options = options
this._setUpListeners()
}
BoxWidget.prototype.toggle = function () {
var isOpen = !$(this.element).is(Selector.collapsed)
if (isOpen) {
this.collapse()
} else {
this.expand()
}
}
BoxWidget.prototype.expand = function () {
var expandedEvent = $.Event(Event.expanded)
var collapseIcon = this.options.collapseIcon
var expandIcon = this.options.expandIcon
$(this.element).removeClass(ClassName.collapsed)
$(Selector.tools)
.find('.' + expandIcon)
.removeClass(expandIcon)
.addClass(collapseIcon)
$(this.element).find(Selector.body + ', ' + Selector.footer)
.slideDown(this.options.animationSpeed, function () {
$(this.element).trigger(expandedEvent)
}.bind(this))
}
BoxWidget.prototype.collapse = function () {
var collapsedEvent = $.Event(Event.collapsed)
var collapseIcon = this.options.collapseIcon
var expandIcon = this.options.expandIcon
$(Selector.tools)
.find('.' + collapseIcon)
.removeClass(collapseIcon)
.addClass(expandIcon)
$(this.element).find(Selector.body + ', ' + Selector.footer)
.slideUp(this.options.animationSpeed, function () {
$(this.element).addClass(ClassName.collapsed)
$(this.element).trigger(collapsedEvent)
}.bind(this))
}
BoxWidget.prototype.remove = function () {
var removedEvent = $.Event(Event.removed)
$(this.element).slideUp(this.options.animationSpeed, function () {
$(this.element).trigger(removedEvent)
$(this.element).remove()
}.bind(this))
}
// Private
BoxWidget.prototype._setUpListeners = function () {
var that = this
$(this.element).on('click', this.options.collapseTrigger, function (event) {
if (event) event.preventDefault()
that.toggle($(this))
})
$(this.element).on('click', this.options.removeTrigger, function (event) {
if (event) event.preventDefault()
that.remove($(this))
})
}
// Plugin Definition
// =================
function Plugin(option) {
return this.each(function () {
var $this = $(this)
var data = $this.data(DataKey)
if (!data) {
var options = $.extend({}, Default, $this.data(), typeof option == 'object' && option)
$this.data(DataKey, (data = new BoxWidget($this, options)))
}
if (typeof option == 'string') {
if (typeof data[option] == 'undefined') {
throw new Error('No method named ' + option)
}
data[option]()
}
})
}
var old = $.fn.boxWidget
$.fn.boxWidget = Plugin
$.fn.boxWidget.Constructor = BoxWidget
// No Conflict Mode
// ================
$.fn.boxWidget.noConflict = function () {
$.fn.boxWidget = old
return this
}
// BoxWidget Data API
// ==================
$(window).on('load', function () {
$(Selector.data).each(function () {
Plugin.call($(this))
})
})
}(jQuery)

138
build/js/ControlSidebar.js Normal file
View File

@@ -0,0 +1,138 @@
/* ControlSidebar()
* ===============
* Toggles the state of the control sidebar
*
* @Usage: $('#control-sidebar-trigger').controlSidebar(options)
* or add [data-toggle="control-sidebar"] to the trigger
* Pass any option as data-option="value"
*/
+function ($) {
'use strict'
var DataKey = 'lte.controlsidebar'
var Default = {
slide: true
}
var Selector = {
sidebar: '.control-sidebar',
data : '[data-toggle="control-sidebar"]',
open : '.control-sidebar-open',
bg : '.control-sidebar-bg',
wrapper: '.wrapper',
content: '.content-wrapper',
boxed : '.layout-boxed'
}
var ClassName = {
open : 'control-sidebar-open',
fixed: 'fixed'
}
var Event = {
collapsed: 'collapsed.controlsidebar',
expanded : 'expanded.controlsidebar'
}
// ControlSidebar Class Definition
// ===============================
var ControlSidebar = function (element, options) {
this.element = element
this.options = options
this.hasBindedResize = false
this.init()
}
ControlSidebar.prototype.init = function () {
// Add click listener if the element hasn't been
// initialized using the data API
if (!$(this.element).is(Selector.data)) {
$(this).on('click', this.toggle)
}
this.fix()
$(window).resize(function () {
this.fix()
}.bind(this))
}
ControlSidebar.prototype.toggle = function (event) {
if (event) event.preventDefault()
this.fix()
if (!$(Selector.sidebar).is(Selector.open) && !$('body').is(Selector.open)) {
this.expand()
} else {
this.collapse()
}
}
ControlSidebar.prototype.expand = function () {
if (!this.options.slide) {
$('body').addClass(ClassName.open)
} else {
$(Selector.sidebar).addClass(ClassName.open)
}
$(this.element).trigger($.Event(Event.expanded))
}
ControlSidebar.prototype.collapse = function () {
$('body, ' + Selector.sidebar).removeClass(ClassName.open)
$(this.element).trigger($.Event(Event.collapsed))
}
ControlSidebar.prototype.fix = function () {
if ($('body').is(Selector.boxed)) {
this._fixForBoxed($(Selector.bg))
}
}
// Private
ControlSidebar.prototype._fixForBoxed = function (bg) {
bg.css({
position: 'absolute',
height : $(Selector.wrapper).height()
})
}
// Plugin Definition
// =================
function Plugin(option) {
return this.each(function () {
var $this = $(this)
var data = $this.data(DataKey)
if (!data) {
var options = $.extend({}, Default, $this.data(), typeof option == 'object' && option)
$this.data(DataKey, (data = new ControlSidebar($this, options)))
}
if (typeof option == 'string') data.toggle()
})
}
var old = $.fn.controlSidebar
$.fn.controlSidebar = Plugin
$.fn.controlSidebar.Constructor = ControlSidebar
// No Conflict Mode
// ================
$.fn.controlSidebar.noConflict = function () {
$.fn.controlSidebar = old
return this
}
// ControlSidebar Data API
// =======================
$(document).on('click', Selector.data, function (event) {
if (event) event.preventDefault()
Plugin.call($(this), 'toggle')
})
}(jQuery)

66
build/js/DirectChat.js Normal file
View File

@@ -0,0 +1,66 @@
/* DirectChat()
* ===============
* Toggles the state of the control sidebar
*
* @Usage: $('#my-chat-box').directChat()
* or add [data-widget="direct-chat"] to the trigger
*/
+function ($) {
'use strict'
var DataKey = 'lte.directchat'
var Selector = {
data: '[data-widget="chat-pane-toggle"]',
box : '.direct-chat'
}
var ClassName = {
open: 'direct-chat-contacts-open'
}
// DirectChat Class Definition
// ===========================
var DirectChat = function (element) {
this.element = element
}
DirectChat.prototype.toggle = function ($trigger) {
$trigger.parents(Selector.box).first().toggleClass(ClassName.open)
}
// Plugin Definition
// =================
function Plugin(option) {
return this.each(function () {
var $this = $(this)
var data = $this.data(DataKey)
if (!data) {
$this.data(DataKey, (data = new DirectChat($this)))
}
if (typeof option == 'string') data.toggle($this)
})
}
var old = $.fn.directChat
$.fn.directChat = Plugin
$.fn.directChat.Constructor = DirectChat
// No Conflict Mode
// ================
$.fn.directChat.noConflict = function () {
$.fn.directChat = old
return this
}
// DirectChat Data API
// ===================
$(document).on('click', Selector.data, function (event) {
if (event) event.preventDefault()
Plugin.call($(this), 'toggle')
})
}(jQuery)

169
build/js/Layout.js Normal file
View File

@@ -0,0 +1,169 @@
/* Layout()
* ========
* Implements AdminLTE layout.
* Fixes the layout height in case min-height fails.
*
* @usage activated automatically upon window load.
* Configure any options by passing data-option="value"
* to the body tag.
*/
+function ($) {
'use strict'
var DataKey = 'lte.layout'
var Default = {
slimscroll : true,
resetHeight: true
}
var Selector = {
wrapper : '.wrapper',
contentWrapper: '.content-wrapper',
layoutBoxed : '.layout-boxed',
mainFooter : '.main-footer',
mainHeader : '.main-header',
sidebar : '.sidebar',
controlSidebar: '.control-sidebar',
fixed : '.fixed',
sidebarMenu : '.sidebar-menu'
}
var ClassName = {
fixed : 'fixed',
holdTransition: 'hold-transition'
}
var Layout = function (options) {
this.options = options
this.bindedResize = false
this.activate()
}
Layout.prototype.activate = function () {
this.fix()
this.fixSidebar()
$('body').removeClass(ClassName.holdTransition)
if (this.options.resetHeight) {
$('body, html, ' + Selector.wrapper).css('height', 'auto')
}
if (!this.bindedResize) {
$(window).resize(function () {
this.fix()
this.fixSidebar()
}.bind(this))
this.bindedResize = true;
}
$(Selector.sidebarMenu).on('expanded.tree', function () {
this.fix()
this.fixSidebar()
}.bind(this))
$(Selector.sidebarMenu).on('collapsed.tree', function () {
this.fix()
this.fixSidebar()
}.bind(this))
}
Layout.prototype.fix = function () {
// Remove overflow from .wrapper if layout-boxed exists
$(Selector.layoutBoxed + ' > ' + Selector.wrapper).css('overflow', 'hidden')
// Get window height and the wrapper height
var footerHeight = $(Selector.mainFooter).outerHeight() || 0
var neg = $(Selector.mainHeader).outerHeight() + footerHeight
var windowHeight = $(window).height()
var sidebarHeight = $(Selector.sidebar).height() || 0
// Set the min-height of the content and sidebar based on the
// the height of the document.
if ($('body').hasClass(ClassName.fixed)) {
$(Selector.contentWrapper).css('min-height', windowHeight - footerHeight)
} else {
var postSetWidth
if (windowHeight >= sidebarHeight) {
$(Selector.contentWrapper).css('min-height', windowHeight - neg)
postSetWidth = windowHeight - neg
} else {
$(Selector.contentWrapper).css('min-height', sidebarHeight)
postSetWidth = sidebarHeight
}
// Fix for the control sidebar height
var $controlSidebar = $(Selector.controlSidebar)
if (typeof $controlSidebar !== 'undefined') {
if ($controlSidebar.height() > postSetWidth)
$(Selector.contentWrapper).css('min-height', $controlSidebar.height())
}
}
}
Layout.prototype.fixSidebar = function () {
// Make sure the body tag has the .fixed class
if (!$('body').hasClass(ClassName.fixed)) {
if (typeof $.fn.slimScroll != 'undefined') {
$(Selector.sidebar).slimScroll({ destroy: true }).height('auto')
}
return
}
// Enable slimscroll for fixed layout
if (this.options.slimscroll) {
if (typeof $.fn.slimScroll != 'undefined') {
// Destroy if it exists
$(Selector.sidebar).slimScroll({ destroy: true }).height('auto')
// Add slimscroll
$(Selector.sidebar).slimScroll({
height: ($(window).height() - $(Selector.mainHeader).height()) + 'px',
color : 'rgba(0,0,0,0.2)',
size : '3px'
})
}
}
}
// Plugin Definition
// =================
function Plugin(option) {
return this.each(function () {
var $this = $(this)
var data = $this.data(DataKey)
if (!data) {
var options = $.extend({}, Default, $this.data(), typeof option == 'object' && option)
$this.data(DataKey, (data = new Layout(options)))
}
if (typeof option == 'string') {
if (typeof data[option] == 'undefined') {
throw new Error('No method named ' + option)
}
data[option]()
}
})
}
var old = $.fn.layout
$.fn.layout = Plugin
$.fn.layout.Constuctor = Layout
// No conflict mode
// ================
$.fn.layout.noConflict = function () {
$.fn.layout = old
return this
}
// Layout DATA-API
// ===============
$(window).on('load', function () {
Plugin.call($('body'))
})
}(jQuery)

176
build/js/PushMenu.js Normal file
View File

@@ -0,0 +1,176 @@
/* PushMenu()
* ==========
* Adds the push menu functionality to the sidebar.
*
* @usage: $('.btn').pushMenu(options)
* or add [data-toggle="push-menu"] to any toggle button
* Pass any option as data-option="value"
*/
+function ($) {
'use strict'
var DataKey = 'lte.pushmenu'
var Default = {
collapseScreenSize : 767,
expandOnHover : false,
expandTransitionDelay: 200
}
var Selector = {
collapsed : '.sidebar-collapse',
open : '.sidebar-open',
mainSidebar : '.main-sidebar',
contentWrapper: '.content-wrapper',
searchInput : '.sidebar-form .form-control',
button : '[data-toggle="push-menu"]',
mini : '.sidebar-mini',
expanded : '.sidebar-expanded-on-hover',
layoutFixed : '.fixed'
}
var ClassName = {
collapsed : 'sidebar-collapse',
open : 'sidebar-open',
mini : 'sidebar-mini',
expanded : 'sidebar-expanded-on-hover',
expandFeature: 'sidebar-mini-expand-feature',
layoutFixed : 'fixed'
}
var Event = {
expanded : 'expanded.pushMenu',
collapsed: 'collapsed.pushMenu'
}
// PushMenu Class Definition
// =========================
var PushMenu = function (options) {
this.options = options
this.init()
}
PushMenu.prototype.init = function () {
if (this.options.expandOnHover
|| ($('body').is(Selector.mini + Selector.layoutFixed))) {
this.expandOnHover()
$('body').addClass(ClassName.expandFeature)
}
$(Selector.contentWrapper).click(function () {
// Enable hide menu when clicking on the content-wrapper on small screens
if ($(window).width() <= this.options.collapseScreenSize && $('body').hasClass(ClassName.open)) {
this.close()
}
}.bind(this))
// __Fix for android devices
$(Selector.searchInput).click(function (e) {
e.stopPropagation()
})
}
PushMenu.prototype.toggle = function () {
var windowWidth = $(window).width()
var isOpen = !$('body').hasClass(ClassName.collapsed)
if (windowWidth <= this.options.collapseScreenSize) {
isOpen = $('body').hasClass(ClassName.open)
}
if (!isOpen) {
this.open()
} else {
this.close()
}
}
PushMenu.prototype.open = function () {
var windowWidth = $(window).width()
if (windowWidth > this.options.collapseScreenSize) {
$('body').removeClass(ClassName.collapsed)
.trigger($.Event(Event.expanded))
}
else {
$('body').addClass(ClassName.open)
.trigger($.Event(Event.expanded))
}
}
PushMenu.prototype.close = function () {
var windowWidth = $(window).width()
if (windowWidth > this.options.collapseScreenSize) {
$('body').addClass(ClassName.collapsed)
.trigger($.Event(Event.collapsed))
} else {
$('body').removeClass(ClassName.open + ' ' + ClassName.collapsed)
.trigger($.Event(Event.collapsed))
}
}
PushMenu.prototype.expandOnHover = function () {
$(Selector.mainSidebar).hover(function () {
if ($('body').is(Selector.mini + Selector.collapsed)
&& $(window).width() > this.options.collapseScreenSize) {
this.expand()
}
}.bind(this), function () {
if ($('body').is(Selector.expanded)) {
this.collapse()
}
}.bind(this))
}
PushMenu.prototype.expand = function () {
setTimeout(function () {
$('body').removeClass(ClassName.collapsed)
.addClass(ClassName.expanded)
}, this.options.expandTransitionDelay)
}
PushMenu.prototype.collapse = function () {
setTimeout(function () {
$('body').removeClass(ClassName.expanded)
.addClass(ClassName.collapsed)
}, this.options.expandTransitionDelay)
}
// PushMenu Plugin Definition
// ==========================
function Plugin(option) {
return this.each(function () {
var $this = $(this)
var data = $this.data(DataKey)
if (!data) {
var options = $.extend({}, Default, $this.data(), typeof option == 'object' && option)
$this.data(DataKey, (data = new PushMenu(options)))
}
if (option == 'toggle') data.toggle()
})
}
var old = $.fn.pushMenu
$.fn.pushMenu = Plugin
$.fn.pushMenu.Constructor = PushMenu
// No Conflict Mode
// ================
$.fn.pushMenu.noConflict = function () {
$.fn.pushMenu = old
return this
}
// Data API
// ========
$(document).on('click', Selector.button, function (e) {
e.preventDefault()
Plugin.call($(this), 'toggle')
})
$(window).on('load', function () {
Plugin.call($(Selector.button))
})
}(jQuery)

107
build/js/TodoList.js Normal file
View File

@@ -0,0 +1,107 @@
/* TodoList()
* =========
* Converts a list into a todoList.
*
* @Usage: $('.my-list').todoList(options)
* or add [data-widget="todo-list"] to the ul element
* Pass any option as data-option="value"
*/
+function ($) {
'use strict'
var DataKey = 'lte.todolist'
var Default = {
iCheck : false,
onCheck : function () {
},
onUnCheck: function () {
}
}
var Selector = {
data: '[data-widget="todo-list"]'
}
var ClassName = {
done: 'done'
}
// TodoList Class Definition
// =========================
var TodoList = function (element, options) {
this.element = element
this.options = options
this._setUpListeners()
}
TodoList.prototype.toggle = function (item) {
item.parents(Selector.li).first().toggleClass(ClassName.done)
if (!item.prop('checked')) {
this.unCheck(item)
return
}
this.check(item)
}
TodoList.prototype.check = function (item) {
this.options.onCheck.call(item)
}
TodoList.prototype.unCheck = function (item) {
this.options.onUnCheck.call(item)
}
// Private
TodoList.prototype._setUpListeners = function () {
var that = this
$(this.element).on('change ifChanged', 'input:checkbox', function () {
that.toggle($(this))
})
}
// Plugin Definition
// =================
function Plugin(option) {
return this.each(function () {
var $this = $(this)
var data = $this.data(DataKey)
if (!data) {
var options = $.extend({}, Default, $this.data(), typeof option == 'object' && option)
$this.data(DataKey, (data = new TodoList($this, options)))
}
if (typeof data == 'string') {
if (typeof data[option] == 'undefined') {
throw new Error('No method named ' + option)
}
data[option]()
}
})
}
var old = $.fn.todoList
$.fn.todoList = Plugin
$.fn.todoList.Constructor = TodoList
// No Conflict Mode
// ================
$.fn.todoList.noConflict = function () {
$.fn.todoList = old
return this
}
// TodoList Data API
// =================
$(window).on('load', function () {
$(Selector.data).each(function () {
Plugin.call($(this))
})
})
}(jQuery)

145
build/js/Tree.js Normal file
View File

@@ -0,0 +1,145 @@
/* Tree()
* ======
* Converts a nested list into a multilevel
* tree view menu.
*
* @Usage: $('.my-menu').tree(options)
* or add [data-widget="tree"] to the ul element
* Pass any option as data-option="value"
*/
+function ($) {
'use strict'
var DataKey = 'lte.tree'
var Default = {
animationSpeed: 500,
accordion : true,
followLink : false,
trigger : '.treeview a'
}
var Selector = {
tree : '.tree',
treeview : '.treeview',
treeviewMenu: '.treeview-menu',
open : '.menu-open, .active',
li : 'li',
data : '[data-widget="tree"]',
active : '.active'
}
var ClassName = {
open: 'menu-open',
tree: 'tree'
}
var Event = {
collapsed: 'collapsed.tree',
expanded : 'expanded.tree'
}
// Tree Class Definition
// =====================
var Tree = function (element, options) {
this.element = element
this.options = options
$(this.element).addClass(ClassName.tree)
$(Selector.treeview + Selector.active, this.element).addClass(ClassName.open)
this._setUpListeners()
}
Tree.prototype.toggle = function (link, event) {
var treeviewMenu = link.next(Selector.treeviewMenu)
var parentLi = link.parent()
var isOpen = parentLi.hasClass(ClassName.open)
if (!parentLi.is(Selector.treeview)) {
return
}
if (!this.options.followLink || link.attr('href') == '#') {
event.preventDefault()
}
if (isOpen) {
this.collapse(treeviewMenu, parentLi)
} else {
this.expand(treeviewMenu, parentLi)
}
}
Tree.prototype.expand = function (tree, parent) {
var expandedEvent = $.Event(Event.expanded)
if (this.options.accordion) {
var openMenuLi = parent.siblings(Selector.open)
var openTree = openMenuLi.children(Selector.treeviewMenu)
this.collapse(openTree, openMenuLi)
}
parent.addClass(ClassName.open)
tree.slideDown(this.options.animationSpeed, function () {
$(this.element).trigger(expandedEvent)
})
}
Tree.prototype.collapse = function (tree, parentLi) {
var collapsedEvent = $.Event(Event.collapsed)
tree.find(Selector.open).removeClass(ClassName.open)
parentLi.removeClass(ClassName.open)
tree.slideUp(this.options.animationSpeed, function () {
tree.find(Selector.open + ' > ' + Selector.treeview).slideUp()
$(this.element).trigger(collapsedEvent)
})
}
// Private
Tree.prototype._setUpListeners = function () {
var that = this
$(this.element).on('click', this.options.trigger, function (event) {
that.toggle($(this), event)
})
}
// Plugin Definition
// =================
function Plugin(option) {
return this.each(function () {
var $this = $(this)
var data = $this.data(DataKey)
if (!data) {
var options = $.extend({}, Default, $this.data(), typeof option == 'object' && option)
$this.data(DataKey, new Tree($this, options))
}
})
}
var old = $.fn.tree
$.fn.tree = Plugin
$.fn.tree.Constructor = Tree
// No Conflict Mode
// ================
$.fn.tree.noConflict = function () {
$.fn.tree = old
return this
}
// Tree Data API
// =============
$(window).on('load', function () {
$(Selector.data).each(function () {
Plugin.call($(this))
})
})
}(jQuery)

23
build/less/.csslintrc Normal file
View File

@@ -0,0 +1,23 @@
{
"adjoining-classes": false,
"box-sizing": false,
"box-model": false,
"compatible-vendor-prefixes": false,
"floats": false,
"font-sizes": false,
"gradients": false,
"important": false,
"known-properties": false,
"outline-none": false,
"qualified-headings": false,
"regex-selectors": false,
"shorthand": false,
"text-indent": false,
"unique-headings": false,
"universal-selector": false,
"unqualified-attributes": false,
"ids": false,
"fallback-colors": false,
"vendor-prefix": false,
"import": false
}

4
build/less/404_500_errors.less Executable file → Normal file
View File

@@ -27,10 +27,10 @@
> h3 {
font-weight: 300;
font-size: 25px;
@media(max-width: @screen-sm-max) {
@media (max-width: @screen-sm-max) {
text-align: center;
}
}
display: block;
}
}
}

View File

@@ -0,0 +1,57 @@
/*!
* AdminLTE v2.3.5 Without Third-Party Plugins
* Author: Almsaeed Studio
* Website: Almsaeed Studio <http://almsaeedstudio.com>
* License: Open source - MIT
* Please visit http://opensource.org/licenses/MIT for more information
!*/
//google fonts
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);
//Bootstrap Variables & Mixins
//The core bootstrap code have not been modified. These files
//are included only for reference.
@import (reference) "../bootstrap-less/mixins.less";
@import (reference) "../bootstrap-less/variables.less";
//MISC
//----
@import "core.less";
@import "variables.less";
@import "mixins.less";
//COMPONENTS
//-----------
@import "header.less";
@import "sidebar.less";
@import "sidebar-mini.less";
@import "control-sidebar.less";
@import "dropdown.less";
@import "forms.less";
@import "progress-bars.less";
@import "small-box.less";
@import "boxes.less";
@import "info-box.less";
@import "timeline.less";
@import "buttons.less";
@import "callout.less";
@import "alerts.less";
@import "navs.less";
@import "products.less";
@import "table.less";
@import "labels.less";
@import "direct-chat.less";
@import "users-list.less";
@import "carousel.less";
@import "modal.less";
@import "social-widgets.less";
@import "treeview.less";
//PAGES
//------
@import "mailbox.less";
@import "lockscreen.less";
@import "login_and_register.less";
@import "404_500_errors.less";
@import "invoice.less";
@import "profile";
//Miscellaneous
//-------------
@import "miscellaneous.less";
@import "print.less";

35
build/less/AdminLTE.less Executable file → Normal file
View File

@@ -1,30 +1,28 @@
/*!
* AdminLTE v2.0.1
* AdminLTE v2.3.8
* Author: Almsaeed Studio
* Website: Almsaeed Studio <http://almsaeedstudio.com>
* License: Open source - MIT
* Please visit http://opensource.org/licenses/MIT for more information
!*/
//google fonts
@import url(//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic);
//Bootstrap Variables & Mixins
//The core bootstrap code have not been modified. These files
//are included only for refrence.
@import "../bootstrap-less/mixins.less";
@import "../bootstrap-less/variables.less";
//are included only for reference.
@import (reference) "../bootstrap-less/mixins.less";
@import (reference) "../bootstrap-less/variables.less";
//MISC
//----
@import "core.less";
@import "variables.less";
@import "mixins.less";
//COMPONENTS
//-----------
@import "header.less";
@import "sidebar.less";
@import "sidebar-mini.less";
@import "control-sidebar.less";
@import "dropdown.less";
@import "forms.less";
@import "progress-bars.less";
@@ -43,7 +41,8 @@
@import "users-list.less";
@import "carousel.less";
@import "modal.less";
@import "social-widgets.less";
@import "treeview.less";
//PAGES
//------
@import "mailbox.less";
@@ -51,21 +50,11 @@
@import "login_and_register.less";
@import "404_500_errors.less";
@import "invoice.less";
//Skins
//-------
//@import "skins/skin-blue.less";
//@import "skins/skin-black.less";
//@import "skins/skin-red.less";
//@import "skins/skin-green.less";
//@import "skins/skin-yellow.less";
//@import "skins/skin-purple.less";
@import "profile";
//Plugins
//--------
@import "bootstrap-social.less";
@import "fullcalendar.less";
@import "plugins.less";
//Miscellaneous
//-------------
@import "miscellaneous.less";
@import "print.less";

7
build/less/alerts.less Executable file → Normal file
View File

@@ -8,8 +8,8 @@
h4 {
font-weight: 600;
}
.icon {
margin-right: 10px;
.icon {
margin-right: 10px;
}
.close {
color: #000;
@@ -29,15 +29,18 @@
&:extend(.bg-green);
border-color: darken(@green, 5%);
}
.alert-danger,
.alert-error {
&:extend(.bg-red);
border-color: darken(@red, 5%);
}
.alert-warning {
&:extend(.bg-yellow);
border-color: darken(@yellow, 5%);
}
.alert-info {
&:extend(.bg-aqua);
border-color: darken(@aqua, 5%);

143
build/less/bootstrap-social.less vendored Executable file → Normal file
View File

@@ -1,55 +1,60 @@
/*
* Plugin: Social Buttons
* ----------------------
* Social Buttons for Bootstrap
*
* Copyright 2013-2015 Panayiotis Lipiridis
* Licensed under the MIT License
*
* https://github.com/lipis/bootstrap-social
*/
// Copyright 2013-2014 Panayiotis Lipiridis
// Licensed under the MIT License
//
// https://github.com/lipis/bootstrap-social
// Import variables and mixins as a reference for separate plugins version
@import (reference) "../bootstrap-less/mixins";
@import (reference) "../bootstrap-less/variables";
@import (reference) "variables";
@import (reference) "mixins";
@bs-height-base: (@line-height-computed + @padding-base-vertical * 2);
@bs-height-lg: (floor(@font-size-large * @line-height-base) + @padding-large-vertical * 2);
@bs-height-sm: (floor(@font-size-small * 1.5) + @padding-small-vertical * 2);
@bs-height-xs: (floor(@font-size-small * 1.2) + @padding-small-vertical + 1);
@bs-height-lg: (floor(@font-size-large * @line-height-base) + @padding-large-vertical * 2);
@bs-height-sm: (floor(@font-size-small * 1.5) + @padding-small-vertical * 2);
@bs-height-xs: (floor(@font-size-small * 1.2) + @padding-small-vertical + 1);
.btn-social {
position: relative;
padding-left: @bs-height-base + @padding-base-horizontal!important;
padding-left: (@bs-height-base + @padding-base-horizontal);
text-align: left;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
:first-child {
> :first-child {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: @bs-height-base!important;
line-height: (@bs-height-base + 2)!important;
font-size: 1.6em!important;
width: @bs-height-base;
line-height: (@bs-height-base + 2);
font-size: 1.6em;
text-align: center;
border-right: 1px solid rgba(0, 0, 0, 0.2);
}
&.btn-lg {
padding-left: @bs-height-lg + @padding-large-horizontal!important;
:first-child {
padding-left: (@bs-height-lg + @padding-large-horizontal);
> :first-child {
line-height: @bs-height-lg;
width: @bs-height-lg;
font-size: 1.8em;
}
}
&.btn-sm {
padding-left: @bs-height-sm + @padding-small-horizontal!important;
:first-child {
padding-left: (@bs-height-sm + @padding-small-horizontal);
> :first-child {
line-height: @bs-height-sm;
width: @bs-height-sm;
font-size: 1.4em;
}
}
&.btn-xs {
padding-left: @bs-height-xs + @padding-small-horizontal!important;
:first-child {
padding-left: (@bs-height-xs + @padding-small-horizontal);
> :first-child {
line-height: @bs-height-xs;
width: @bs-height-xs;
font-size: 1.2em;
@@ -62,10 +67,10 @@
height: (@bs-height-base + 2);
width: (@bs-height-base + 2);
padding: 0;
:first-child {
> :first-child {
border: none;
text-align: center;
width: 100%!important;
width: 100%;
}
&.btn-lg {
height: @bs-height-lg;
@@ -87,21 +92,87 @@
}
}
.btn-social(@color-bg, @color: white) {
.btn-social(@color-bg, @color: #fff) {
background-color: @color-bg;
.button-variant(@color, @color-bg, rgba(0, 0, 0, 0.2));
.button-variant(@color, @color-bg, rgba(0, 0, 0, .2));
}
.btn-adn {
.btn-social(#d87a68);
}
.btn-bitbucket { .btn-social(#205081); }
.btn-dropbox { .btn-social(#1087dd); }
.btn-facebook { .btn-social(#3b5998); }
.btn-flickr { .btn-social(#ff0084); }
.btn-foursquare { .btn-social(#0072b1); }
.btn-github { .btn-social(#444444); }
.btn-google-plus { .btn-social(#dd4b39); }
.btn-instagram { .btn-social(#3f729b); }
.btn-linkedin { .btn-social(#007bb6); }
.btn-tumblr { .btn-social(#2c4762); }
.btn-twitter { .btn-social(#55acee); }
.btn-vk { .btn-social(#587ea3); }
.btn-bitbucket {
.btn-social(#205081);
}
.btn-dropbox {
.btn-social(#1087dd);
}
.btn-facebook {
.btn-social(#3b5998);
}
.btn-flickr {
.btn-social(#ff0084);
}
.btn-foursquare {
.btn-social(#f94877);
}
.btn-github {
.btn-social(#444444);
}
.btn-google {
.btn-social(#dd4b39);
}
.btn-instagram {
.btn-social(#3f729b);
}
.btn-linkedin {
.btn-social(#007bb6);
}
.btn-microsoft {
.btn-social(#2672ec);
}
.btn-openid {
.btn-social(#f7931e);
}
.btn-pinterest {
.btn-social(#cb2027);
}
.btn-reddit {
.btn-social(#eff7ff, #000);
}
.btn-soundcloud {
.btn-social(#ff5500);
}
.btn-tumblr {
.btn-social(#2c4762);
}
.btn-twitter {
.btn-social(#55acee);
}
.btn-vimeo {
.btn-social(#1ab7ea);
}
.btn-vk {
.btn-social(#587ea3);
}
.btn-yahoo {
.btn-social(#720e9e);
}

155
build/less/boxes.less Executable file → Normal file
View File

@@ -28,9 +28,9 @@
border-top-color: @green;
}
&.box-default {
border-top-color: @gray;
border-top-color: @gray-lte;
}
// collapsed mode
&.collapsed-box {
.box-body,
@@ -38,7 +38,7 @@
display: none;
}
}
.nav-stacked {
> li {
border-bottom: 1px solid @box-border-color;
@@ -69,22 +69,22 @@
//use this class to get a colored header and borders
&.box-solid {
border-top: 0px;
border-top: 0;
> .box-header {
.btn.btn-default {
background: transparent;
}
.btn,
.btn,
a {
&:hover {
background: rgba(0,0,0,0.1)!important;
background: rgba(0, 0, 0, 0.1);
}
}
}
// Box color variations
&.box-default {
.box-solid-variant(@gray, #444);
.box-solid-variant(@gray-lte, #444);
}
&.box-primary {
.box-solid-variant(@light-blue);
@@ -105,7 +105,7 @@
> .box-header > .box-tools .btn {
border: 0;
box-shadow: none;
}
}
// Fix font color for tiles
&[class*='bg'] {
@@ -123,7 +123,6 @@
}
}
// jQuery Knob in a box
.knob-label {
text-align: center;
@@ -132,19 +131,22 @@
font-size: 12px;
margin-bottom: 0.3em;
}
}
.box,
.overlay-wrapper {
// Box overlay for LOADING STATE effect
> .overlay,
> .loading-img {
position: absolute;
top: -3px;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.overlay {
z-index: 1010;
z-index: 50;
background: rgba(255, 255, 255, 0.7);
.border-radius(@box-border-radius);
> .fa {
@@ -161,13 +163,17 @@
.overlay.dark {
background: rgba(0, 0, 0, 0.5);
}
}
//Add clearfix to header, body and footer
.box-header,
.box-body,
.box-footer {
.clearfix();
}
//Box header
.box-header {
//Add top left and top right border radius
.clearfix();
color: #444;
display: block;
padding: @box-padding;
@@ -203,13 +209,17 @@
[data-toggle="tooltip"] {
position: relative;
}
//float: none!important;
&.pull-right {
.dropdown-menu {
right: 0;
left: auto;
}
}
.dropdown-menu > li > a {
color: #444!important;
}
}
}
@@ -218,14 +228,13 @@
padding: 5px;
font-size: 12px;
background: transparent;
box-shadow: none!important;
color: darken(@box-default-border-top-color, 20%);
.open &,
&:hover {
color: darken(@box-default-border-top-color, 40%);
}
&:active {
outline: none!important;
&.btn:active {
box-shadow: none;
}
}
@@ -239,17 +248,6 @@
// Tables within the box body
> .table {
margin-bottom: 0;
}
// Charts
> .chart {
position: relative;
overflow: hidden;
width: 100%;
svg,
canvas {
width: 100%!important;
}
}
// Calendar within the box body
@@ -279,6 +277,7 @@
padding: @box-padding;
background-color: @box-footer-bg;
}
.chart-legend {
&:extend(.list-unstyled);
margin: 10px 0;
@@ -290,6 +289,39 @@
}
}
//Comment Box
.box-comments {
background: #f7f7f7;
.box-comment {
.clearfix();
padding: 8px 0;
border-bottom: 1px solid #eee;
&:last-of-type {
border-bottom: 0;
}
&:first-of-type {
padding-top: 0;
}
img {
&:extend(.img-sm);
float: left;
}
}
.comment-text {
margin-left: 40px;
color: #555;
}
.username {
color: #444;
display: block;
font-weight: 600;
}
.text-muted {
font-weight: 400;
font-size: 12px;
}
}
//Widgets
//-----------
@@ -297,7 +329,7 @@
.todo-list {
margin: 0;
padding: 0px 0px;
padding: 0;
list-style: none;
overflow: auto;
// Todo list element
@@ -311,24 +343,8 @@
&:last-of-type {
margin-bottom: 0;
}
// Color varaity
&.danger {
border-left-color: @red;
}
&.warning {
border-left-color: @yellow;
}
&.info {
border-left-color: @aqua;
}
&.success {
border-left-color: @green;
}
&.primary {
border-left-color: @light-blue;
}
> input[type='checkbox'] {
> input[type='checkbox'] {
margin: 0 10px 0 5px;
}
@@ -368,11 +384,28 @@
}
.label {
background: @gray!important;
background: @gray-lte !important;
}
}
}
// Color varaity
.danger {
border-left-color: @red;
}
.warning {
border-left-color: @yellow;
}
.info {
border-left-color: @aqua;
}
.success {
border-left-color: @green;
}
.primary {
border-left-color: @light-blue;
}
.handle {
display: inline-block;
cursor: move;
@@ -380,6 +413,7 @@
}
}
// END TODO WIDGET
/* Chat widget (DEPRECATED - this will be removed in the next major release. Use Direct Chat instead)*/
@@ -391,17 +425,17 @@
margin-bottom: 10px;
// The image
> img {
//display: inline-block;
width: 40px;
height: 40px;
border: 2px solid transparent;
.border-radius(50%)!important;
&.online {
border: 2px solid @green;
}
&.offline {
border: 2px solid @red;
}
.border-radius(50%);
}
> .online {
border: 2px solid @green;
}
> .offline {
border: 2px solid @red;
}
// The message body
@@ -438,9 +472,18 @@
}
}
//END CHAT WIDGET
//Input in box
.box-input {
max-width: 200px;
}
}
//A fix for panels body text color when placed within
// a modal
.modal {
.panel-body {
color: #444;
}
}

45
build/less/buttons.less Executable file → Normal file
View File

@@ -23,9 +23,9 @@
// Active state
&:active {
-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
-moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
-moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
&:focus {
@@ -44,13 +44,13 @@
min-height: 100%;
font-size: 100px;
text-align: right;
.opacity(0);
.opacity(0);
outline: none;
background: white;
cursor: inherit;
display: block;
}
}
}
}
//Button color variations
@@ -58,10 +58,13 @@
background-color: #f4f4f4;
color: #444;
border-color: #ddd;
&:hover, &:active, &.hover {
background-color:darken(#f4f4f4, 5%)!important;
&:hover,
&:active,
&.hover {
background-color: darken(#f4f4f4, 5%);
}
}
.btn-primary {
background-color: @light-blue;
border-color: darken(@light-blue, 5%);
@@ -69,6 +72,7 @@
background-color: darken(@light-blue, 5%);
}
}
.btn-success {
background-color: @green;
border-color: darken(@green, 5%);
@@ -76,6 +80,7 @@
background-color: darken(@green, 5%);
}
}
.btn-info {
background-color: @aqua;
border-color: darken(@aqua, 5%);
@@ -83,6 +88,7 @@
background-color: darken(@aqua, 5%);
}
}
.btn-danger {
background-color: @red;
border-color: darken(@red, 5%);
@@ -90,6 +96,7 @@
background-color: darken(@red, 5%);
}
}
.btn-warning {
background-color: @yellow;
border-color: darken(@yellow, 5%);
@@ -97,24 +104,28 @@
background-color: darken(@yellow, 5%);
}
}
.btn-outline {
border: 1px solid #fff;
background: transparent;
color: #fff;
&:hover,
&:focus,
&:active {
color: rgba(255,255,255,.7);
border-color: rgba(255,255,255,.7);
&:focus,
&:active {
color: rgba(255, 255, 255, .7);
border-color: rgba(255, 255, 255, .7);
}
}
.btn-link {
.box-shadow(none);
}
//General .btn with bg class
.btn[class*='bg-']:hover {
.box-shadow(inset 0 0 100px rgba(0,0,0,0.2));
.box-shadow(inset 0 0 100px rgba(0, 0, 0, 0.2));
}
// Application buttons
.btn-app {
.border-radius(3px);
@@ -122,7 +133,7 @@
padding: 15px 5px;
margin: 0 0 10px 10px;
min-width: 80px;
height: 60px;
height: 60px;
text-align: center;
color: #666;
border: 1px solid #ddd;
@@ -141,9 +152,9 @@
}
&:active, &:focus {
-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
-moz-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
-moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}
//The badge
@@ -154,4 +165,4 @@
font-size: 10px;
font-weight: 400;
}
}
}

2
build/less/callout.less Executable file → Normal file
View File

@@ -45,4 +45,4 @@
&:extend(.bg-green);
border-color: darken(@green, 10%);
}
}
}

View File

@@ -3,7 +3,10 @@
* -------------------
*/
.carousel-control {
background-image: none!important;
&.left,
&.right {
background-image: none;
}
> .fa {
font-size: 40px;
position: absolute;
@@ -12,4 +15,4 @@
display: inline-block;
margin-top: -20px;
}
}
}

View File

@@ -0,0 +1,299 @@
/*
* Component: Control sidebar. By default, this is the right sidebar.
*/
// The sidebar's background control class
// This is a hack to make the background visible while scrolling
.control-sidebar-bg {
position: fixed;
z-index: 1000;
bottom: 0;
}
// Transitions
.control-sidebar-bg,
.control-sidebar {
top: 0;
right: -@control-sidebar-width;
width: @control-sidebar-width;
.transition(right @transition-speed ease-in-out);
}
// The sidebar
.control-sidebar {
position: absolute;
padding-top: @navbar-height;
z-index: 1010;
// Fix position after header collapse
@media (max-width: @screen-sm) {
padding-top: @navbar-height + 50;
}
// Tab panes
> .tab-content {
padding: 10px 15px;
}
// Open state with slide over content effect
&.control-sidebar-open {
&,
+ .control-sidebar-bg {
right: 0;
}
}
}
// Open without slide over content
.control-sidebar-open {
.control-sidebar-bg,
.control-sidebar {
right: 0;
}
@media (min-width: @screen-sm) {
.content-wrapper,
.right-side,
.main-footer {
margin-right: @control-sidebar-width;
}
}
}
// Fixed Layout
.fixed {
.control-sidebar {
position: fixed;
height: 100%;
overflow-y: auto;
padding-bottom: 50px;
}
}
// Control sidebar tabs
.nav-tabs.control-sidebar-tabs {
> li {
&:first-of-type > a {
&,
&:hover,
&:focus {
border-left-width: 0;
}
}
> a {
.border-radius(0);
// Hover and active states
&,
&:hover {
border-top: none;
border-right: none;
border-left: 1px solid transparent;
border-bottom: 1px solid transparent;
}
.icon {
font-size: 16px;
}
}
// Active state
&.active {
> a {
&,
&:hover,
&:focus,
&:active {
border-top: none;
border-right: none;
border-bottom: none;
}
}
}
}
// Remove responsiveness on small screens
@media (max-width: @screen-sm) {
display: table;
> li {
display: table-cell;
}
}
}
// Headings in the sidebar content
.control-sidebar-heading {
font-weight: 400;
font-size: 16px;
padding: 10px 0;
margin-bottom: 10px;
}
// Subheadings
.control-sidebar-subheading {
display: block;
font-weight: 400;
font-size: 14px;
}
// Control Sidebar Menu
.control-sidebar-menu {
list-style: none;
padding: 0;
margin: 0 -15px;
> li > a {
.clearfix();
display: block;
padding: 10px 15px;
> .control-sidebar-subheading {
margin-top: 0;
}
}
.menu-icon {
float: left;
width: 35px;
height: 35px;
border-radius: 50%;
text-align: center;
line-height: 35px;
}
.menu-info {
margin-left: 45px;
margin-top: 3px;
> .control-sidebar-subheading {
margin: 0;
}
> p {
margin: 0;
font-size: 11px;
}
}
.progress {
margin: 0;
}
}
// Dark skin
.control-sidebar-dark {
color: @sidebar-dark-color;
// Background
&,
+ .control-sidebar-bg {
background: @sidebar-dark-bg;
}
// Sidebar tabs
.nav-tabs.control-sidebar-tabs {
border-bottom: darken(@sidebar-dark-bg, 3%);
> li {
> a {
background: darken(@sidebar-dark-bg, 5%);
color: @sidebar-dark-color;
// Hover and active states
&,
&:hover,
&:focus {
border-left-color: darken(@sidebar-dark-bg, 7%);
border-bottom-color: darken(@sidebar-dark-bg, 7%);
}
&:hover,
&:focus,
&:active {
background: darken(@sidebar-dark-bg, 3%);
}
&:hover {
color: #fff;
}
}
// Active state
&.active {
> a {
&,
&:hover,
&:focus,
&:active {
background: @sidebar-dark-bg;
color: #fff;
}
}
}
}
}
// Heading & subheading
.control-sidebar-heading,
.control-sidebar-subheading {
color: #fff;
}
// Sidebar list
.control-sidebar-menu {
> li {
> a {
&:hover {
background: @sidebar-dark-hover-bg;
}
.menu-info {
> p {
color: @sidebar-dark-color;
}
}
}
}
}
}
// Light skin
.control-sidebar-light {
color: lighten(@sidebar-light-color, 10%);
// Background
&,
+ .control-sidebar-bg {
background: @sidebar-light-bg;
border-left: 1px solid @gray-lte;
}
// Sidebar tabs
.nav-tabs.control-sidebar-tabs {
border-bottom: @gray-lte;
> li {
> a {
background: darken(@sidebar-light-bg, 5%);
color: @sidebar-light-color;
// Hover and active states
&,
&:hover,
&:focus {
border-left-color: @gray-lte;
border-bottom-color: @gray-lte;
}
&:hover,
&:focus,
&:active {
background: darken(@sidebar-light-bg, 3%);
}
}
// Active state
&.active {
> a {
&,
&:hover,
&:focus,
&:active {
background: @sidebar-light-bg;
color: #111;
}
}
}
}
}
// Heading & subheading
.control-sidebar-heading,
.control-sidebar-subheading {
color: #111;
}
// Sidebar list
.control-sidebar-menu {
margin-left: -14px;
> li {
> a {
&:hover {
background: @sidebar-light-hover-bg;
}
.menu-info {
> p {
color: lighten(@sidebar-light-color, 10%);
}
}
}
}
}
}

92
build/less/core.less Executable file → Normal file
View File

@@ -1,18 +1,16 @@
/*
* Core: Genral Layout Style
* Core: General Layout Style
* -------------------------
*/
html,
body {
min-height: 100%;
height: 100%;
.layout-boxed & {
height: 100%;
}
}
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
body {
font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 400;
overflow-x: hidden;
@@ -22,47 +20,50 @@ body {
/* Layout */
.wrapper {
.clearfix();
min-height: 100%;
position: static;
overflow: hidden;
height: 100%;
position: relative;
overflow-x: hidden;
overflow-y: auto;
.layout-boxed & {
max-width: 1250px;
margin: 0 auto;
min-height: 100%;
box-shadow: 0 0 8px rgba(0,0,0,0.5);
box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
position: relative;
}
}
.layout-boxed {
background: url('../img/boxed-bg.jpg') repeat fixed;
background: url('@{boxed-layout-bg-image-path}') repeat fixed;
}
/*
* Content Wrapper - contins main content
* ```.right-side has been deprecated as of v2.0 in favor of .content-wrapper ```
* Content Wrapper - contains the main content
* ```.right-side has been deprecated as of v2.0.0 in favor of .content-wrapper ```
*/
.content-wrapper,
.content-wrapper,
.right-side,
.main-footer {
.transition-transform(@transition-speed @transition-fn);
.transition(margin-left @transition-speed @transition-fn);
.main-footer {
// Using disposable variable to join statements with a comma
@transition-rule: @transition-speed @transition-fn,
margin @transition-speed @transition-fn;
.transition-transform(@transition-rule);
margin-left: @sidebar-width;
z-index: 820;
//Top nav layout
// Top nav layout
.layout-top-nav & {
margin-left: 0;
}
@media (max-width: @screen-xs-max) {
@media (max-width: @screen-xs-max) {
margin-left: 0;
}
//When opening the sidebar on large screens
// When opening the sidebar on large screens
.sidebar-collapse & {
@media (min-width: @screen-sm) {
margin-left: 0;
}
}
//When opening the sidebar on small screens
// When opening the sidebar on small screens
.sidebar-open & {
@media (max-width: @screen-xs-max) {
.translate(@sidebar-width, 0);
@@ -70,17 +71,18 @@ body {
}
}
.content-wrapper,
.content-wrapper,
.right-side {
min-height: 100%;
background-color: @body-bg;
z-index: 800;
z-index: 800;
}
.main-footer {
background: #fff;
padding: 15px;
color: #444;
border-top: 1px solid #eee;
border-top: 1px solid @gray-lte;
}
/* Fixed layout */
@@ -107,6 +109,23 @@ body {
max-width: 100%;
}
}
.wrapper {
overflow: hidden;
}
}
.hold-transition {
.content-wrapper,
.right-side,
.main-footer,
.main-sidebar,
.left-side,
.main-header .navbar,
.main-header .logo,
.menu-open .fa-angle-left {
/* Fix for IE */
.transition(none);
}
}
/* Content */
@@ -131,11 +150,15 @@ h6,
.h6 {
font-family: 'Source Sans Pro', sans-serif;
}
/* General Links */
a {
color: @link-color;
}
a:hover, a:active, a:focus {
a:hover,
a:active,
a:focus {
outline: none;
text-decoration: none;
color: @link-hover-color;
@@ -152,24 +175,3 @@ a:hover, a:active, a:focus {
margin-top: 5px;
}
}
/* Don't display when printing */
@media print {
//Add to elements that you do not want to show when printing
.no-print {
display: none;
}
//Elements that we want to hide when printing
.main-sidebar,
.left-side,
.main-header,
.content-header {
display: none;
}
//This is the only element that should appear, so let's remove the margins
.content-wrapper,
.right-side {
margin: 0!important;
}
}

39
build/less/direct-chat.less Executable file → Normal file
View File

@@ -7,7 +7,7 @@
.border-bottom-radius(0);
position: relative;
overflow-x: hidden;
padding: 0;
padding: 0;
}
&.chat-pane-open {
.direct-chat-contacts {
@@ -15,24 +15,29 @@
}
}
}
.direct-chat-messages {
.translate(0, 0);
padding: 10px;
height: 250px;
overflow: auto;
}
.direct-chat-msg,
.direct-chat-text {
display: block;
}
.direct-chat-msg {
.clearfix();
margin-bottom: 10px;
}
.direct-chat-messages,
.direct-chat-contacts {
.transition-transform(.5s ease-in-out);
}
.direct-chat-text {
.border-radius(5px);
position: relative;
@@ -44,7 +49,7 @@
//Create the arrow
&:after,
&:before {
&:before {
position: absolute;
right: 100%;
top: 15px;
@@ -68,7 +73,7 @@
margin-right: 50px;
margin-left: 0;
&:after,
&:before {
&:before {
right: auto;
left: 100%;
border-right-color: transparent;
@@ -76,6 +81,7 @@
}
}
}
.direct-chat-img {
.border-radius(50%);
float: left;
@@ -85,26 +91,28 @@
float: right;
}
}
.direct-chat-info {
display: block;
margin-bottom: 2px;
font-size: 12px;
}
.direct-chat-name {
font-weight: 600;
}
.direct-chat-timestamp {
color: #999;
}
//Direct chat contacts pane
.direct-chat-contacts-open {
/*.direct-chat-messages {
.translate(-101%, 0);
}*/
.direct-chat-contacts {
.translate(0, 0);
}
}
.direct-chat-contacts {
.translate(101%, 0);
position: absolute;
@@ -113,16 +121,16 @@
height: 250px;
width: 100%;
background: #222d32;
color: #fff;
color: #fff;
overflow: auto;
}
//Contacts list -- for displaying contacts in direct chat contacts pane
.contacts-list {
&:extend(.list-unstyled);
&:extend(.list-unstyled);
> li {
.clearfix();
border-bottom: 1px solid rgba(0,0,0,0.2);
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
padding: 10px;
margin: 0;
&:last-of-type {
@@ -130,29 +138,36 @@
}
}
}
.contacts-list-img {
.border-radius(50%);
width: 40px;
float: left;
}
.contacts-list-info {
margin-left: 45px;
color: #fff;
}
.contacts-list-name,
.contacts-list-status {
display: block;
}
.contacts-list-name {
font-weight: 600;
}
.contacts-list-status {
font-size: 12px;
}
.contacts-list-date {
color: #aaa;
font-weight: normal;
}
.contacts-list-msg {
color: #999;
}
@@ -161,15 +176,19 @@
.direct-chat-danger {
.direct-chat-variant(@red);
}
.direct-chat-primary {
.direct-chat-variant(@light-blue);
}
.direct-chat-warning {
.direct-chat-variant(@yellow);
}
.direct-chat-info {
.direct-chat-variant(@aqua);
}
.direct-chat-success {
.direct-chat-variant(@green);
}
}

82
build/less/dropdown.less Executable file → Normal file
View File

@@ -5,18 +5,18 @@
/*Dropdowns in general*/
.dropdown-menu {
box-shadow: @box-boxshadow;
box-shadow: none;
border-color: #eee;
> li > a {
color: #777;
}
> li > a > .glyphicon,
> li > a > .fa,
> li > a > .ion{
> li > a > .ion {
margin-right: 10px;
}
> li > a:hover {
background-color: lighten(@gray, 5%);
background-color: lighten(@gray-lte, 5%);
color: #333;
}
> .divider {
@@ -24,14 +24,10 @@
}
}
/*
Navbar custom dropdown menu
------------------------------------
*/
//Navbar custom dropdown menu
.navbar-nav > .notifications-menu,
.navbar-nav > .messages-menu,
.navbar-nav > .tasks-menu {
position: relative;
//fix width and padding
> .dropdown-menu {
> li {
@@ -39,10 +35,9 @@
}
width: 280px;
//Remove padding and margins
padding: 0 0 0 0!important;
margin: 0!important;
padding: 0 0 0 0;
margin: 0;
top: 100%;
//.border-radius(4px)!important;
}
//Define header class
> .dropdown-menu > li.header {
@@ -54,18 +49,17 @@
font-size: 14px;
}
//Define footer class
> .dropdown-menu > li.footer > a {
.border-radius(0px; 0px; 4px; 4px);
.border-radius(0; 0; 4px; 4px);
font-size: 12px;
background-color: #fff;
padding: 7px 10px;
border-bottom: 1px solid #eeeeee;
color: #444!important;
color: #444 !important;
@media (max-width: @screen-sm-max) {
background: #fff!important;
color: #444!important;
background: #fff !important;
color: #444 !important;
}
text-align: center;
//Hover state
@@ -99,11 +93,10 @@
.navbar-nav > .notifications-menu {
> .dropdown-menu > li .menu {
// Links inside the menu
> li > a {
> li > a {
color: #444444;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
padding: 10px;
// Icons inside the menu
> .glyphicon,
@@ -122,7 +115,7 @@
> .dropdown-menu > li .menu {
// Messages menu item
> li > a {
margin: 0px;
margin: 0;
//line-height: 20px;
padding: 10px 10px;
// User image
@@ -143,8 +136,8 @@
color: #999999;
font-size: 10px;
position: absolute;
top: 0px;
right: 0px;
top: 0;
right: 0;
}
}
@@ -160,6 +153,7 @@
}
}
//Tasks menu
.navbar-nav > .tasks-menu {
> .dropdown-menu > li .menu {
@@ -180,13 +174,19 @@
}
}
}
//User menu
.navbar-nav > .user-menu {
> .dropdown-menu {
.border-radius(0);
.border-top-radius(0);
padding: 1px 0 0 0;
border-top-width: 0;
width: 280px;
&,
> .user-body {
.border-bottom-radius(4px);
}
// Header menu
> li.user-header {
height: 175px;
@@ -237,6 +237,11 @@
.clearfix();
.btn-default {
color: #666666;
&:hover {
@media (max-width: @screen-sm-max) {
background-color: #f9f9f9;
}
}
}
}
}
@@ -263,6 +268,7 @@
.animation(flipInX .7s both);
}
@keyframes flipInX {
0% {
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
@@ -288,43 +294,45 @@
transform: perspective(400px);
}
}
@-webkit-keyframes flipInX {
0% {
transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
transition-timing-function: ease-in;
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
-webkit-transition-timing-function: ease-in;
opacity: 0;
}
40% {
transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
transition-timing-function: ease-in;
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
-webkit-transition-timing-function: ease-in;
}
60% {
transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
opacity: 1;
}
80% {
transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
-webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
}
100% {
transform: perspective(400px);
-webkit-transform: perspective(400px);
}
}
/* Fix dropdown menu in navbars */
.navbar-custom-menu > .navbar-nav {
> li {
position: relative;
> .dropdown-menu {
position: absolute;
right: 0;
left: auto;
}
> li {
position: relative;
> .dropdown-menu {
position: absolute;
right: 0;
left: auto;
}
}
}
@media (max-width: @screen-sm-max) {
.navbar-custom-menu > .navbar-nav {
float: right;
@@ -339,4 +347,4 @@
}
}
}
}
}

69
build/less/forms.less Executable file → Normal file
View File

@@ -3,25 +3,24 @@
* ---------------
*/
.form-control {
.border-radius(@input-radius)!important;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
.border-radius(@input-radius);
box-shadow: none;
border-color: @gray;
border-color: @gray-lte;
&:focus {
border-color: @light-blue !important;
border-color: @light-blue;
box-shadow: none;
}
&::-moz-placeholder {
&::-moz-placeholder,
&:-ms-input-placeholder,
&::-webkit-input-placeholder {
color: #bbb;
opacity: 1;
}
&:-ms-input-placeholder {
color: #bbb;
}
&::-webkit-input-placeholder {
color: #bbb;
&:not(select) {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
}
@@ -30,30 +29,42 @@
label {
color: @green;
}
.form-control {
border-color: @green !important;
.form-control,
.input-group-addon {
border-color: @green;
box-shadow: none;
}
.help-block {
color: @green;
}
}
&.has-warning {
label {
color: @yellow;
}
.form-control {
border-color: @yellow !important;
.form-control,
.input-group-addon {
border-color: @yellow;
box-shadow: none;
}
.help-block {
color: @yellow;
}
}
&.has-error {
label {
color: @red;
}
.form-control {
border-color: @red !important;
.form-control,
.input-group-addon {
border-color: @red;
box-shadow: none;
}
.help-block {
color: @red;
}
}
}
@@ -61,10 +72,11 @@
.input-group {
.input-group-addon {
.border-radius(@input-radius);
border-color: @gray;
border-color: @gray-lte;
background-color: #fff;
}
}
/* button groups */
.btn-group-vertical {
.btn {
@@ -76,4 +88,21 @@
.icheck > label {
padding-left: 0;
}
}
/* support Font Awesome icons in form-control */
.form-control-feedback.fa {
line-height: @input-height-base;
}
.input-lg + .form-control-feedback.fa,
.input-group-lg + .form-control-feedback.fa,
.form-group-lg .form-control + .form-control-feedback.fa {
line-height: @input-height-large;
}
.input-sm + .form-control-feedback.fa,
.input-group-sm + .form-control-feedback.fa,
.form-group-sm .form-control + .form-control-feedback.fa {
line-height: @input-height-small;
}

27
build/less/fullcalendar.less Executable file → Normal file
View File

@@ -2,6 +2,13 @@
* Plugin: Full Calendar
* ---------------------
*/
// Import variables and mixins as a reference for separate plugins version
@import (reference) "../bootstrap-less/mixins";
@import (reference) "../bootstrap-less/variables";
@import (reference) "variables";
@import (reference) "mixins";
//Fullcalendar buttons
.fc-button {
background: #f4f4f4;
@@ -10,11 +17,12 @@
border-color: #ddd;
border-bottom-color: #ddd;
&:hover,
&:active,
&.hover {
&:active,
&.hover {
background-color: #e9e9e9;
}
}
// Calendar title
.fc-header-title h2 {
font-size: 15px;
@@ -22,38 +30,47 @@
color: #666;
margin-left: 10px;
}
.fc-header-right {
padding-right: 10px;
}
.fc-header-left {
padding-left: 10px;
}
// Calendar table header cells
.fc-widget-header {
background: #fafafa;
}
.fc-grid {
width: 100%;
border: 0;
}
.fc-widget-header:first-of-type,
.fc-widget-content:first-of-type {
border-left: 0;
border-right: 0;
}
.fc-widget-header:last-of-type,
.fc-widget-content:last-of-type {
border-right: 0;
}
.fc-toolbar {
padding: @box-padding;
margin: 0;
}
.fc-day-number {
font-size: 20px;
font-weight: 300;
padding-right: 10px;
}
.fc-color-picker {
list-style: none;
margin: 0;
@@ -71,9 +88,11 @@
}
}
}
#add-new-event {
.transition(all linear .3s);
}
.external-event {
padding: 5px 10px;
font-weight: bold;
@@ -83,6 +102,6 @@
border-radius: @box-border-radius;
cursor: move;
&:hover {
box-shadow: inset 0 0 90px rgba(0,0,0,0.2);
box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.2);
}
}
}

65
build/less/header.less Executable file → Normal file
View File

@@ -8,24 +8,25 @@
max-height: 100px;
z-index: 1030;
//Navbar
> .navbar {
.navbar {
.transition(margin-left @transition-speed @transition-fn);
margin-bottom: 0;
margin-left: @sidebar-width;
border: none;
min-height: @navbar-height;
border-radius: 0;
.layout-top-nav & {
margin-left: 0!important;
margin-left: 0;
}
}
}
//Navbar search text input
#navbar-search-input {
background: rgba(255,255,255,.2);
#navbar-search-input.form-control {
background: rgba(255, 255, 255, .2);
border-color: transparent;
&:focus,
&:active {
border-color: rgba(0,0,0,.1)!important;
background: rgba(255,255,255,.9);
&:active {
border-color: rgba(0, 0, 0, .1);
background: rgba(255, 255, 255, .9);
}
&::-moz-placeholder {
color: #ccc;
@@ -41,10 +42,9 @@
//Navbar Right Menu
.navbar-custom-menu,
.navbar-right {
margin-right: 5px;
float: right;
@media (max-width: @screen-sm-max) {
a {
a {
color: inherit;
background: transparent;
}
@@ -56,6 +56,7 @@
.navbar-collapse & {
margin: 7.5px -15px;
}
> li {
color: inherit;
border: 0;
@@ -76,6 +77,10 @@
&:hover {
color: #fff;
}
&:focus,
&:active {
background: transparent;
}
}
.sidebar-toggle .icon-bar {
display: none;
@@ -102,9 +107,10 @@
//Logo bar
.logo {
.transition(width @transition-speed @transition-fn);
display: block;
float: left;
height: 50px;
height: @navbar-height;
font-size: 20px;
line-height: 50px;
text-align: center;
@@ -112,6 +118,16 @@
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
padding: 0 15px;
font-weight: 300;
overflow: hidden;
//Add support to sidebar mini by allowing the user to create
//2 logo designs. mini and lg
.logo-lg {
//should be visibile when sidebar isn't collapsed
display: block;
}
.logo-mini {
display: none;
}
}
//Navbar Brand. Alternative logo with layout-top-nav
.navbar-brand {
@@ -138,7 +154,7 @@
> .breadcrumb {
float: right;
background: transparent;
margin-top: 0px;
margin-top: 0;
margin-bottom: 0;
font-size: 12px;
padding: 7px 5px;
@@ -149,6 +165,7 @@
> li > a {
color: #444;
text-decoration: none;
display: inline-block;
> .fa, > .glyphicon, > .ion {
margin-right: 5px;
}
@@ -165,25 +182,28 @@
top: 0;
right: 0;
float: none;
background: @gray;
background: @gray-lte;
padding-left: 10px;
li:before {
color: darken(@gray, 20%);
color: darken(@gray-lte, 20%);
}
}
}
}
.navbar-toggle {
color: #fff;
border: 0;
margin: 0;
padding: @navbar-padding-vertical @navbar-padding-horizontal;
}
//Control navbar scaffolding on x-small screens
@media (max-width: @screen-sm-max) {
.navbar-custom-menu .navbar-nav > li {
float: left;
}
//Dont't let links get full width
.navbar-custom-menu .navbar-nav {
margin: 0;
@@ -205,7 +225,6 @@
.navbar {
width: 100%;
float: none;
position: relative!important;
}
.navbar {
margin: 0;
@@ -214,8 +233,16 @@
float: right;
}
}
.main-sidebar,
.left-side {
padding-top: 100px!important;
}
.navbar-collapse.pull-left {
@media (max-width: @screen-sm-max) {
float: none !important;
+ .navbar-custom-menu {
display: block;
position: absolute;
top: 0;
right: 40px;
}
}
}
}

18
build/less/info-box.less Executable file → Normal file
View File

@@ -14,7 +14,7 @@
font-size: 14px;
}
.progress {
background: rgba(0,0,0,.2);
background: rgba(0, 0, 0, .2);
margin: 5px -10px 5px -10px;
height: 2px;
&,
@@ -26,6 +26,7 @@
}
}
}
.info-box-icon {
.border-radius(2px; 0; 2px; 0);
display: block;
@@ -35,17 +36,23 @@
text-align: center;
font-size: 45px;
line-height: 90px;
background: rgba(0,0,0,0.2);
background: rgba(0, 0, 0, 0.2);
> img {
max-width: 100%;
}
}
.info-box-content {
padding: 5px 10px;
margin-left: 90px;
}
.info-box-number {
display: block;
font-weight: bold;
font-size: 18px;
}
.progress-description,
.info-box-text {
display: block;
@@ -54,10 +61,15 @@
overflow: hidden;
text-overflow: ellipsis;
}
.info-box-text {
text-transform: uppercase;
}
.info-box-more {
display: block;
}
.progress-description {
margin: 0;
}
}

23
build/less/invoice.less Executable file → Normal file
View File

@@ -14,26 +14,3 @@
.invoice-title {
margin-top: 0;
}
/* Enhancement for printing */
@media print {
.invoice {
width: 100%;
border: 0;
margin: 0;
padding: 0;
}
.invoice-col {
float: left;
width: 33.3333333%;
}
.table-responsive {
overflow: auto;
> .table tr th,
> .table tr td {
white-space: normal!important;
}
}
}

11
build/less/labels.less Executable file → Normal file
View File

@@ -3,21 +3,26 @@
* ----------------
*/
.label-default {
background-color: @gray;
background-color: @gray-lte;
color: #444;
}
.label-danger {
&:extend(.bg-red);
}
.label-info {
&:extend(.bg-aqua);
}
.label-waring {
.label-warning {
&:extend(.bg-yellow);
}
.label-primary {
&:extend(.bg-light-blue);
}
.label-success {
&:extend(.bg-green);
}
}

17
build/less/lockscreen.less Executable file → Normal file
View File

@@ -4,8 +4,9 @@
*/
/* ADD THIS CLASS TO THE <BODY> TAG */
.lockscreen {
background: @gray;
background: @gray-lte;
}
.lockscreen-logo {
font-size: 35px;
text-align: center;
@@ -15,16 +16,19 @@
color: #444;
}
}
.lockscreen-wrapper {
max-width: 400px;
margin: 0 auto;
margin-top: 10%;
}
/* User name [optional] */
.lockscreen .lockscreen-name {
text-align: center;
font-weight: 600;
font-weight: 600;
}
/* Will contain the image and the sign in form */
.lockscreen-item {
.border-radius(4px);
@@ -34,6 +38,7 @@
margin: 10px auto 30px auto;
width: 290px;
}
/* User image */
.lockscreen-image {
.border-radius(50%);
@@ -41,12 +46,12 @@
left: -10px;
top: -25px;
background: #fff;
padding: 5px;
padding: 5px;
z-index: 10;
> img {
.border-radius(50%);
width: 70px;
height: 70px;
height: 70px;
}
}
@@ -54,7 +59,7 @@
.lockscreen-credentials {
margin-left: 70px;
.form-control {
border: 0 !important;
border: 0;
}
.btn {
background-color: #fff;
@@ -65,4 +70,4 @@
.lockscreen-footer {
margin-top: 10px;
}
}

13
build/less/login_and_register.less Executable file → Normal file
View File

@@ -16,7 +16,7 @@
.login-page,
.register-page {
background: @gray;
background: @gray-lte;
}
.login-box,
@@ -30,22 +30,23 @@
}
.login-box-body,
.register-box-body {
.register-box-body {
background: #fff;
padding: 20px;
color: #444;
border-top: 0;
color: #666;
.form-control-feedback {
color: #777;
}
}
.login-box-msg,
.register-box-msg {
margin: 0;
text-align: center;
padding: 0 20px 20px 20px;
text-align: center;
padding: 0 20px 20px 20px;
}
.social-auth-links {
margin: 10px 0;
}
}

70
build/less/mailbox.less Executable file → Normal file
View File

@@ -7,12 +7,14 @@
margin: 0;
}
}
.mailbox-controls {
padding: 5px;
&.with-border {
border-bottom: 1px solid @box-border-color;
}
}
.mailbox-read-info {
border-bottom: 1px solid @box-border-color;
padding: 10px;
@@ -25,13 +27,16 @@
padding: 5px 0 0 0;
}
}
.mailbox-read-time {
color: #999;
font-size: 13px;
}
.mailbox-read-message {
padding: 10px;
}
.mailbox-attachments {
&:extend(.list-unstyled);
li {
@@ -42,23 +47,28 @@
margin-right: 10px;
}
}
.mailbox-attachment-name {
font-weight: bold;
color: #666;
}
.mailbox-attachment-icon,
.mailbox-attachment-info,
.mailbox-attachment-size {
display: block;
}
.mailbox-attachment-info {
padding: 10px;
background: #f4f4f4;
}
.mailbox-attachment-size {
color: #999;
font-size: 12px;
}
.mailbox-attachment-icon {
text-align: center;
font-size: 65px;
@@ -72,65 +82,7 @@
}
}
}
.mailbox-attachment-close {
&:extend(.close);
}
// ``` These are the rules of the old mailbox, which is now deprecated and will be removed in the a future release ```
.mailbox {
.table-mailbox {
border-left: 1px solid @box-border-color;
border-right: 1px solid @box-border-color;
border-bottom: 1px solid @box-border-color;
tr {
&.unread {
> td {
background-color: rgba(0, 0, 0, 0.05);
color: #000;
font-weight: 600;
}
}
> td > .fa.fa-star,
> td > .fa.fa-star-o,
> td > .glyphicon.glyphicon-star,
> td > .glyphicon.glyphicon-star-empty{
color: @yellow;
cursor: pointer;
}
> td.small-col {
width: 30px;
}
> td.name {
width: 150px;
font-weight: 600;
}
> td.time {
text-align: right;
width: 100px;
}
> td {
white-space: nowrap;
}
& > td > a {color: #444;}
}
}
@media (max-width: @screen-sm-max) {
.nav-stacked {
> li:not(.header) {
float: left;
width: 50%;
&.header {
border: 0!important;
}
}
}
.search-form {
margin-top: 10px;
}
}
}

385
build/less/miscellaneous.less Executable file → Normal file
View File

@@ -2,23 +2,33 @@
* General: Miscellaneous
* ----------------------
*/
/* 10px padding and margins */
// 10px padding and margins
.pad {
padding: 10px;
}
.margin {
margin: 10px;
}
.margin-bottom {
margin-bottom: 20px;
}
/* Display inline */
.inline {
display: inline;
width: auto;
.margin-bottom-none {
margin-bottom: 0;
}
/* Description Blocks */
.margin-r-5 {
margin-right: 5px;
}
// Display inline
.inline {
display: inline;
}
// Description Blocks
.description-block {
display: block;
margin: 10px 0;
@@ -37,7 +47,7 @@
}
}
/* Background colors */
// Background colors
.bg-red,
.bg-yellow,
.bg-aqua,
@@ -48,7 +58,7 @@
.bg-teal,
.bg-olive,
.bg-lime,
.bg-orange ,
.bg-orange,
.bg-fuchsia,
.bg-purple,
.bg-maroon,
@@ -70,52 +80,72 @@
.bg-black-active {
color: #fff !important;
}
.bg-gray {
color: #000;
background-color: @gray!important;
background-color: @gray-lte !important;
}
.bg-gray-light {
background-color: #f7f7f7;
}
.bg-black {
background-color: @black!important;
background-color: @black !important;
}
.bg-red {
background-color: @red !important;
}
.bg-yellow {
background-color: @yellow !important;
}
.bg-aqua {
background-color: @aqua !important;
}
.bg-blue {
background-color: @blue !important;
}
.bg-light-blue {
background-color: @light-blue !important;
}
.bg-green {
background-color: @green !important;
}
.bg-navy {
background-color: @navy !important;
}
.bg-teal {
background-color: @teal !important;
}
.bg-olive {
background-color: @olive !important;
}
.bg-lime {
background-color: @lime !important;
}
.bg-orange {
background-color: @orange !important;
}
.bg-fuchsia {
background-color: @fuchsia !important;
}
.bg-purple {
background-color: @purple !important;
}
.bg-maroon {
background-color: @maroon !important;
}
@@ -123,52 +153,67 @@
//Set of Active Background Colors
.bg-gray-active {
color: #000;
background-color: darken(@gray,10%)!important;
background-color: darken(@gray-lte, 10%) !important;
}
.bg-black-active {
background-color: darken(@black, 10%)!important;
background-color: darken(@black, 10%) !important;
}
.bg-red-active {
background-color: darken(@red , 6%)!important;
background-color: darken(@red , 6%) !important;
}
.bg-yellow-active {
background-color: darken(@yellow , 6%)!important;
background-color: darken(@yellow , 6%) !important;
}
.bg-aqua-active {
background-color: darken(@aqua , 6%)!important;
background-color: darken(@aqua , 6%) !important;
}
.bg-blue-active {
background-color: darken(@blue , 10%)!important;
background-color: darken(@blue , 10%) !important;
}
.bg-light-blue-active {
background-color: darken(@light-blue , 6%)!important;
background-color: darken(@light-blue , 6%) !important;
}
.bg-green-active {
background-color: darken(@green , 5%)!important;
background-color: darken(@green , 5%) !important;
}
.bg-navy-active {
background-color: darken(@navy , 2%)!important;
background-color: darken(@navy , 2%) !important;
}
.bg-teal-active {
background-color: darken(@teal , 5%)!important;
background-color: darken(@teal , 5%) !important;
}
.bg-olive-active {
background-color: darken(@olive , 5%)!important;
background-color: darken(@olive , 5%) !important;
}
.bg-lime-active {
background-color: darken(@lime , 5%)!important;
background-color: darken(@lime , 5%) !important;
}
.bg-orange-active {
background-color: darken(@orange , 5%)!important;
background-color: darken(@orange , 5%) !important;
}
.bg-fuchsia-active {
background-color: darken(@fuchsia , 5%)!important;
background-color: darken(@fuchsia , 5%) !important;
}
.bg-purple-active {
background-color: darken(@purple , 5%)!important;
background-color: darken(@purple , 5%) !important;
}
.bg-maroon-active {
background-color: darken(@maroon , 3%)!important;
background-color: darken(@maroon , 3%) !important;
}
//Disabled!
@@ -176,152 +221,355 @@
.opacity(.65);
}
/* Text colors */
// Text colors
.text-red {
color: @red !important;
}
.text-yellow {
color: @yellow !important;
}
.text-aqua {
color: @aqua !important;
}
.text-blue {
color: @blue !important;
}
.text-black {
color: @black!important;
color: @black !important;
}
.text-light-blue {
color: @light-blue !important;
}
.text-green {
color: @green !important;
}
.text-gray {
color: @gray !important;
color: @gray-lte !important;
}
.text-navy {
color: @navy !important;
}
.text-teal {
color: @teal !important;
}
.text-olive {
color: @olive !important;
}
.text-lime {
color: @lime !important;
}
.text-orange {
color: @orange !important;
}
.text-fuchsia {
color: @fuchsia !important;
}
.text-purple {
color: @purple !important;
}
.text-maroon {
color: @maroon !important;
}
/*Hide elements by display none only*/
.link-muted {
color: darken(@gray-lte, 30%);
&:hover,
&:focus {
color: darken(@gray-lte, 40%);
}
}
.link-black {
color: #666;
&:hover,
&:focus {
color: #999;
}
}
// Hide elements by display none only
.hide {
display: none !important;
}
/* Remove borders */
// Remove borders
.no-border {
border: 0px !important;
border: 0 !important;
}
/* Remove padding */
// Remove padding
.no-padding {
padding: 0px !important;
padding: 0 !important;
}
/* Remove margins */
// Remove margins
.no-margin {
margin: 0px !important;
margin: 0 !important;
}
/* Remove box shadow */
// Remove box shadow
.no-shadow {
box-shadow: none!important;
box-shadow: none !important;
}
/* Unstyled List */
// Unstyled List
.list-unstyled {
list-style: none;
margin: 0;
padding: 0;
}
/* Remove border radius */
.list-group-unbordered {
> .list-group-item {
border-left: 0;
border-right: 0;
border-radius: 0;
padding-left: 0;
padding-right: 0;
}
}
// Remove border radius
.flat {
.border-radius(0)!important;
.border-radius(0) !important;
}
.text-bold {
&, &.table td, &.table th {
font-weight: 700;
}
}
/* _fix for sparkline tooltip */
.jqstooltip{
padding: 5px!important;
width:auto!important;
height:auto!important;
.text-sm {
font-size: 12px;
}
/*
Gradient Background colors
*/
// _fix for sparkline tooltip
.jqstooltip {
padding: 5px !important;
width: auto !important;
height: auto !important;
}
// Gradient Background colors
.bg-teal-gradient {
.gradient(@teal; @teal; lighten(@teal, 16%))!important;
.gradient(@teal; @teal; lighten(@teal, 16%)) !important;
color: #fff;
}
.bg-light-blue-gradient {
.gradient(@light-blue; @light-blue; lighten(@light-blue, 12%))!important;
.gradient(@light-blue; @light-blue; lighten(@light-blue, 12%)) !important;
color: #fff;
}
.bg-blue-gradient {
.gradient(@blue; @blue; lighten(@blue, 7%))!important;
.gradient(@blue; @blue; lighten(@blue, 7%)) !important;
color: #fff;
}
.bg-aqua-gradient {
.gradient(@aqua; @aqua; lighten(@aqua, 7%))!important;
.gradient(@aqua; @aqua; lighten(@aqua, 7%)) !important;
color: #fff;
}
.bg-yellow-gradient {
.gradient(@yellow; @yellow; lighten(@yellow, 16%))!important;
.gradient(@yellow; @yellow; lighten(@yellow, 16%)) !important;
color: #fff;
}
.bg-purple-gradient {
.gradient(@purple; @purple; lighten(@purple, 16%))!important;
.gradient(@purple; @purple; lighten(@purple, 16%)) !important;
color: #fff;
}
.bg-green-gradient {
.gradient(@green; @green; lighten(@green, 7%))!important;
.gradient(@green; @green; lighten(@green, 7%)) !important;
color: #fff;
}
.bg-red-gradient {
.gradient(@red; @red; lighten(@red, 10%))!important;
.gradient(@red; @red; lighten(@red, 10%)) !important;
color: #fff;
}
.bg-black-gradient {
.gradient(@black; @black; lighten(@black, 10%))!important;
.gradient(@black; @black; lighten(@black, 10%)) !important;
color: #fff;
}
.bg-maroon-gradient {
.gradient(@maroon; @maroon; lighten(@maroon, 10%))!important;
.gradient(@maroon; @maroon; lighten(@maroon, 10%)) !important;
color: #fff;
}
//Description Block Extension
.description-block {
.description-icon {
font-size: 16px;
}
}
//Remove top padding
.no-pad-top {
padding-top: 0;
}
//Make position static
.position-static {
position: static !important;
}
//List utility classes
.list-header {
font-size: 15px;
padding: 10px 4px;
font-weight: bold;
color: #666;
}
.list-seperator {
height: 1px;
background: @box-border-color;
margin: 15px 0 9px 0;
}
.list-link {
> a {
padding: 4px;
color: #777;
&:hover {
color: #222;
}
}
}
//Light font weight
.font-light {
font-weight: 300;
}
//User block
.user-block {
.clearfix();
img {
width: 40px;
height: 40px;
float: left;
}
.username,
.description,
.comment {
display: block;
margin-left: 50px;
}
.username {
font-size: 16px;
font-weight: 600;
}
.description {
color: #999;
font-size: 13px;
}
&.user-block-sm {
img {
&:extend(.img-sm);
}
.username,
.description,
.comment {
margin-left: 40px;
}
.username {
font-size: 14px;
}
}
}
//Image sizes
.img-sm,
.img-md,
.img-lg {
float: left;
}
.img-sm {
width: 30px !important;
height: 30px !important;
+ .img-push {
margin-left: 40px;
}
}
.img-md {
width: 60px;
height: 60px;
+ .img-push {
margin-left: 70px;
}
}
.img-lg {
width: 100px;
height: 100px;
+ .img-push {
margin-left: 110px;
}
}
// Image bordered
.img-bordered {
border: 3px solid @gray-lte;
padding: 3px;
}
.img-bordered-sm {
border: 2px solid @gray-lte;
padding: 2px;
}
//General attachemnt block
.attachment-block {
border: 1px solid @box-border-color;
padding: 5px;
margin-bottom: 10px;
background: #f7f7f7;
.attachment-img {
max-width: 100px;
max-height: 100px;
height: auto;
float: left;
}
.attachment-pushed {
margin-left: 110px;
}
.attachment-heading {
margin: 0;
}
.attachment-text {
color: #555;
}
}
.connectedSortable {
min-height: 100px;
}
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
@@ -332,14 +580,27 @@ Gradient Background colors
position: absolute;
width: 1px;
}
.sort-highlight {
background: #f4f4f4;
border: 1px dashed #ddd;
margin-bottom: 10px;
}
.full-opacity-hover {
.opacity(.65);
&:hover {
.opacity(1);
}
}
}
// Charts
.chart {
position: relative;
overflow: hidden;
width: 100%;
svg,
canvas {
width: 100% !important;
}
}

261
build/less/mixins.less Executable file → Normal file
View File

@@ -10,18 +10,16 @@
}
.nav > li > a:hover,
.nav > li > a:active,
.nav > li > a:focus,
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
.nav > li > a:active,
.nav > li > a:focus,
.nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus,
.nav > .active > a {
background: @hover-bg;
color: @hover-color;
}
.navbar-custom-menu > .nav {
margin-right: 10px;
}
//Add color to the sidebar toggle button
.sidebar-toggle {
color: @font-color;
@@ -33,16 +31,13 @@
}
//Logo color variation
.logo-variant(@bg-color; @color: #fff; @border-bottom-color: transparent; @border-bottom-width: 0px) {
.logo-variant(@bg-color; @color: #fff; @border-bottom-color: transparent; @border-bottom-width: 0) {
background-color: @bg-color;
color: @color;
border-bottom: @border-bottom-width solid @border-bottom-color;
> a {
color: @color;
}
&:hover {
background: darken(@bg-color, 1%);
background-color: darken(@bg-color, 1%);
}
}
@@ -55,7 +50,7 @@
background-color: @color;
a,
.btn {
color: @text-color;
color: @text-color;
}
}
}
@@ -63,11 +58,11 @@
//Direct Chat Variant
.direct-chat-variant(@bg-color; @color: #fff) {
.right > .direct-chat-text {
background: @bg-color;
background: @bg-color;
border-color: @bg-color;
color: @color;
&:after,
&:before {
&:before {
border-left-color: @bg-color;
}
}
@@ -77,8 +72,10 @@
.border-radius(@radius) {
border-radius: @radius;
}
//Different radius each side
.border-radius(@top-left; @top-right; @bottom-left; @bottom-right) {
.border-radius(@top-left, @top-right, @bottom-left, @bottom-right)
{
border-top-left-radius: @top-left;
border-top-right-radius: @top-right;
border-bottom-right-radius: @bottom-right;
@@ -89,17 +86,227 @@
.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF) {
background: @color;
background: -webkit-gradient(linear,
left bottom,
left top,
color-stop(0, @start),
color-stop(1, @stop));
left bottom,
left top,
color-stop(0, @start),
color-stop(1, @stop));
background: -ms-linear-gradient(bottom,
@start,
@stop);
@start,
@stop);
background: -moz-linear-gradient(center bottom,
@start 0%,
@stop 100%);
@start 0%,
@stop 100%);
background: -o-linear-gradient(@stop,
@start);
@start);
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",@stop,@start));
}
}
//Added 2.1.0
//Skins Mixins
//Dark Sidebar Mixin
.skin-dark-sidebar(@link-hover-border-color) {
// Sidebar background color (Both .wrapper and .left-side are responsible for sidebar bg color)
.wrapper,
.main-sidebar,
.left-side {
background-color: @sidebar-dark-bg;
}
//User Panel (resides in the sidebar)
.user-panel {
> .info, > .info > a {
color: #fff;
}
}
//Sidebar Menu. First level links
.sidebar-menu > li {
//Section Headning
&.header {
color: lighten(@sidebar-dark-bg, 20%);
background: darken(@sidebar-dark-bg, 4%);
}
//links
> a {
border-left: 3px solid transparent;
}
//Hover and active states
&:hover > a,
&.active > a,
&.menu-open > a {
color: @sidebar-dark-hover-color;
background: @sidebar-dark-hover-bg;
}
&.active > a {
border-left-color: @link-hover-border-color;
}
//First Level Submenu
> .treeview-menu {
margin: 0 1px;
background: @sidebar-dark-submenu-bg;
}
}
//All links within the sidebar menu
.sidebar a {
color: @sidebar-dark-color;
&:hover {
text-decoration: none;
}
}
//All submenus
.sidebar-menu .treeview-menu {
> li {
> a {
color: @sidebar-dark-submenu-color;
}
&.active > a, > a:hover {
color: @sidebar-dark-submenu-hover-color;
}
}
}
//The sidebar search form
.sidebar-form {
.border-radius(3px);
border: 1px solid lighten(@sidebar-dark-bg, 10%);
margin: 10px 10px;
input[type="text"], .btn {
box-shadow: none;
background-color: lighten(@sidebar-dark-bg, 10%);
border: 1px solid transparent;
height: 35px;
//.transition(all @transition-speed @transition-fn);
}
input[type="text"] {
color: #666;
.border-radius(2px, 0, 2px, 0);
&:focus,
&:focus + .input-group-btn .btn {
background-color: #fff;
color: #666;
}
&:focus + .input-group-btn .btn {
border-left-color: #fff;
}
}
.btn {
color: #999;
.border-radius(0, 2px, 0, 2px);
}
}
}
//Light Sidebar Mixin
.skin-light-sidebar(@icon-active-color) {
// Sidebar background color (Both .wrapper and .left-side are responsible for sidebar bg color)
.wrapper,
.main-sidebar,
.left-side {
background-color: @sidebar-light-bg;
}
.content-wrapper,
.main-footer {
//border-left: 1px solid @gray-lte;
}
.main-sidebar {
border-right: 1px solid @gray-lte;
}
//User Panel (resides in the sidebar)
.user-panel {
> .info, > .info > a {
color: @sidebar-light-color;
}
}
//Sidebar Menu. First level links
.sidebar-menu > li {
.transition(border-left-color .3s ease);
//border-left: 3px solid transparent;
//Section Headning
&.header {
color: lighten(@sidebar-light-color, 25%);
background: @sidebar-light-bg;
}
//links
> a {
border-left: 3px solid transparent;
font-weight: 600;
}
//Hover and active states
&:hover > a,
&.active > a {
color: @sidebar-light-hover-color;
background: @sidebar-light-hover-bg;
}
&:hover > a {
}
&.active {
border-left-color: @icon-active-color;
> a {
font-weight: 600;
}
}
//First Level Submenu
> .treeview-menu {
background: @sidebar-light-submenu-bg;
}
}
//All links within the sidebar menu
.sidebar a {
color: @sidebar-light-color;
&:hover {
text-decoration: none;
}
}
//All submenus
.sidebar-menu .treeview-menu {
> li {
> a {
color: @sidebar-light-submenu-color;
}
&.active > a,
> a:hover {
color: @sidebar-light-submenu-hover-color;
}
&.active > a {
font-weight: 600;
}
}
}
//The sidebar search form
.sidebar-form {
.border-radius(3px);
border: 1px solid @gray-lte; //darken(@sidebar-light-bg, 5%);
margin: 10px 10px;
input[type="text"],
.btn {
box-shadow: none;
background-color: #fff; //darken(@sidebar-light-bg, 3%);
border: 1px solid transparent;
height: 35px;
//.transition(all @transition-speed @transition-fn);
}
input[type="text"] {
color: #666;
.border-radius(2px, 0, 2px, 0);
&:focus,
&:focus + .input-group-btn .btn {
background-color: #fff;
color: #666;
}
&:focus + .input-group-btn .btn {
border-left-color: #fff;
}
}
.btn {
color: #999;
.border-radius(0, 2px, 0, 2px);
}
}
@media (min-width: @screen-sm-min) {
&.sidebar-mini.sidebar-collapse {
.sidebar-menu > li > .treeview-menu {
border-left: 1px solid @gray-lte;
}
}
}
}

View File

@@ -3,19 +3,22 @@
* ----------------
*/
.modal {
background: rgba(0,0,0,.3);
background: rgba(0, 0, 0, .3);
}
.modal-content {
.border-radius(0);
.box-shadow(0 2px 3px rgba(0,0,0,.125))!important;
.box-shadow(0 2px 3px rgba(0, 0, 0, .125));
border: 0;
@media (min-width: @screen-sm-min) {
.box-shadow(0 2px 3px rgba(0,0,0,.125))!important;
.box-shadow(0 2px 3px rgba(0, 0, 0, .125));
}
}
.modal-header {
border-bottom-color: @box-border-color;
}
.modal-footer {
border-top-color: @box-border-color;
}
@@ -23,7 +26,7 @@
//Modal variants
.modal-primary {
.modal-body {
&:extend(.bg-light-blue);
&:extend(.bg-light-blue);
}
.modal-header,
.modal-footer {
@@ -31,9 +34,10 @@
border-color: darken(@light-blue, 10%);
}
}
.modal-warning {
.modal-body {
&:extend(.bg-yellow);
&:extend(.bg-yellow);
}
.modal-header,
.modal-footer {
@@ -41,9 +45,10 @@
border-color: darken(@yellow, 10%);
}
}
.modal-info {
.modal-body {
&:extend(.bg-aqua);
&:extend(.bg-aqua);
}
.modal-header,
.modal-footer {
@@ -51,6 +56,7 @@
border-color: darken(@aqua, 10%);
}
}
.modal-success {
.modal-body {
&:extend(.bg-green);
@@ -61,13 +67,14 @@
border-color: darken(@green, 10%);
}
}
.modal-danger {
.modal-body {
&:extend(.bg-red);
&:extend(.bg-red);
}
.modal-header,
.modal-footer {
&:extend(.bg-red-active);
border-color: darken(@red, 10%);
}
}
}

118
build/less/navs.less Executable file → Normal file
View File

@@ -3,11 +3,20 @@
* --------------
*/
.nav {
> li > a:hover,
> li > a:active,
> li > a:focus {
color: #444;
background: #f7f7f7;
}
}
/* NAV PILLS */
.nav-pills {
> li > a {
.border-radius(0);
border-top: 3px solid transparent;
border-top: 3px solid transparent;
color: #444;
> .fa,
> .glyphicon,
@@ -16,32 +25,29 @@
}
}
> li.active > a,
> li.active > a:hover {
background-color: #f4f4f4;
> li.active > a:hover,
> li.active > a:focus {
border-top-color: @light-blue;
color: #444;
}
> li.active > a {
font-weight: 600;
}
> li > a:hover {
background-color: #f6f6f6;
}
}
/* NAV STACKED */
.nav-stacked {
> li > a {
.border-radius(0);
border-top: 0;
border-left: 3px solid transparent;
border-left: 3px solid transparent;
color: #444;
}
> li.active > a,
> li.active > a:hover {
background-color: #f4f4f4;
background: transparent;
color: #444;
border-top: 0;
border-left-color: @light-blue;
color: #444;
}
> li.header {
@@ -67,17 +73,24 @@
border-top: 3px solid transparent;
margin-bottom: -2px;
> a {
.border-radius(0)!important;
color: #444;
.border-radius(0);
&.text-muted {
color: #999;
}
&,
&:hover {
background: transparent;
margin: 0;
}
&:hover {
color: #999;
}
}
&:not(.active) {
> a:hover,
> a:focus,
> a:active {
> a:focus,
> a:active {
border-color: transparent;
}
}
@@ -89,10 +102,10 @@
& > a,
&:hover > a {
background-color: #fff;
color: #444;
}
> a {
border-top: 0;
border-top-color: transparent;
border-left-color: #f4f4f4;
border-right-color: #f4f4f4;
}
@@ -103,23 +116,26 @@
margin-left: 0;
&.active {
> a {
border-left-width: 0;
border-left-color: transparent;
}
}
}
//Pulled to the right
&.pull-right {
float: none!important;
float: none !important;
> li {
float: right;
}
> li:first-of-type {
margin-right: 0;
> a {
border-left-width: 1px;
}
&.active {
> a {
border-left-width: 1px;
border-right-width: 0;
border-left-color: #f4f4f4;
border-right-color: transparent;
}
}
}
@@ -143,17 +159,56 @@
padding: 10px;
.border-bottom-radius(@box-border-radius);
}
}
/* Nav tabs bottom */
.tabs-bottom {
&.nav-3 {
li a {
width: percentage(100/3)!important;
.dropdown.open > a {
&:active,
&:focus {
background: transparent;
color: #999;
}
}
li a {
border: 0;
// Tab color variations
&.tab-primary {
> .nav-tabs {
> li.active {
border-top-color: @light-blue;
}
}
}
&.tab-info {
> .nav-tabs {
> li.active {
border-top-color: @aqua;
}
}
}
&.tab-danger {
> .nav-tabs {
> li.active {
border-top-color: @red;
}
}
}
&.tab-warning {
> .nav-tabs {
> li.active {
border-top-color: @yellow;
}
}
}
&.tab-success {
> .nav-tabs {
> li.active {
border-top-color: @green;
}
}
}
&.tab-default {
> .nav-tabs {
> li.active {
border-top-color: @gray-lte;
}
}
}
}
@@ -163,8 +218,9 @@
background: #fafafa;
color: #666;
}
> li:first-of-type a,
> li:last-of-type a {
.border-radius(0);
&.pagination-flat {
> li > a {
.border-radius(0) !important;
}
}
}
}

4
build/less/plugins.less Normal file
View File

@@ -0,0 +1,4 @@
// Customized third-party plugins
@import "bootstrap-social.less";
@import "fullcalendar.less";
@import "select2.less";

54
build/less/print.less Normal file
View File

@@ -0,0 +1,54 @@
/*
* Misc: print
* -----------
*/
@media print {
//Add to elements that you do not want to show when printing
.no-print {
display: none !important;
}
//Elements that we want to hide when printing
.main-sidebar,
.left-side,
.main-header,
.content-header {
&:extend(.no-print);
}
//This is the only element that should appear, so let's remove the margins
.content-wrapper,
.right-side,
.main-footer {
margin-left: 0 !important;
min-height: 0 !important;
.translate(0, 0) !important;
}
.fixed .content-wrapper,
.fixed .right-side {
padding-top: 0 !important;
}
//Invoice printing
.invoice {
width: 100%;
border: 0;
margin: 0;
padding: 0;
}
.invoice-col {
float: left;
width: 33.3333333%;
}
//Make sure table content displays properly
.table-responsive {
overflow: auto;
> .table tr th,
> .table tr td {
white-space: normal !important;
}
}
}

7
build/less/products.less Executable file → Normal file
View File

@@ -11,7 +11,7 @@
.box-shadow(@box-boxshadow);
.clearfix();
padding: 10px 0;
background: #fff;
background: #fff;
}
.product-img {
float: left;
@@ -21,7 +21,7 @@
}
}
.product-info {
margin-left: 60px;
margin-left: 60px;
}
.product-title {
font-weight: 600;
@@ -34,6 +34,7 @@
text-overflow: ellipsis;
}
}
.product-list-in-box > .item {
.box-shadow(none);
.border-radius(0);
@@ -41,4 +42,4 @@
&:last-of-type {
border-bottom-width: 0;
}
}
}

31
build/less/profile.less Normal file
View File

@@ -0,0 +1,31 @@
/*
* Page: Profile
* -------------
*/
.profile-user-img {
margin: 0 auto;
width: 100px;
padding: 3px;
border: 3px solid @gray-lte;
}
.profile-username {
font-size: 21px;
margin-top: 5px;
}
.post {
border-bottom: 1px solid @gray-lte;
margin-bottom: 15px;
padding-bottom: 15px;
color: #666;
&:last-of-type {
border-bottom: 0;
margin-bottom: 0;
padding-bottom: 0;
}
.user-block {
margin-bottom: 15px;
}
}

16
build/less/progress-bars.less Executable file → Normal file
View File

@@ -4,7 +4,7 @@
*/
//General CSS
.progress,
.progress,
.progress > .progress-bar {
.box-shadow(none);
&, .progress-bar {
@@ -20,6 +20,7 @@
.border-radius(@progress-bar-sm-border-radius);
}
}
.progress.xs,
.progress-xs {
height: 7px;
@@ -27,6 +28,7 @@
.border-radius(@progress-bar-xs-border-radius);
}
}
.progress.xxs,
.progress-xxs {
height: 3px;
@@ -34,6 +36,7 @@
.border-radius(@progress-bar-xs-border-radius);
}
}
/* Vertical bars */
.progress.vertical {
position: relative;
@@ -42,23 +45,23 @@
display: inline-block;
margin-right: 10px;
> .progress-bar {
width: 100%!important;
width: 100%;
position: absolute;
bottom: 0;
}
//Sizes
&.sm,
&.progress-sm{
&.progress-sm {
width: 20px;
}
&.xs,
&.progress-xs{
&.progress-xs {
width: 10px;
}
&.xxs,
&.progress-xxs{
&.progress-xxs {
width: 3px;
}
}
@@ -86,6 +89,7 @@
.progress-bar-primary {
.progress-bar-variant(@light-blue);
}
.progress-bar-green,
.progress-bar-success {
.progress-bar-variant(@green);
@@ -104,4 +108,4 @@
.progress-bar-red,
.progress-bar-danger {
.progress-bar-variant(@red);
}
}

123
build/less/select2.less Normal file
View File

@@ -0,0 +1,123 @@
/*
* Plugin: Select2
* ---------------
*/
// Import variables and mixins as a reference for separate plugins version
@import (reference) "../bootstrap-less/mixins";
@import (reference) "../bootstrap-less/variables";
@import (reference) "variables";
@import (reference) "mixins";
//Signle select
.select2-container--default,
.select2-selection {
&.select2-container--focus,
&:focus,
&:active {
outline: none;
}
.select2-selection--single {
border: 1px solid @gray-lte;
border-radius: @input-radius;
padding: 6px 12px;
height: 34px;
}
}
.select2-container--default.select2-container--open {
border-color: @light-blue;
}
.select2-dropdown {
border: 1px solid @gray-lte;
border-radius: @input-radius;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
background-color: @light-blue;
color: white;
}
.select2-results__option {
padding: 6px 12px;
user-select: none;
-webkit-user-select: none;
}
.select2-container .select2-selection--single .select2-selection__rendered {
padding-left: 0;
padding-right: 0;
height: auto;
margin-top: -4px;
}
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
padding-right: 6px;
padding-left: 20px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
height: 28px;
right: 3px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
margin-top: 0;
}
.select2-dropdown,
.select2-search--inline {
.select2-search__field {
border: 1px solid @gray-lte;
&:focus {
outline: none;
border: 1px solid @light-blue;
}
}
}
.select2-container--default .select2-results__option[aria-disabled=true] {
color: #999;
}
.select2-container--default .select2-results__option[aria-selected=true] {
background-color: #ddd;
&,
&:hover {
color: #444;
}
}
//Multiple select
.select2-container--default {
.select2-selection--multiple {
border: 1px solid @gray-lte;
border-radius: @input-radius;
&:focus {
border-color: @light-blue;
}
}
&.select2-container--focus .select2-selection--multiple {
border-color: @gray-lte;
}
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: @light-blue;
border-color: darken(@light-blue, 5%);
padding: 1px 10px;
color: #fff;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
margin-right: 5px;
color: rgba(255, 255, 255, .7);
&:hover {
color: #fff;
}
}
.select2-container .select2-selection--single .select2-selection__rendered {
padding-right: 10px;
}

View File

@@ -0,0 +1,165 @@
/*
* Component: Sidebar Mini
*/
//Add sidebar-mini class to the body tag to activate this feature
.sidebar-mini {
//Sidebar mini should work only on devices larger than @screen-sm
@media (min-width: @screen-sm) {
//When the sidebar is collapsed...
&.sidebar-collapse {
//Apply the new margining to the main content and footer
.content-wrapper,
.right-side,
.main-footer {
margin-left: 50px !important;
z-index: 840;
}
//Modify the sidebar to shrink instead of disappearing
.main-sidebar {
//Don't go away! Just shrink
.translate(0, 0);
width: 50px !important;
z-index: 850;
}
.sidebar-menu {
> li {
position: relative;
> a {
margin-right: 0;
}
> a > span {
border-top-right-radius: 4px;
}
&:not(.treeview) {
> a > span {
border-bottom-right-radius: 4px;
}
}
> .treeview-menu {
// Add some padding to the treeview menu
padding-top: 5px;
padding-bottom: 5px;
border-bottom-right-radius: 4px;
}
}
}
//Make the sidebar links, menus, labels, badges
//and angle icons disappear
.main-sidebar .user-panel > .info,
.sidebar-form,
.sidebar-menu > li > a > span,
.sidebar-menu > li > .treeview-menu,
.sidebar-menu > li > a > .pull-right,
.sidebar-menu li.header {
display: none !important;
-webkit-transform: translateZ(0);
}
.main-header {
//Let's make the logo also shrink and the mini logo to appear
.logo {
width: 50px;
> .logo-mini {
display: block;
margin-left: -15px;
margin-right: -15px;
font-size: 18px;
}
> .logo-lg {
display: none;
}
}
//Since the logo got smaller, we need to fix the navbar's position
.navbar {
margin-left: 50px;
}
}
}
}
}
// Show menu items on hover
.sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse {
.sidebar-menu > li:hover {
> a {
//overflow: visible;
}
> a > span:not(.pull-right), //:not(.pull-right-container),
> .treeview-menu {
display: block !important;
position: absolute;
width: @sidebar-width - 50;
left: 50px;
}
//position the header & treeview menus
> a > span {
top: 0;
margin-left: -3px;
padding: 12px 5px 12px 20px;
background-color: inherit;
}
> a > .pull-right-container {
//display: block!important;
position: relative !important;
float: right;
width: auto !important;
left: 200px - 20px !important;
top: -22px !important;
z-index: 900;
> .label:not(:first-of-type) {
display: none;
}
}
> .treeview-menu {
top: 44px;
margin-left: 0;
}
}
}
.sidebar-expanded-on-hover {
.main-footer,
.content-wrapper {
margin-left: 50px;
}
.main-sidebar {
box-shadow: @sidebar-expanded-shadow;
}
}
//A fix for text overflow while transitioning from sidebar mini to full sidebar
.sidebar-menu,
.main-sidebar .user-panel,
.sidebar-menu > li.header {
white-space: nowrap;
overflow: hidden;
}
.sidebar-menu:hover {
overflow: visible;
}
.sidebar-form,
.sidebar-menu > li.header {
overflow: hidden;
text-overflow: clip;
}
.sidebar-menu li > a {
position: relative;
> .pull-right-container {
position: absolute;
right: 10px;
top: 50%;
margin-top: -7px;
}
}

118
build/less/sidebar.less Executable file → Normal file
View File

@@ -3,7 +3,7 @@
* ------------------
*/
//Main Sidebar
// ``` .left-side has been deprecated in favor of .main-sidebar ```
// ``` .left-side has been deprecated as of 2.0.0 in favor of .main-sidebar ```
.main-sidebar,
.left-side {
@@ -11,19 +11,24 @@
top: 0;
left: 0;
padding-top: 50px;
height: 100%;
min-height: 100%;
width: @sidebar-width;
z-index: 810;
.transition-transform(@transition-speed @transition-fn);
//Using disposable variable to join statements with a comma
@transition-rule: @transition-speed @transition-fn,
width @transition-speed @transition-fn;
.transition-transform(@transition-rule);
@media (max-width: @screen-header-collapse) {
padding-top: 100px;
}
@media (max-width: @screen-xs-max) {
.translate(-@sidebar-width, 0);
.translate(-@sidebar-width, 0);
}
.sidebar-collapse & {
@media (min-width: @screen-sm) {
.translate(-@sidebar-width, 0);
}
}
.sidebar-open & {
@media (max-width: @screen-xs-max) {
.translate(0, 0);
@@ -33,43 +38,46 @@
.sidebar {
padding-bottom: 10px;
.fixed & {
overflow: auto;
height: 100%;
}
}
// remove border from form
.sidebar-form {
input:focus {
border-color: transparent!important;
border-color: transparent;
}
}
//Sidebar user panel
.user-panel {
position: relative;
width: 100%;
padding: 10px;
overflow: hidden;
.clearfix();
> .image > img {
width: 45px;
height: 45px;
width: 100%;
max-width: 45px;
height: auto;
}
> .info {
font-weight: 600;
padding: 5px 5px 5px 15px;
font-size: 14px;
line-height: 1;
}
> .info > p {
margin-bottom: 9px;
}
> .info > a {
text-decoration: none;
padding-right: 5px;
margin-top: 3px;
font-size: 11px;
font-weight: normal;
> .fa, > .ion, > .glyphicon {
margin-right: 3px;
position: absolute;
left: 55px;
> p {
font-weight: 600;
margin-bottom: 9px;
}
> a {
text-decoration: none;
padding-right: 5px;
margin-top: 3px;
font-size: 11px;
> .fa,
> .ion,
> .glyphicon {
margin-right: 3px;
}
}
}
}
@@ -79,7 +87,7 @@
list-style: none;
margin: 0;
padding: 0;
//First Level
> li {
position: relative;
margin: 0;
@@ -95,56 +103,38 @@
}
.label,
.badge {
margin-top: 3px;
margin-right: 5px;
}
.badge {
margin-top: 3px;
}
}
li.header {
padding: 10px 25px 10px 15px;
font-size: 12px;
}
li > a > .fa-angle-left {
li > a > .fa-angle-left,
li > a > .pull-right-container > .fa-angle-left {
width: auto;
height: auto;
padding: 0;
margin-right: 10px;
margin-top: 3px;
.transition(transform .5s ease);
}
li.active {
> a > .fa-angle-left {
.rotate(-90deg);
}
> .treeview-menu {
display: block;
}
li > a > .fa-angle-left {
position: absolute;
top: 50%;
right: 10px;
margin-top: -8px;
}
// Tree view menu
.treeview-menu {
display: none;
list-style: none;
padding:0;
margin:0;
padding-left: 5px;
.treeview-menu {
padding-left: 20px;
}
> li {
margin: 0;
> a {
padding: 5px 5px 5px 15px;
display: block;
font-size: 14px;
> .fa,
> .glyphicon,
> .ion {
width: 20px;
}
> .fa-angle-left,
> .fa-angle-down {
width: auto;
}
}
.menu-open {
> a > .fa-angle-left,
> a > .pull-right-container > .fa-angle-left {
.rotate(-90deg);
}
}
}
.active > .treeview-menu {
display: block;
}
}

View File

@@ -1,7 +1,13 @@
//All skins in one file
@import "skin-blue.less";
@import "skin-blue-light.less";
@import "skin-black.less";
@import "skin-black-light.less";
@import "skin-green.less";
@import "skin-green-light.less";
@import "skin-red.less";
@import "skin-red-light.less";
@import "skin-yellow.less";
@import "skin-purple.less";
@import "skin-yellow-light.less";
@import "skin-purple.less";
@import "skin-purple-light.less";

View File

@@ -0,0 +1,65 @@
/*
* Skin: Black
* -----------
*/
@import "../../bootstrap-less/mixins.less";
@import "../../bootstrap-less/variables.less";
@import "../variables.less";
@import "../mixins.less";
/* skin-black navbar */
.skin-black-light {
//Navbar & Logo
.main-header {
//.box-shadow(0px 1px 1px rgba(0, 0, 0, 0.05));
border-bottom: 1px solid @gray-lte;
.navbar-toggle {
color: #333;
}
.navbar-brand {
color: #333;
border-right: 1px solid @gray-lte;
}
.navbar {
.navbar-variant(#fff; #333; #999; #fff);
> .sidebar-toggle {
color: #333;
border-right: 1px solid @gray-lte;
}
.navbar-nav {
> li > a {
border-right: 1px solid @gray-lte;
}
}
.navbar-custom-menu .navbar-nav,
.navbar-right {
> li {
> a {
border-left: 1px solid @gray-lte;
border-right-width: 0;
}
}
}
}
> .logo {
.logo-variant(#fff; #333);
border-right: 1px solid @gray-lte;
@media (max-width: @screen-header-collapse) {
.logo-variant(#222; #fff);
border-right: none;
}
}
li.user-header {
background-color: #222;
}
}
//Content Header
.content-header {
background: transparent;
box-shadow: none;
}
//Create the sidebar skin
.skin-light-sidebar(#fff);
}

99
build/less/skins/skin-black.less Executable file → Normal file
View File

@@ -9,7 +9,7 @@
/* skin-black navbar */
.skin-black {
//Navbar & Logo
//Navbar & Logo
.main-header {
.box-shadow(0px 1px 1px rgba(0, 0, 0, 0.05));
.navbar-toggle {
@@ -19,7 +19,7 @@
color: #333;
border-right: 1px solid #eee;
}
> .navbar {
.navbar {
.navbar-variant(#fff; #333; #999; #fff);
> .sidebar-toggle {
color: #333;
@@ -59,91 +59,16 @@
background: transparent;
box-shadow: none;
}
//User Panel (resides in sidebar)
.user-panel {
> .image > img {
border: 1px solid #444;
}
//Create the sidebar skin
.skin-dark-sidebar(#fff);
> .info, > .info > a {
color: #eee;
.pace {
.pace-progress {
background: #222;
}
.pace-activity {
border-top-color: #222;
border-left-color: #222;
}
}
//Sidebar & Treeview
// Sidebar color
.main-sidebar,
.left-side,
.wrapper {
background: #222;
}
// the menu
.sidebar > .sidebar-menu > li {
&.header {
background: darken(#222, 2%);
color: rgba(255, 255, 255, .4);
}
> a {
margin-right: 1px;
border-left: 3px solid transparent;
}
//Hover and active states
> a:hover,
&.active > a {
color: #fff;
background: #444;
border-left-color: #fff;
}
> .treeview-menu {
background: #333;
}
}
.sidebar a {
color: #eee;
&:hover {
text-decoration: none;
}
}
// skin blue treeview-menu
.treeview-menu {
> li {
> a {
color: #ccc;
}
&.active > a,
> a:hover {
color: #fff;
}
}
}
//Sidebar Search Form
.sidebar-form {
.border-radius(3px);
border: 1px solid lighten(#222, 10%);
margin: 10px 10px;
input[type="text"], .btn {
box-shadow: none;
background-color: lighten(#222, 10%);
border: 1px solid transparent;
height: 35px;
.transition(all @transition-speed @transition-fn);
}
input[type="text"] {
color: #666;
.border-radius(2px, 0, 2px, 0) !important;
&:focus, &:focus + .input-group-btn .btn {
background-color: #fff;
color: #666;
}
&:focus + .input-group-btn .btn {
border-left-color: #fff;
}
}
.btn {
color: #999;
.border-radius(0, 2px, 0, 2px) !important;
}
}
}
}

View File

@@ -0,0 +1,61 @@
/*
* Skin: Blue
* ----------
*/
@import "../../bootstrap-less/mixins.less";
@import "../../bootstrap-less/variables.less";
@import "../variables.less";
@import "../mixins.less";
.skin-blue-light {
//Navbar
.main-header {
.navbar {
.navbar-variant(@light-blue; #fff);
.sidebar-toggle {
color: #fff;
&:hover {
background-color: darken(@light-blue, 5%);
}
}
@media (max-width: @screen-header-collapse) {
.dropdown-menu {
li {
&.divider {
background-color: rgba(255, 255, 255, 0.1);
}
a {
color: #fff;
&:hover {
background: darken(@light-blue, 5%);
}
}
}
}
}
}
//Logo
.logo {
.logo-variant(@light-blue);
}
li.user-header {
background-color: @light-blue;
}
}
//Content Header
.content-header {
background: transparent;
}
//Create the sidebar skin
.skin-light-sidebar(@light-blue);
.main-footer {
border-top-color: @gray-lte;
}
}
.skin-blue.layout-top-nav .main-header > .logo {
.logo-variant(@light-blue);
}

88
build/less/skins/skin-blue.less Executable file → Normal file
View File

@@ -49,92 +49,10 @@
background: transparent;
}
//User Panel (resides in the sidebar)
.user-panel {
> .info, > .info > a {
color: #fff;
}
}
//Sidebar & Treeview menu
// the menu
.sidebar-menu > li {
&.header {
color: lighten(@sidebar-dark-bg, 20%);
background: darken(@sidebar-dark-bg, 4%);
}
> a {
border-left: 3px solid transparent;
margin-right: 1px;
}
//Hover and active states
> a:hover, &.active > a {
color: @sidebar-dark-hover-color;
background: @sidebar-dark-hover-bg;
border-left-color: @light-blue;
}
> .treeview-menu {
margin: 0 1px;
background: @sidebar-dark-submenu-bg;
}
}
// Sidebar color (Both .wrapper and .left-side are responsible for sidebar bg color)
.wrapper,
.main-sidebar,
.left-side {
background: @sidebar-dark-bg;
}
.sidebar a {
color: @sidebar-dark-color;
&:hover {
text-decoration: none;
}
}
// skin blue treeview-menu
.treeview-menu {
> li {
> a {
color: @sidebar-dark-submenu-color;
}
&.active > a, > a:hover {
color: @sidebar-dark-submenu-hover-color;
}
}
}
.sidebar-form {
.border-radius(3px);
border: 1px solid lighten(@sidebar-dark-bg, 10%);
margin: 10px 10px;
input[type="text"], .btn {
box-shadow: none;
background-color: lighten(@sidebar-dark-bg, 10%);
border: 1px solid transparent;
height: 35px;
.transition(all @transition-speed @transition-fn);
}
input[type="text"] {
color: #666;
.border-radius(2px, 0, 2px, 0) !important;
&:focus, &:focus + .input-group-btn .btn {
background-color: #fff;
color: #666;
}
&:focus + .input-group-btn .btn {
border-left-color: #fff;
}
}
.btn {
color: #999;
.border-radius(0, 2px, 0, 2px) !important;
}
}
//Create the sidebar skin
.skin-dark-sidebar(@light-blue);
}
.skin-blue.layout-top-nav .main-header > .logo {
.logo-variant(@light-blue);
}
}

View File

@@ -0,0 +1,55 @@
/*
* Skin: Green
* -----------
*/
@import "../../bootstrap-less/mixins.less";
@import "../../bootstrap-less/variables.less";
@import "../variables.less";
@import "../mixins.less";
.skin-green-light {
//Navbar
.main-header {
.navbar {
.navbar-variant(@green; #fff);
.sidebar-toggle {
color: #fff;
&:hover {
background-color: darken(@green, 5%);
}
}
@media (max-width: @screen-header-collapse) {
.dropdown-menu {
li {
&.divider {
background-color: rgba(255, 255, 255, 0.1);
}
a {
color: #fff;
&:hover {
background: darken(@green, 5%);
}
}
}
}
}
}
//Logo
.logo {
.logo-variant(@green);
}
li.user-header {
background-color: @green;
}
}
//Content Header
.content-header {
background: transparent;
}
//Create the sidebar skin
.skin-light-sidebar(@green);
}

View File

@@ -2,7 +2,6 @@
* Skin: Green
* -----------
*/
@import "../../bootstrap-less/mixins.less";
@import "../../bootstrap-less/variables.less";
@import "../variables.less";
@@ -19,11 +18,11 @@
background-color: darken(@green, 5%);
}
}
@media(max-width: @screen-header-collapse) {
@media (max-width: @screen-header-collapse) {
.dropdown-menu {
li {
&.divider {
background-color: rgba(255,255,255,0.1);
background-color: rgba(255, 255, 255, 0.1);
}
a {
color: #fff;
@@ -37,9 +36,9 @@
}
//Logo
.logo {
.logo-variant(darken(@green, 5%));
.logo-variant(darken(@green, 5%));
}
li.user-header {
background-color: @green;
}
@@ -50,86 +49,7 @@
background: transparent;
}
//User Panel (resides in the sidebar)
.user-panel {
//Create the sidebar skin
.skin-dark-sidebar(@green);
> .info, > .info > a {
color: #fff;
}
}
//Sidebar & Treeview menu
// the menu
.sidebar-menu > li {
&.header {
color: lighten(@sidebar-dark-bg, 20%);
background: darken(@sidebar-dark-bg, 4%);
}
> a {
border-left: 3px solid transparent;
margin-right: 1px;
}
//Hover and active states
> a:hover, &.active > a {
color: @sidebar-dark-hover-color;
background: @sidebar-dark-hover-bg;
border-left-color: @green;
}
> .treeview-menu {
margin: 0 1px;
background: @sidebar-dark-submenu-bg;
}
}
// Sidebar color (Both .wrapper and .left-side are responsible for sidebar bg color)
.wrapper ,
.main-sidebar,
.left-side {
background: @sidebar-dark-bg;
}
.sidebar a {
color: @sidebar-dark-color;
&:hover {
text-decoration: none;
}
}
// skin blue treeview-menu
.treeview-menu {
> li {
> a {color: @sidebar-dark-submenu-color;}
&.active > a, > a:hover {
color: @sidebar-dark-submenu-hover-color;
}
}
}
.sidebar-form {
.border-radius(3px);
border: 1px solid lighten(@sidebar-dark-bg, 10%);
margin: 10px 10px;
input[type="text"], .btn {
box-shadow: none;
background-color: lighten(@sidebar-dark-bg, 10%);
border: 1px solid transparent;
height: 35px;
.transition(all @transition-speed @transition-fn);
}
input[type="text"]{
color: #666;
.border-radius(2px, 0, 2px, 0)!important;
&:focus, &:focus + .input-group-btn .btn {
background-color: #fff;
color: #666;
}
&:focus + .input-group-btn .btn {
border-left-color: #fff;
}
}
.btn {
color: #999;
.border-radius(0, 2px, 0, 2px)!important;
}
}
}
}

Some files were not shown because too many files have changed in this diff Show More