UNPKG

ornamentum

Version:
93 lines (91 loc) 3.61 kB
.ng-data-table-checkbox-container, .ng-dropdown-checkbox-container { position: relative; top: .2rem; } .ng-data-table-checkbox-container *, .ng-data-table-checkbox-container ::before, .ng-data-table-checkbox-container ::after, .ng-dropdown-checkbox-container *, .ng-dropdown-checkbox-container ::before, .ng-dropdown-checkbox-container ::after { box-sizing: border-box; } .ng-data-table-checkbox-container label, .ng-dropdown-checkbox-container label { align-items: center; cursor: pointer; display: inline-flex; height: 15px; margin: 0; padding-left: 15px; position: relative; } .ng-data-table-checkbox-container label::before, .ng-data-table-checkbox-container label::after, .ng-dropdown-checkbox-container label::before, .ng-dropdown-checkbox-container label::after { content: ''; position: absolute; } .ng-data-table-checkbox-container label::before, .ng-dropdown-checkbox-container label::before { background: #ccc; border: 1px solid #333; border-radius: 0; box-shadow: none; display: inline-block; height: 15px; left: 0; transition: background 1s cubic-bezier(0.45, 2, 0.5, 0.75); top: 0; width: 15px; } .ng-data-table-checkbox-container label::after, .ng-dropdown-checkbox-container label::after { border-left: 1px solid #333; border-bottom: 1px solid #333; height: 3.75px; left: 3.75px; top: 4.75px; transform: rotate(-45deg) scale(0, 0); transition: transform 0.2s cubic-bezier(0.45, 2, 0.5, 0.75); width: 7.5px; } .ng-data-table-checkbox-container input[type="checkbox"], .ng-dropdown-checkbox-container input[type="checkbox"] { height: 15px; left: 0; margin: 0; opacity: 0; position: absolute; top: 0; width: 15px; } .ng-data-table-checkbox-container input[type="checkbox"]:checked + label::before, .ng-dropdown-checkbox-container input[type="checkbox"]:checked + label::before { background: #ccc; border-color: #333; transition: background 0.2s cubic-bezier(0.45, 2, 0.5, 0.75); } .ng-data-table-checkbox-container input[type="checkbox"]:checked + label::after, .ng-dropdown-checkbox-container input[type="checkbox"]:checked + label::after { transform: rotate(-45deg) scale(1, 1); transition: transform 0.4s cubic-bezier(0.45, 2, 0.5, 0.75); } .ng-data-table-checkbox-container.box label::before, .ng-dropdown-checkbox-container.box label::before { transition: background 0.2s cubic-bezier(0.45, 2, 0.5, 0.75); } .ng-data-table-checkbox-container.box label::after, .ng-dropdown-checkbox-container.box label::after { background: #ccc; border: none; height: 6.66667px; left: 4.16667px; top: 4.16667px; transform: scale(0, 0); transition: transform 0.2s cubic-bezier(0.45, 2, 0.5, 0.75); width: 6.66667px; } .ng-data-table-checkbox-container.box input[type="checkbox"]:checked + label::before, .ng-dropdown-checkbox-container.box input[type="checkbox"]:checked + label::before { background: #333; border: 1px solid #333; transition: background 0.2s cubic-bezier(0.45, 2, 0.5, 0.75); } .ng-data-table-checkbox-container.box input[type="checkbox"]:checked + label::after, .ng-dropdown-checkbox-container.box input[type="checkbox"]:checked + label::after { transform: scale(1, 1); transition: transform 0.2s cubic-bezier(0.45, 2, 0.5, 0.75); } .ng-dropdown-checkbox-container { display: block; top: 0; } /*# sourceMappingURL=addon.dark.theme.css.map */