mirror of
				https://github.com/mdbootstrap/mdb-ui-kit.git
				synced 2025-11-01 00:17:57 +03:00 
			
		
		
		
	fixed ripple color of toggle buttons
This commit is contained in:
		
							parent
							
								
									88c9cbe639
								
							
						
					
					
						commit
						ebd3c42032
					
				
							
								
								
									
										650
									
								
								dist/css/material-fullpalette.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										650
									
								
								dist/css/material-fullpalette.css
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/css/material-fullpalette.css.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/css/material-fullpalette.css.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/css/material-fullpalette.min.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/css/material-fullpalette.min.css
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/css/material-fullpalette.min.css.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/css/material-fullpalette.min.css.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										62
									
								
								dist/css/material.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										62
									
								
								dist/css/material.css
									
									
									
									
										vendored
									
									
								
							|  | @ -3590,6 +3590,7 @@ body .jumbotron-material-blue-grey, | ||||||
| } | } | ||||||
| .checkbox label { | .checkbox label { | ||||||
|   cursor: pointer; |   cursor: pointer; | ||||||
|  |   padding-left: 0; | ||||||
| } | } | ||||||
| .checkbox input[type=checkbox] { | .checkbox input[type=checkbox] { | ||||||
|   opacity: 0; |   opacity: 0; | ||||||
|  | @ -3610,6 +3611,7 @@ body .jumbotron-material-blue-grey, | ||||||
| .checkbox .checkbox-material:before { | .checkbox .checkbox-material:before { | ||||||
|   display: block; |   display: block; | ||||||
|   position: absolute; |   position: absolute; | ||||||
|  |   left: 0; | ||||||
|   content: ""; |   content: ""; | ||||||
|   background-color: rgba(0, 0, 0, 0.84); |   background-color: rgba(0, 0, 0, 0.84); | ||||||
|   height: 20px; |   height: 20px; | ||||||
|  | @ -4331,88 +4333,88 @@ body .jumbotron-material-blue-grey, | ||||||
| } | } | ||||||
| .togglebutton label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after, | .togglebutton label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after, | ||||||
| .togglebutton-default label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-default label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(0, 149, 135, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 149, 135, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-black label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-black label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(0, 0, 0, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 0, 0, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-white label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-white label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(255, 255, 255, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(255, 255, 255, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-inverse label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-inverse label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(63, 81, 181, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(63, 81, 181, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-primary label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-primary label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(0, 149, 135, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 149, 135, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-success label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-success label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(15, 157, 88, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(15, 157, 88, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-info label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-info label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(3, 169, 244, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(3, 169, 244, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-warning label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-warning label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(255, 87, 34, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(255, 87, 34, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-danger label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-danger label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(244, 67, 54, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(244, 67, 54, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-red label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-red label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(244, 67, 54, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(244, 67, 54, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-pink label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-pink label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(233, 30, 99, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(233, 30, 99, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-purple label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-purple label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(156, 39, 176, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(156, 39, 176, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-deep-purple label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-deep-purple label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(103, 58, 183, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(103, 58, 183, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-indigo label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-indigo label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(63, 81, 181, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(63, 81, 181, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-blue label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-blue label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(33, 150, 243, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(33, 150, 243, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-light-blue label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-light-blue label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(3, 169, 244, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(3, 169, 244, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-cyan label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-cyan label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(0, 188, 212, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 188, 212, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-teal label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-teal label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(0, 150, 136, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(0, 150, 136, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-green label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-green label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(76, 175, 80, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(76, 175, 80, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-light-green label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-light-green label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(139, 195, 74, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(139, 195, 74, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-lime label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-lime label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(205, 220, 57, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(205, 220, 57, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-yellow label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-yellow label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(255, 235, 59, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(255, 235, 59, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-amber label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-amber label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(255, 193, 7, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(255, 193, 7, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-orange label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-orange label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(255, 152, 0, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(255, 152, 0, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-deep-orange label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-deep-orange label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(255, 87, 34, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(255, 87, 34, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-brown label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-brown label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(121, 85, 72, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(121, 85, 72, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-grey label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-grey label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(158, 158, 158, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(158, 158, 158, 0.1); | ||||||
| } | } | ||||||
| .togglebutton-material-blue-grey label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | .togglebutton-material-blue-grey label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after { | ||||||
|   background-color: rgba(96, 125, 139, 0.1); |   box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(96, 125, 139, 0.1); | ||||||
| } | } | ||||||
| .form-horizontal .radio { | .form-horizontal .radio { | ||||||
|   margin-bottom: 10px; |   margin-bottom: 10px; | ||||||
|  | @ -5317,6 +5319,10 @@ legend { | ||||||
|   margin-top: 5px; |   margin-top: 5px; | ||||||
|   margin-bottom: -5px; |   margin-bottom: -5px; | ||||||
| } | } | ||||||
|  | .list-group .list-group-item .row-picture label .checkbox-material, | ||||||
|  | .list-group .list-group-item .row-action-primary label .checkbox-material { | ||||||
|  |   left: -10px; | ||||||
|  | } | ||||||
| .list-group .list-group-item .row-content { | .list-group .list-group-item .row-content { | ||||||
|   display: inline-block; |   display: inline-block; | ||||||
|   width: calc(100% - 92px); |   width: calc(100% - 92px); | ||||||
|  |  | ||||||
							
								
								
									
										2
									
								
								dist/css/material.css.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/css/material.css.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/css/material.min.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/css/material.min.css
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								dist/css/material.min.css.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/css/material.min.css.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							|  | @ -62,6 +62,6 @@ | ||||||
|   .variations(~" label input[type=checkbox]:first-of-type:checked + .toggle:after", background-color, @primary); |   .variations(~" label input[type=checkbox]:first-of-type:checked + .toggle:after", background-color, @primary); | ||||||
|   // Ripple on |   // Ripple on | ||||||
|   .generic-variations(~" label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after", @primary, { |   .generic-variations(~" label input[type=checkbox]:first-of-type:checked ~ .toggle:active:after", @primary, { | ||||||
|     background-color: fade(@material-color, 10%); |     box-shadow: 0 1px 3px 1px rgba(0,0,0,0.4), 0 0 0 15px fade(@material-color, 10%); | ||||||
|   }); |   }); | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user