This file contains hidden or 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
class Sketch { | |
constructor() { | |
this.$canvas = document.createElement('CANVAS') | |
this.context = this.$canvas.getContext('2d') | |
this.$container = null | |
// Clock and progress | |
this.lastTime = 0 | |
this.elapsedDelta = 0 |
This file contains hidden or 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 React from 'react' | |
import cx from 'classnames' | |
import { Form, Select, Input, Switch, DatePicker, InputNumber, Radio } from 'antd' | |
import { transformValue, getValidateRules, getValueFromEvent, getTrigger, getValuePropName } from './utils' | |
import { Upload } from 'mainComponents/Upload' | |
import { TopicSearchBox } from 'mainComponents/SearchBox' | |
import styles from './form.styl' | |
const Option = Select.Option |
This file contains hidden or 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
body { | |
font-family: var(--SanFrancisco); | |
} | |
.zu-top { | |
background: white; | |
border-top: 3px solid #b92b27; | |
/*#086ed5*/ | |
box-shadow: 0 5px 2px -2px rgba(200,200,200,0.2); | |
border-bottom: none; |