Skip to content

Instantly share code, notes, and snippets.

View mazipan's full-sized avatar
💸
Finding the flying money

Irfan Maulana mazipan

💸
Finding the flying money
View GitHub Profile
.message {
border: 1px solid #ccc;
}
.success {
@extend .message;
border-color: green;
}
.error {
nav {
font-size: 12px;
}
nav ul {
margin: 0;
padding: 0;
list-style: none;
}
nav
{
font-size: 12px;
ul
{
margin: 0;
padding: 0;
list-style: none;
a{
text-decoration: none;
&:hover{
text-decoration: underline;
}
}
$font-stack: Helvetica, sans-serif;
$primary-color: #333;
body {
font: 100% $font-stack;
color: $primary-color;
}
&:disabled
{
& + label
{
color: #CCC;
&:before{
border-color: #CCC;
background-color: #F2F2F2;
&:checked
{
& + label
{
&:before{
border-color: $theme;
background-color: $theme;
}
&:after{
$theme : #0096D9;
.checkbox
{
position: absolute;
left: -9999px;
& + label
{
position: relative;
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app works!';
}