Remove unnecessary resources, add bulma, and add AdvMakefile
This commit is contained in:
107
bulma/node_modules/bulma-checkradio/CHANGELOG.md
generated
vendored
Normal file
107
bulma/node_modules/bulma-checkradio/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,107 @@
|
||||
<a name="1.0.2"></a>
|
||||
## [1.0.2](https://github.com/Wikiki/bulma-checkradio/compare/1.0.1...1.0.2) (2018-05-12)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* [#22](https://github.com/Wikiki/bulma-checkradio/issues/22) Checkmark doesn't show in IE11 ([7bc903e](https://github.com/Wikiki/bulma-checkradio/commit/7bc903e))
|
||||
|
||||
|
||||
|
||||
<a name="1.0.1"></a>
|
||||
## [1.0.1](https://github.com/Wikiki/bulma-checkradio/compare/1.0.0...1.0.1) (2018-02-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **gulp:** Remove Bulma’s important from dist’sass ([728c009](https://github.com/Wikiki/bulma-checkradio/commit/728c009))
|
||||
|
||||
|
||||
|
||||
<a name="1.0.0"></a>
|
||||
# [1.0.0](https://github.com/Wikiki/bulma-checkradio/compare/0.1.11...1.0.0) (2018-02-10)
|
||||
|
||||
|
||||
|
||||
<a name="0.1.11"></a>
|
||||
## [0.1.11](https://github.com/Wikiki/bulma-checkradio/compare/0.1.10...0.1.11) (2018-02-10)
|
||||
|
||||
|
||||
|
||||
<a name="0.1.10"></a>
|
||||
## [0.1.10](https://github.com/Wikiki/bulma-checkradio/compare/0.1.9...0.1.10) (2018-02-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **gulp:** Use UMD modules style ([0791b53](https://github.com/Wikiki/bulma-checkradio/commit/0791b53))
|
||||
|
||||
|
||||
|
||||
<a name="0.1.9"></a>
|
||||
## [0.1.9](https://github.com/Wikiki/bulma-checkradio/compare/0.1.8...0.1.9) (2018-02-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **gulp:** Correct dist filenames ([e7a4702](https://github.com/Wikiki/bulma-checkradio/commit/e7a4702))
|
||||
* **package:** Correct file paths ([9af3299](https://github.com/Wikiki/bulma-checkradio/commit/9af3299))
|
||||
* **travis:** Remove configuration ([fe6d68d](https://github.com/Wikiki/bulma-checkradio/commit/fe6d68d))
|
||||
|
||||
|
||||
|
||||
<a name="0.1.8"></a>
|
||||
## [0.1.8](https://github.com/Wikiki/bulma-checkradio/compare/0.1.7...0.1.8) (2018-02-09)
|
||||
|
||||
|
||||
|
||||
<a name="0.1.7"></a>
|
||||
## [0.1.7](https://github.com/Wikiki/bulma-checkradio/compare/v0.1.4...v0.1.7) (2018-02-09)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **bower:** Add missing version ([48af909](https://github.com/Wikiki/bulma-checkradio/commit/48af909))
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **gulp:** Add gulp dependencies ([b9f95ce](https://github.com/Wikiki/bulma-checkradio/commit/b9f95ce))
|
||||
* **gulp:** Add release task ([f86ed67](https://github.com/Wikiki/bulma-checkradio/commit/f86ed67))
|
||||
|
||||
|
||||
|
||||
# Change Log
|
||||
|
||||
## [v0.1.4](https://github.com/wikiki/bulma-checkradio/tree/v0.1.4) (2017-11-30)
|
||||
**Implemented enhancements:**
|
||||
|
||||
- Simplify selectors [\#12](https://github.com/Wikiki/bulma-checkradio/issues/12)
|
||||
- Checkbox with no associated label [\#5](https://github.com/Wikiki/bulma-checkradio/issues/5)
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- Indeterminate state is not affected by the color modifiers [\#16](https://github.com/Wikiki/bulma-checkradio/issues/16)
|
||||
- Can't tab on input with keyboard [\#11](https://github.com/Wikiki/bulma-checkradio/issues/11)
|
||||
- When using is-block setting, the default checkbox is displayed [\#10](https://github.com/Wikiki/bulma-checkradio/issues/10)
|
||||
- Radio button misalignment [\#7](https://github.com/Wikiki/bulma-checkradio/issues/7)
|
||||
- Active effect when I have focus on a radio or checkbox [\#6](https://github.com/Wikiki/bulma-checkradio/issues/6)
|
||||
- Add some dark and white colors ? [\#3](https://github.com/Wikiki/bulma-checkradio/issues/3)
|
||||
- Add margin for inline checkradio [\#2](https://github.com/Wikiki/bulma-checkradio/issues/2)
|
||||
- Doesn't seem to work if checkbox is nested inside label? [\#1](https://github.com/Wikiki/bulma-checkradio/issues/1)
|
||||
|
||||
**Closed issues:**
|
||||
|
||||
- Problem with modal scroll where using checkbox [\#14](https://github.com/Wikiki/bulma-checkradio/issues/14)
|
||||
- Feature request: Indeterminate State [\#13](https://github.com/Wikiki/bulma-checkradio/issues/13)
|
||||
- Slight issue with horizontal forms. [\#9](https://github.com/Wikiki/bulma-checkradio/issues/9)
|
||||
- Label highlight [\#4](https://github.com/Wikiki/bulma-checkradio/issues/4)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Fix checkbox in element with scroll problem \#14 [\#15](https://github.com/Wikiki/bulma-checkradio/pull/15) ([xooler](https://github.com/xooler))
|
||||
- Use scale transform instead of manual calculation for radio highlight [\#8](https://github.com/Wikiki/bulma-checkradio/pull/8) ([Markus-ipse](https://github.com/Markus-ipse))
|
||||
|
||||
|
||||
|
||||
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
||||
21
bulma/node_modules/bulma-checkradio/LICENSE
generated
vendored
Normal file
21
bulma/node_modules/bulma-checkradio/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017 Wikiki
|
||||
|
||||
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 the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
13
bulma/node_modules/bulma-checkradio/README.md
generated
vendored
Normal file
13
bulma/node_modules/bulma-checkradio/README.md
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# bulma-checkradio
|
||||
Bulma's extension to display better checkbox and radio imputs
|
||||
(find all my bulma's extensions [here](https://wikiki.github.io/))
|
||||
|
||||
[](https://www.npmjs.com/package/bulma-checkradio)
|
||||
[](https://www.npmjs.com/package/bulma-checkradio)
|
||||
[](https://travis-ci.org/Wikiki/bulma-checkradio)
|
||||
|
||||
<img src="./checkradio-example.png" width="100%">
|
||||
|
||||
Documentation & Demo
|
||||
---
|
||||
You can find the Documentation and a demo [here](https://wikiki.github.io/form/checkradio/)
|
||||
1
bulma/node_modules/bulma-checkradio/dist/css/bulma-checkradio.min.css
generated
vendored
Normal file
1
bulma/node_modules/bulma-checkradio/dist/css/bulma-checkradio.min.css
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
364
bulma/node_modules/bulma-checkradio/dist/css/bulma-checkradio.sass
generated
vendored
Normal file
364
bulma/node_modules/bulma-checkradio/dist/css/bulma-checkradio.sass
generated
vendored
Normal file
@@ -0,0 +1,364 @@
|
||||
$checkbox-radius: $radius !default
|
||||
$checkbox-border: .1rem solid $grey-lighter !default
|
||||
$checkbox-block-background: $white-ter !default
|
||||
$checkbox-checked-width: .1rem !default
|
||||
$checkradio-focus: 1px dotted $grey-light !default
|
||||
$checkradio-top-offset: 0rem !default
|
||||
|
||||
=checkbox-size($size)
|
||||
$newSize: $size * 1.5
|
||||
$height: $newSize / 2.5
|
||||
$width: $newSize / 4
|
||||
|
||||
+ label
|
||||
font-size: $size
|
||||
// line-height: $newSize
|
||||
padding-left: $size * 2
|
||||
&::before,
|
||||
&:before
|
||||
width: $newSize
|
||||
height: $newSize
|
||||
&::after,
|
||||
&:after
|
||||
width: $width
|
||||
height: $height
|
||||
top: ( ( $newSize / 2 ) - ( $height / 2 ) ) * 0.9
|
||||
left: $height
|
||||
|
||||
&.is-block
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
width: 1.25 * $size
|
||||
height: 1.25 * $size
|
||||
left: .175rem
|
||||
top: .175rem
|
||||
&::after,
|
||||
&:after
|
||||
top: .2rem + $size * 0.125
|
||||
left: .2rem + $size * 0.45
|
||||
|
||||
&.is-rtl
|
||||
+ label
|
||||
padding-left: 0
|
||||
padding-right: $size * 2
|
||||
&::after,
|
||||
&:after
|
||||
left: auto
|
||||
right: $height
|
||||
|
||||
// Use a mixin to define all ratios in the same spot
|
||||
=radio-size($size)
|
||||
$newSize: $size * 1.5
|
||||
$height: $newSize
|
||||
$width: $newSize
|
||||
|
||||
+ label
|
||||
font-size: $size
|
||||
line-height: $newSize
|
||||
padding-left: $size * 2
|
||||
&::before,
|
||||
&:before,
|
||||
&::after,
|
||||
&:after
|
||||
width: $width
|
||||
height: $height
|
||||
&.is-rtl
|
||||
+ label
|
||||
padding-right: $size * 2
|
||||
|
||||
.is-checkradio[type="radio"],
|
||||
.is-checkradio[type="checkbox"]
|
||||
outline: 0
|
||||
user-select: none
|
||||
display: inline-block
|
||||
position: absolute
|
||||
opacity: 0
|
||||
|
||||
+ label
|
||||
position: relative
|
||||
display: initial
|
||||
cursor: pointer
|
||||
vertical-align: middle
|
||||
margin: .5em
|
||||
padding: .2rem .5rem .2rem 0
|
||||
border-radius: $checkbox-radius
|
||||
&:first-of-type
|
||||
margin-left: 0
|
||||
|
||||
&:hover
|
||||
&::before,
|
||||
&:before
|
||||
animation-duration: 0.4s
|
||||
animation-fill-mode: both
|
||||
animation-name: hover-color
|
||||
|
||||
&::before,
|
||||
&:before
|
||||
position: absolute
|
||||
left: 0
|
||||
top: $checkradio-top-offset
|
||||
content: ''
|
||||
border: $checkbox-border
|
||||
|
||||
&::after,
|
||||
&:after
|
||||
position: absolute
|
||||
display: none
|
||||
content: ''
|
||||
top: $checkradio-top-offset
|
||||
|
||||
&.is-rtl
|
||||
+ label
|
||||
margin-right: 0rem
|
||||
margin-left: 0.5rem
|
||||
&::before,
|
||||
&:before
|
||||
left: auto
|
||||
right: 0
|
||||
|
||||
&:focus
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
outline: $checkradio-focus
|
||||
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $primary !important
|
||||
|
||||
&:checked
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border: $checkbox-border
|
||||
&[disabled]
|
||||
cursor: not-allowed
|
||||
+ label
|
||||
opacity: 0.5
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
animation-name: none
|
||||
&::after,
|
||||
&:after
|
||||
display: inline-block
|
||||
|
||||
&[disabled]
|
||||
cursor: not-allowed
|
||||
+ label
|
||||
opacity: 0.5
|
||||
cursor: not-allowed
|
||||
&:hover,
|
||||
&:before,
|
||||
&::before,
|
||||
&::after,
|
||||
&:after
|
||||
cursor: not-allowed
|
||||
|
||||
&:hover
|
||||
cursor: not-allowed
|
||||
&::before,
|
||||
&:before
|
||||
animation-name: none
|
||||
|
||||
&::before,
|
||||
&:before
|
||||
cursor: not-allowed
|
||||
|
||||
&::after,
|
||||
&:after
|
||||
cursor: not-allowed
|
||||
|
||||
&.has-no-border
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border: none !important
|
||||
|
||||
&.is-block
|
||||
display: none !important
|
||||
+ label
|
||||
width: 100% !important
|
||||
background: $checkbox-block-background
|
||||
color: findColorInvert( $checkbox-block-background )
|
||||
padding-right: .75em
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
background: darken($checkbox-block-background, 5%)
|
||||
|
||||
|
||||
.is-checkradio[type="checkbox"]
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-radius: $checkbox-radius
|
||||
|
||||
&::after,
|
||||
&:after
|
||||
box-sizing: border-box
|
||||
transform: translateY($checkradio-top-offset) rotate(45deg)
|
||||
border-width: $checkbox-checked-width
|
||||
border-style: solid
|
||||
border-color: $primary
|
||||
border-top: 0
|
||||
border-left: 0
|
||||
|
||||
&.is-circle
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-radius: 50%
|
||||
|
||||
+checkbox-size($size-normal)
|
||||
&.is-small
|
||||
+checkbox-size($size-small)
|
||||
&.is-medium
|
||||
+checkbox-size($size-medium)
|
||||
&.is-large
|
||||
+checkbox-size($size-large)
|
||||
|
||||
@each $name, $pair in $colors
|
||||
$color: nth($pair, 1)
|
||||
$color-invert: nth($pair, 2)
|
||||
&.is-#{$name}
|
||||
&.has-background-color
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: transparent !important
|
||||
background-color: $color !important
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $color !important
|
||||
&:checked
|
||||
+ label
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color !important
|
||||
&.has-background-color
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: transparent !important
|
||||
background-color: $color !important
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color-invert !important
|
||||
background-color: $color !important
|
||||
&.is-block
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
&::after,
|
||||
&:after,
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $color !important
|
||||
&:checked
|
||||
+ label
|
||||
color: $color-invert
|
||||
border-color: $color !important
|
||||
background: $color
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color-invert !important
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
background: darken($color, 5%)
|
||||
&::after,
|
||||
&:after,
|
||||
&::before,
|
||||
&:before
|
||||
border-color: darken($color-invert, 5%) !important
|
||||
|
||||
&:indeterminate
|
||||
+ label
|
||||
&::after,
|
||||
&:after
|
||||
display: inline-block
|
||||
transform: rotate(90deg)
|
||||
border-bottom: none
|
||||
@each $name, $pair in $colors
|
||||
$color: nth($pair, 1)
|
||||
$color-invert: nth($pair, 2)
|
||||
&.is-#{$name}
|
||||
+ label
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color
|
||||
|
||||
.is-checkradio[type="radio"]
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-radius: 50%
|
||||
&::after,
|
||||
&:after
|
||||
border-radius: 50%
|
||||
background: $primary
|
||||
left: 0
|
||||
transform: scale(0.5)
|
||||
|
||||
&:checked
|
||||
&.has-background-color
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $text !important
|
||||
background-color: $text !important
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $text !important
|
||||
background-color: $text !important
|
||||
|
||||
&.is-rtl
|
||||
+ label
|
||||
padding-left: 0
|
||||
&::after,
|
||||
&:after
|
||||
left: auto
|
||||
right: 0
|
||||
|
||||
+radio-size($size-normal)
|
||||
&.is-small
|
||||
+radio-size($size-small)
|
||||
&.is-medium
|
||||
+radio-size($size-medium)
|
||||
&.is-large
|
||||
+radio-size($size-large)
|
||||
|
||||
@each $name, $pair in $colors
|
||||
$color: nth($pair, 1)
|
||||
$color-invert: nth($pair, 2)
|
||||
&.is-#{$name}
|
||||
&.has-background-color
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $color !important
|
||||
background-color: $color !important
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $color !important
|
||||
&:checked
|
||||
+ label
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color !important
|
||||
background-color: $color !important
|
||||
&.has-background-color
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $color !important
|
||||
background-color: $color !important
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color-invert !important
|
||||
background-color: $color-invert !important
|
||||
98
bulma/node_modules/bulma-checkradio/package.json
generated
vendored
Normal file
98
bulma/node_modules/bulma-checkradio/package.json
generated
vendored
Normal file
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"_from": "bulma-checkradio",
|
||||
"_id": "bulma-checkradio@1.1.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-6Wn2faBiFkctSeiaQkeU2MbjkQeuXsN4AthBDEKrHGGPl5wmV2GEj4iZCqzvw7Te7baaHdU8PbUgrmlD5D6oGA==",
|
||||
"_location": "/bulma-checkradio",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "tag",
|
||||
"registry": true,
|
||||
"raw": "bulma-checkradio",
|
||||
"name": "bulma-checkradio",
|
||||
"escapedName": "bulma-checkradio",
|
||||
"rawSpec": "",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "latest"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"#DEV:/",
|
||||
"#USER"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/bulma-checkradio/-/bulma-checkradio-1.1.1.tgz",
|
||||
"_shasum": "d94c4bce810089957102670b19cafb194bcb97be",
|
||||
"_spec": "bulma-checkradio",
|
||||
"_where": "/home/arsen/bulma-liwu",
|
||||
"author": {
|
||||
"name": "Wikiki",
|
||||
"email": "wikiki@protonmail.com",
|
||||
"url": "https://wikiki.github.io/bulma-extensions/overview"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/Wikiki/bulma-checkradio/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "node_modules/cz-conventional-changelog"
|
||||
}
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Make classic checkbox and radio more sexy in different colors, sizes, and states ",
|
||||
"devDependencies": {
|
||||
"ansi-colors": "^2.0.1",
|
||||
"autoprefixer": "^8.6.2",
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-jest": "^23.0.1",
|
||||
"babel-loader": "^7.1.4",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
||||
"babel-preset-env": "^1.7.0",
|
||||
"bulma": "^0.7.1",
|
||||
"camelcase": "^5.0.0",
|
||||
"commitizen": "^2.10.1",
|
||||
"cz-conventional-changelog": "^2.1.0",
|
||||
"del": "^3.0.0",
|
||||
"fancy-log": "^1.3.2",
|
||||
"gulp": "^4.0.0",
|
||||
"gulp-autoprefixer": "^5.0.0",
|
||||
"gulp-clean-css": "^3.9.4",
|
||||
"gulp-concat": "^2.6.1",
|
||||
"gulp-nop": "0.0.3",
|
||||
"gulp-postcss": "^7.0.1",
|
||||
"gulp-sass": "^4.0.1",
|
||||
"gulp-uglify": "^3.0.0",
|
||||
"jest": "^23.1.0",
|
||||
"regenerator-runtime": "^0.11.1",
|
||||
"semantic-release": "^15.13.8",
|
||||
"travis-deploy-once": "^5.0.11",
|
||||
"webpack": "^4.12.0",
|
||||
"webpack-stream": "^4.0.3"
|
||||
},
|
||||
"files": [
|
||||
"dist/**",
|
||||
"src/**",
|
||||
"LICENSE",
|
||||
"README.md"
|
||||
],
|
||||
"homepage": "https://github.com/Wikiki/bulma-checkradio#readme",
|
||||
"keywords": [
|
||||
"Bulma",
|
||||
"bulma",
|
||||
"extensions",
|
||||
"bulma.io"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "./dist/css/bulma-checkradio.min.css",
|
||||
"name": "bulma-checkradio",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Wikiki/bulma-checkradio.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "gulp",
|
||||
"commit": "git-cz",
|
||||
"semantic-release": "semantic-release",
|
||||
"travis-deploy-once": "travis-deploy-once"
|
||||
},
|
||||
"version": "1.1.1"
|
||||
}
|
||||
364
bulma/node_modules/bulma-checkradio/src/sass/index.sass
generated
vendored
Normal file
364
bulma/node_modules/bulma-checkradio/src/sass/index.sass
generated
vendored
Normal file
@@ -0,0 +1,364 @@
|
||||
$checkbox-radius: $radius !default
|
||||
$checkbox-border: .1rem solid $grey-lighter !default
|
||||
$checkbox-block-background: $white-ter !default
|
||||
$checkbox-checked-width: .1rem !default
|
||||
$checkradio-focus: 1px dotted $grey-light !default
|
||||
$checkradio-top-offset: 0rem !default
|
||||
|
||||
=checkbox-size($size)
|
||||
$newSize: $size * 1.5
|
||||
$height: $newSize / 2.5
|
||||
$width: $newSize / 4
|
||||
|
||||
+ label
|
||||
font-size: $size
|
||||
// line-height: $newSize
|
||||
padding-left: $size * 2
|
||||
&::before,
|
||||
&:before
|
||||
width: $newSize
|
||||
height: $newSize
|
||||
&::after,
|
||||
&:after
|
||||
width: $width
|
||||
height: $height
|
||||
top: ( ( $newSize / 2 ) - ( $height / 2 ) ) * 0.9
|
||||
left: $height
|
||||
|
||||
&.is-block
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
width: 1.25 * $size
|
||||
height: 1.25 * $size
|
||||
left: .175rem
|
||||
top: .175rem
|
||||
&::after,
|
||||
&:after
|
||||
top: .2rem + $size * 0.125
|
||||
left: .2rem + $size * 0.45
|
||||
|
||||
&.is-rtl
|
||||
+ label
|
||||
padding-left: 0
|
||||
padding-right: $size * 2
|
||||
&::after,
|
||||
&:after
|
||||
left: auto
|
||||
right: $height
|
||||
|
||||
// Use a mixin to define all ratios in the same spot
|
||||
=radio-size($size)
|
||||
$newSize: $size * 1.5
|
||||
$height: $newSize
|
||||
$width: $newSize
|
||||
|
||||
+ label
|
||||
font-size: $size
|
||||
line-height: $newSize
|
||||
padding-left: $size * 2
|
||||
&::before,
|
||||
&:before,
|
||||
&::after,
|
||||
&:after
|
||||
width: $width
|
||||
height: $height
|
||||
&.is-rtl
|
||||
+ label
|
||||
padding-right: $size * 2
|
||||
|
||||
.is-checkradio[type="radio"],
|
||||
.is-checkradio[type="checkbox"]
|
||||
outline: 0
|
||||
user-select: none
|
||||
display: inline-block
|
||||
position: absolute
|
||||
opacity: 0
|
||||
|
||||
+ label
|
||||
position: relative
|
||||
display: initial
|
||||
cursor: pointer
|
||||
vertical-align: middle
|
||||
margin: .5em
|
||||
padding: .2rem .5rem .2rem 0
|
||||
border-radius: $checkbox-radius
|
||||
&:first-of-type
|
||||
margin-left: 0
|
||||
|
||||
&:hover
|
||||
&::before,
|
||||
&:before
|
||||
animation-duration: 0.4s
|
||||
animation-fill-mode: both
|
||||
animation-name: hover-color
|
||||
|
||||
&::before,
|
||||
&:before
|
||||
position: absolute
|
||||
left: 0
|
||||
top: $checkradio-top-offset
|
||||
content: ''
|
||||
border: $checkbox-border
|
||||
|
||||
&::after,
|
||||
&:after
|
||||
position: absolute
|
||||
display: none
|
||||
content: ''
|
||||
top: $checkradio-top-offset
|
||||
|
||||
&.is-rtl
|
||||
+ label
|
||||
margin-right: 0rem
|
||||
margin-left: 0.5rem
|
||||
&::before,
|
||||
&:before
|
||||
left: auto
|
||||
right: 0
|
||||
|
||||
&:focus
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
outline: $checkradio-focus
|
||||
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $primary !important
|
||||
|
||||
&:checked
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border: $checkbox-border
|
||||
&[disabled]
|
||||
cursor: not-allowed
|
||||
+ label
|
||||
opacity: 0.5
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
animation-name: none
|
||||
&::after,
|
||||
&:after
|
||||
display: inline-block
|
||||
|
||||
&[disabled]
|
||||
cursor: not-allowed
|
||||
+ label
|
||||
opacity: 0.5
|
||||
cursor: not-allowed
|
||||
&:hover,
|
||||
&:before,
|
||||
&::before,
|
||||
&::after,
|
||||
&:after
|
||||
cursor: not-allowed
|
||||
|
||||
&:hover
|
||||
cursor: not-allowed
|
||||
&::before,
|
||||
&:before
|
||||
animation-name: none
|
||||
|
||||
&::before,
|
||||
&:before
|
||||
cursor: not-allowed
|
||||
|
||||
&::after,
|
||||
&:after
|
||||
cursor: not-allowed
|
||||
|
||||
&.has-no-border
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border: none !important
|
||||
|
||||
&.is-block
|
||||
display: none !important
|
||||
+ label
|
||||
width: 100% !important
|
||||
background: $checkbox-block-background
|
||||
color: findColorInvert( $checkbox-block-background )
|
||||
padding-right: .75em
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
background: darken($checkbox-block-background, 5%)
|
||||
|
||||
|
||||
.is-checkradio[type="checkbox"]
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-radius: $checkbox-radius
|
||||
|
||||
&::after,
|
||||
&:after
|
||||
box-sizing: border-box
|
||||
transform: translateY($checkradio-top-offset) rotate(45deg)
|
||||
border-width: $checkbox-checked-width
|
||||
border-style: solid
|
||||
border-color: $primary
|
||||
border-top: 0
|
||||
border-left: 0
|
||||
|
||||
&.is-circle
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-radius: 50%
|
||||
|
||||
+checkbox-size($size-normal)
|
||||
&.is-small
|
||||
+checkbox-size($size-small)
|
||||
&.is-medium
|
||||
+checkbox-size($size-medium)
|
||||
&.is-large
|
||||
+checkbox-size($size-large)
|
||||
|
||||
@each $name, $pair in $colors
|
||||
$color: nth($pair, 1)
|
||||
$color-invert: nth($pair, 2)
|
||||
&.is-#{$name}
|
||||
&.has-background-color
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: transparent !important
|
||||
background-color: $color !important
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $color !important
|
||||
&:checked
|
||||
+ label
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color !important
|
||||
&.has-background-color
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: transparent !important
|
||||
background-color: $color !important
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color-invert !important
|
||||
background-color: $color !important
|
||||
&.is-block
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
&::after,
|
||||
&:after,
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $color !important
|
||||
&:checked
|
||||
+ label
|
||||
color: $color-invert
|
||||
border-color: $color !important
|
||||
background: $color
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color-invert !important
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
background: darken($color, 5%)
|
||||
&::after,
|
||||
&:after,
|
||||
&::before,
|
||||
&:before
|
||||
border-color: darken($color-invert, 5%) !important
|
||||
|
||||
&:indeterminate
|
||||
+ label
|
||||
&::after,
|
||||
&:after
|
||||
display: inline-block
|
||||
transform: rotate(90deg)
|
||||
border-bottom: none
|
||||
@each $name, $pair in $colors
|
||||
$color: nth($pair, 1)
|
||||
$color-invert: nth($pair, 2)
|
||||
&.is-#{$name}
|
||||
+ label
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color
|
||||
|
||||
.is-checkradio[type="radio"]
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-radius: 50%
|
||||
&::after,
|
||||
&:after
|
||||
border-radius: 50%
|
||||
background: $primary
|
||||
left: 0
|
||||
transform: scale(0.5)
|
||||
|
||||
&:checked
|
||||
&.has-background-color
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $text !important
|
||||
background-color: $text !important
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $text !important
|
||||
background-color: $text !important
|
||||
|
||||
&.is-rtl
|
||||
+ label
|
||||
padding-left: 0
|
||||
&::after,
|
||||
&:after
|
||||
left: auto
|
||||
right: 0
|
||||
|
||||
+radio-size($size-normal)
|
||||
&.is-small
|
||||
+radio-size($size-small)
|
||||
&.is-medium
|
||||
+radio-size($size-medium)
|
||||
&.is-large
|
||||
+radio-size($size-large)
|
||||
|
||||
@each $name, $pair in $colors
|
||||
$color: nth($pair, 1)
|
||||
$color-invert: nth($pair, 2)
|
||||
&.is-#{$name}
|
||||
&.has-background-color
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $color !important
|
||||
background-color: $color !important
|
||||
&:hover:not([disabled])
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $color !important
|
||||
&:checked
|
||||
+ label
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color !important
|
||||
background-color: $color !important
|
||||
&.has-background-color
|
||||
+ label
|
||||
&::before,
|
||||
&:before
|
||||
border-color: $color !important
|
||||
background-color: $color !important
|
||||
&::after,
|
||||
&:after
|
||||
border-color: $color-invert !important
|
||||
background-color: $color-invert !important
|
||||
Reference in New Issue
Block a user