Browse Source

Rebuild dist from source Fixes #1201

pull/1191/merge
jlukic 10 years ago
parent
commit
c381af37e8
14 changed files with 268 additions and 106 deletions
  1. 1
      dist/components/checkbox.css
  2. 2
      dist/components/checkbox.min.css
  3. 89
      dist/components/dropdown.css
  4. 2
      dist/components/dropdown.min.css
  5. 6
      dist/components/menu.css
  6. 2
      dist/components/menu.min.css
  7. 2
      dist/components/message.css
  8. 2
      dist/components/message.min.css
  9. 70
      dist/components/shape.js
  10. 2
      dist/components/shape.min.js
  11. 110
      dist/semantic.css
  12. 70
      dist/semantic.js
  13. 2
      dist/semantic.min.css
  14. 14
      dist/semantic.min.js

1
dist/components/checkbox.css

@ -47,6 +47,7 @@
.ui.checkbox .box,
.ui.checkbox label {
display: block;
cursor: pointer;
padding-left: 1.75em;
outline: none;

2
dist/components/checkbox.min.css
File diff suppressed because it is too large
View File

89
dist/components/dropdown.css

@ -299,28 +299,6 @@ select.ui.dropdown {
opacity: 1;
}
/* Search Selection Input */
.ui.selection > input.search {
cursor: pointer;
background: none transparent;
border: none;
position: absolute;
top: 0em;
left: 0em;
width: 100%;
line-height: 1.2em;
padding: 0.8em 1.1em;
outline: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
.ui.selection.active > input.search,
.ui.selection.visible > input.search {
cursor: auto;
}
.ui.selection > input.search:focus + .text {
color: rgba(0, 0, 0, 0.4) !important;
}
/* Selection Menu */
.ui.selection.dropdown .menu {
overflow-x: hidden;
@ -414,6 +392,73 @@ select.ui.dropdown {
border-bottom-right-radius: 0em !important;
}
/*--------------
Searchable
---------------*/
/* Search Selection */
.ui.search.dropdown {
min-width: auto;
}
/* Search Dropdown */
.ui.search.dropdown > input.search {
background: none transparent;
border: none;
cursor: pointer;
position: absolute;
border-radius: 0em !important;
top: 0em;
left: 0em;
width: 100%;
outline: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
padding: inherit;
/*Amazing trick */
}
/* Search Selection */
.ui.search.selection.dropdown > input.search {
line-height: 1.2em;
}
.ui.search.dropdown.active > input.search,
.ui.search.dropdown.visible > input.search {
cursor: auto;
}
.ui.search.dropdown > input.search:focus + .text {
color: rgba(0, 0, 0, 0.4) !important;
}
/* Search Menu */
.ui.search.dropdown .menu {
overflow-x: hidden;
overflow-y: auto;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-overflow-scrolling: touch;
}
@media only screen and (max-width: 767px) {
.ui.search.dropdown .menu {
max-height: 7.7142rem;
}
}
@media only screen and (min-width: 768px) {
.ui.search.dropdown .menu {
max-height: 10.2856rem;
}
}
@media only screen and (min-width: 992px) {
.ui.search.dropdown .menu {
max-height: 15.4284rem;
}
}
@media only screen and (min-width: 1920px) {
.ui.search.dropdown .menu {
max-height: 20.5712rem;
}
}
/*--------------
Inline
---------------*/

2
dist/components/dropdown.min.css
File diff suppressed because it is too large
View File

6
dist/components/menu.css

@ -1554,7 +1554,7 @@
/* Small */
.ui.small.menu .item {
font-size: 0.9285em;
font-size: 0.875rem;
}
.ui.small.vertical.menu {
width: 13rem;
@ -1562,7 +1562,7 @@
/* Medium */
.ui.menu .item {
font-size: 1em;
font-size: 1rem;
}
.ui.vertical.menu {
width: 15rem;
@ -1570,7 +1570,7 @@
/* Large */
.ui.large.menu .item {
font-size: 1.1428em;
font-size: 1.125rem;
}
.ui.large.menu .item .item {
font-size: 0.875rem;

2
dist/components/menu.min.css
File diff suppressed because it is too large
View File

2
dist/components/message.css

@ -45,7 +45,7 @@
display: block;
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
font-weight: bold;
margin: 0em 0em 0em 0rem;
margin: 0em 0em 0.5rem 0em;
}
/* Default font size */

2
dist/components/message.min.css
File diff suppressed because it is too large
View File

70
dist/components/shape.js

@ -56,7 +56,7 @@ $.fn.shape = function(parameters) {
$side = $module.find(selector.side),
// private variables
nextSelector = false,
nextIndex = false,
$activeSide,
$nextSide,
@ -177,6 +177,9 @@ $.fn.shape = function(parameters) {
},
is: {
complete: function() {
return ($side.filter('.' + className.active)[0] == $nextSide[0]);
},
animating: function() {
return $module.hasClass(className.animating);
}
@ -190,7 +193,7 @@ $.fn.shape = function(parameters) {
? $activeSide.next(selector.side)
: $module.find(selector.side).first()
;
nextSelector = false;
nextIndex = false;
module.verbose('Active side set to', $activeSide);
module.verbose('Next side set to', $nextSide);
},
@ -217,8 +220,8 @@ $.fn.shape = function(parameters) {
var
$clone = $module.clone().addClass(className.loading),
$activeSide = $clone.find('.' + settings.className.active),
$nextSide = (nextSelector)
? $clone.find(nextSelector)
$nextSide = (nextIndex)
? $clone.find(selector.side).eq(nextIndex)
: ( $activeSide.next(selector.side).size() > 0 )
? $activeSide.next(selector.side)
: $clone.find(selector.side).first(),
@ -226,7 +229,7 @@ $.fn.shape = function(parameters) {
;
$activeSide.removeClass(className.active);
$nextSide.addClass(className.active);
$clone.prependTo($body);
$clone.insertAfter($module);
newSize = {
width : $nextSide.outerWidth(),
height : $nextSide.outerHeight()
@ -239,9 +242,11 @@ $.fn.shape = function(parameters) {
},
nextSide: function(selector) {
nextSelector = selector;
$nextSide = $module.find(selector);
nextIndex = selector;
$nextSide = $side.filter(selector);
nextIndex = $side.index($nextSide);
if($nextSide.size() === 0) {
module.set.defaultSide();
module.error(error.side);
}
module.verbose('Next side manually set to', $nextSide);
@ -263,8 +268,12 @@ $.fn.shape = function(parameters) {
flip: {
up: function() {
module.debug('Flipping up', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping up', $nextSide);
module.set.stageSize();
module.stage.above();
module.animate( module.get.transform.up() );
@ -275,8 +284,12 @@ $.fn.shape = function(parameters) {
},
down: function() {
module.debug('Flipping down', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping down', $nextSide);
module.set.stageSize();
module.stage.below();
module.animate( module.get.transform.down() );
@ -287,8 +300,12 @@ $.fn.shape = function(parameters) {
},
left: function() {
module.debug('Flipping left', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping left', $nextSide);
module.set.stageSize();
module.stage.left();
module.animate(module.get.transform.left() );
@ -299,8 +316,12 @@ $.fn.shape = function(parameters) {
},
right: function() {
module.debug('Flipping right', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping right', $nextSide);
module.set.stageSize();
module.stage.right();
module.animate(module.get.transform.right() );
@ -311,8 +332,12 @@ $.fn.shape = function(parameters) {
},
over: function() {
module.debug('Flipping over', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping over', $nextSide);
module.set.stageSize();
module.stage.behind();
module.animate(module.get.transform.over() );
@ -323,8 +348,12 @@ $.fn.shape = function(parameters) {
},
back: function() {
module.debug('Flipping back', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping back', $nextSide);
module.set.stageSize();
module.stage.behind();
module.animate(module.get.transform.back() );
@ -769,6 +798,9 @@ $.fn.shape.settings = {
beforeChange : function() {},
onChange : function() {},
// allow animation to same side
allowRepeats: false,
// animation duration
duration : 700,

2
dist/components/shape.min.js
File diff suppressed because it is too large
View File

110
dist/semantic.css

@ -4312,6 +4312,7 @@ a.ui.card:hover,
.ui.checkbox .box,
.ui.checkbox label {
display: block;
cursor: pointer;
padding-left: 1.75em;
outline: none;
@ -5790,31 +5791,6 @@ select.ui.dropdown {
opacity: 1;
}
/* Search Selection Input */
.ui.selection > input.search {
cursor: pointer;
background: none transparent;
border: none;
position: absolute;
top: 0em;
left: 0em;
width: 100%;
line-height: 1.2em;
padding: 0.8em 1.1em;
outline: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
.ui.selection.active > input.search,
.ui.selection.visible > input.search {
cursor: auto;
}
.ui.selection > input.search:focus + .text {
color: rgba(0, 0, 0, 0.4) !important;
}
/* Selection Menu */
.ui.selection.dropdown .menu {
@ -5921,6 +5897,82 @@ select.ui.dropdown {
border-bottom-right-radius: 0em !important;
}
/*--------------
Searchable
---------------*/
/* Search Selection */
.ui.search.dropdown {
min-width: auto;
}
/* Search Dropdown */
.ui.search.dropdown > input.search {
background: none transparent;
border: none;
cursor: pointer;
position: absolute;
border-radius: 0em !important;
top: 0em;
left: 0em;
width: 100%;
outline: none;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
padding: inherit;
/*Amazing trick */
}
/* Search Selection */
.ui.search.selection.dropdown > input.search {
line-height: 1.2em;
}
.ui.search.dropdown.active > input.search,
.ui.search.dropdown.visible > input.search {
cursor: auto;
}
.ui.search.dropdown > input.search:focus + .text {
color: rgba(0, 0, 0, 0.4) !important;
}
/* Search Menu */
.ui.search.dropdown .menu {
overflow-x: hidden;
overflow-y: auto;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-overflow-scrolling: touch;
}
@media only screen and (max-width: 767px) {
.ui.search.dropdown .menu {
max-height: 7.7142rem;
}
}
@media only screen and (min-width: 768px) {
.ui.search.dropdown .menu {
max-height: 10.2856rem;
}
}
@media only screen and (min-width: 992px) {
.ui.search.dropdown .menu {
max-height: 15.4284rem;
}
}
@media only screen and (min-width: 1920px) {
.ui.search.dropdown .menu {
max-height: 20.5712rem;
}
}
/*--------------
Inline
---------------*/
@ -18739,7 +18791,7 @@ ol.ui.horizontal.list li:before,
/* Small */
.ui.small.menu .item {
font-size: 0.9285em;
font-size: 0.875rem;
}
.ui.small.vertical.menu {
@ -18749,7 +18801,7 @@ ol.ui.horizontal.list li:before,
/* Medium */
.ui.menu .item {
font-size: 1em;
font-size: 1rem;
}
.ui.vertical.menu {
@ -18759,7 +18811,7 @@ ol.ui.horizontal.list li:before,
/* Large */
.ui.large.menu .item {
font-size: 1.1428em;
font-size: 1.125rem;
}
.ui.large.menu .item .item {
@ -18829,7 +18881,7 @@ ol.ui.horizontal.list li:before,
display: block;
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
font-weight: bold;
margin: 0em 0em 0em 0rem;
margin: 0em 0em 0.5rem 0em;
}
/* Default font size */

70
dist/semantic.js

@ -10003,7 +10003,7 @@ $.fn.shape = function(parameters) {
$side = $module.find(selector.side),
// private variables
nextSelector = false,
nextIndex = false,
$activeSide,
$nextSide,
@ -10124,6 +10124,9 @@ $.fn.shape = function(parameters) {
},
is: {
complete: function() {
return ($side.filter('.' + className.active)[0] == $nextSide[0]);
},
animating: function() {
return $module.hasClass(className.animating);
}
@ -10137,7 +10140,7 @@ $.fn.shape = function(parameters) {
? $activeSide.next(selector.side)
: $module.find(selector.side).first()
;
nextSelector = false;
nextIndex = false;
module.verbose('Active side set to', $activeSide);
module.verbose('Next side set to', $nextSide);
},
@ -10164,8 +10167,8 @@ $.fn.shape = function(parameters) {
var
$clone = $module.clone().addClass(className.loading),
$activeSide = $clone.find('.' + settings.className.active),
$nextSide = (nextSelector)
? $clone.find(nextSelector)
$nextSide = (nextIndex)
? $clone.find(selector.side).eq(nextIndex)
: ( $activeSide.next(selector.side).size() > 0 )
? $activeSide.next(selector.side)
: $clone.find(selector.side).first(),
@ -10173,7 +10176,7 @@ $.fn.shape = function(parameters) {
;
$activeSide.removeClass(className.active);
$nextSide.addClass(className.active);
$clone.prependTo($body);
$clone.insertAfter($module);
newSize = {
width : $nextSide.outerWidth(),
height : $nextSide.outerHeight()
@ -10186,9 +10189,11 @@ $.fn.shape = function(parameters) {
},
nextSide: function(selector) {
nextSelector = selector;
$nextSide = $module.find(selector);
nextIndex = selector;
$nextSide = $side.filter(selector);
nextIndex = $side.index($nextSide);
if($nextSide.size() === 0) {
module.set.defaultSide();
module.error(error.side);
}
module.verbose('Next side manually set to', $nextSide);
@ -10210,8 +10215,12 @@ $.fn.shape = function(parameters) {
flip: {
up: function() {
module.debug('Flipping up', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping up', $nextSide);
module.set.stageSize();
module.stage.above();
module.animate( module.get.transform.up() );
@ -10222,8 +10231,12 @@ $.fn.shape = function(parameters) {
},
down: function() {
module.debug('Flipping down', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping down', $nextSide);
module.set.stageSize();
module.stage.below();
module.animate( module.get.transform.down() );
@ -10234,8 +10247,12 @@ $.fn.shape = function(parameters) {
},
left: function() {
module.debug('Flipping left', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping left', $nextSide);
module.set.stageSize();
module.stage.left();
module.animate(module.get.transform.left() );
@ -10246,8 +10263,12 @@ $.fn.shape = function(parameters) {
},
right: function() {
module.debug('Flipping right', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping right', $nextSide);
module.set.stageSize();
module.stage.right();
module.animate(module.get.transform.right() );
@ -10258,8 +10279,12 @@ $.fn.shape = function(parameters) {
},
over: function() {
module.debug('Flipping over', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping over', $nextSide);
module.set.stageSize();
module.stage.behind();
module.animate(module.get.transform.over() );
@ -10270,8 +10295,12 @@ $.fn.shape = function(parameters) {
},
back: function() {
module.debug('Flipping back', $nextSide);
if( !module.is.animating() ) {
if(module.is.complete() && !module.is.animating() && !settings.allowRepeats) {
console.log('Side already visible', $nextSide);
return;
}
if( !module.is.animating()) {
module.debug('Flipping back', $nextSide);
module.set.stageSize();
module.stage.behind();
module.animate(module.get.transform.back() );
@ -10716,6 +10745,9 @@ $.fn.shape.settings = {
beforeChange : function() {},
onChange : function() {},
// allow animation to same side
allowRepeats: false,
// animation duration
duration : 700,

2
dist/semantic.min.css
File diff suppressed because it is too large
View File

14
dist/semantic.min.js
File diff suppressed because it is too large
View File

Loading…
Cancel
Save