This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Centered Element by xiel | |
*/ | |
body{ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Pseudo-Element Transition Webkit Bug | |
*/ | |
a { | |
transition: 500ms; | |
position: relative; | |
border: 0 none; | |
border-radius: 5px; | |
padding: 10px 20px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Pseudo-Element Transition Webkit Bug | |
*/ | |
a, | |
a:after { | |
transition: 500ms; /* transition for both */ | |
} | |
a { | |
position: relative; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Pseudo-Element Transition Webkit Bug Fix | |
*/ | |
a { | |
transition: 500ms; /* only the parent element needs the transition */ | |
} | |
a { | |
position: relative; | |
border: 0 none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>FileReader Error</title> | |
</head> | |
<body> | |
<form> | |
<input id="fileInput" type="file" accept-"image/*"> | |
</form> | |
<div id="output"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Get and Render initial value from HTML attr (data from BackEnd) | |
* license: MIT | |
*/ | |
angular.module('bra.global.directive') | |
.directive('initialValue', ['$parse', function($parse) { | |
'use strict'; | |
//trim input values (eg. textareas) | |
var removeIndent = function (str) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// NSDateFormatter extension | |
// Transform JS Date String to NSDate or localizedString | |
// | |
// Created by Felix Leupold on 16.12.15 © 2015 XIEL development. | |
// License: WTFPL / MIT | |
// | |
// Usage Examples: | |
// NSDateFormatter.dateFromJsDateString("2015-11-22T16:09:19.000Z"); | |
// NSDateFormatter.localizedStringFromJsDateString("2015-11-22T16:09:19.000Z"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react' | |
import { useState, useLayoutEffect } from 'react' | |
import { useTheme } from '@material-ui/styles' | |
import { Theme } from '@material-ui/core' | |
import { Breakpoint } from '@material-ui/core/styles/createBreakpoints' | |
export type BreakpointVisiblityValues = | |
| 'xsOnly' | |
| 'smOnly' | |
| 'mdOnly' |
OlderNewer