Skip to content

sketchComponent css #100

@hellochar

Description

@hellochar
.sketch-component {
	 width: 100%;
	 height: 100%;
	 display: flex;
	 text-align: center;
	 position: relative;
	 user-select: none;
}
 .sketch-component .sketch-error {
	 animation-duration: 2s;
	 animation-name: opacify-in;
	 margin: auto;
	 text-align: center;
}
 .sketch-component .sketch-error .back {
	 color: #808080;
	 font-style: italic;
}
 .sketch-component canvas {
	 background: #10161a;
	 display: block;
	 position: relative;
}
 .sketch-component canvas:focus {
	 outline: none;
}
 .sketch-elements {
	 align-items: flex-start;
	 display: flex;
	 top: 0;
	 bottom: 0;
	 right: 0;
	 left: 0;
	 position: absolute;
	 z-index: 1;
	 visibility: hidden;
}
 .sketch-elements > * {
	 visibility: visible;
}
 @keyframes opacify-in {
	 from {
		 opacity: 0;
	}
	 to {
		 opacity: 1;
	}
}
 .user-volume {
	 position: absolute;
	 top: 0;
	 right: 0;
	 z-index: 1;
	 background: none;
	 color: #808080;
	 border: none;
	 font-size: 30px;
	 width: 50px;
	 height: 50px;
	 line-height: 50px;
}
 .user-volume:hover {
	 cursor: pointer;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions