mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 12:25:23 +00:00
Restructure Sass files and folders for proper application Sass development
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
|
||||
<div ng-controller="AppCtrl">
|
||||
<md-content >
|
||||
|
||||
<section layout="row" layout-sm="column" layout-align="center center">
|
||||
<md-button>{{title1}}</md-button>
|
||||
<md-button md-no-ink class="md-primary">Primary (md-noink)</md-button>
|
||||
<md-button ng-disabled="true" class="md-primary">Disabled</md-button>
|
||||
<md-button class="md-warn">{{title4}}</md-button>
|
||||
</section>
|
||||
|
||||
<section layout="row" layout-sm="column" layout-align="center center">
|
||||
<md-button class="md-raised">Button</md-button>
|
||||
<md-button class="md-raised md-primary">Primary</md-button>
|
||||
<md-button ng-disabled="true" class="md-raised md-primary">Disabled</md-button>
|
||||
<md-button class="md-raised md-warn">Warn</md-button>
|
||||
<div class="label">raised</div>
|
||||
</section>
|
||||
|
||||
<section layout="row" layout-sm="column" layout-align="center center">
|
||||
<md-button class="md-fab" aria-label="Time">
|
||||
<md-icon icon="/img/icons/ic_access_time_24px.svg" style="width: 24px; height: 24px;"></md-icon>
|
||||
</md-button>
|
||||
|
||||
<md-button class="md-fab" aria-label="New document">
|
||||
<md-icon icon="/img/icons/ic_insert_drive_file_24px.svg" style="width: 24px; height: 24px;"></md-icon>
|
||||
</md-button>
|
||||
|
||||
<md-button class="md-fab" ng-disabled="true" aria-label="Comment">
|
||||
<md-icon icon="/img/icons/ic_comment_24px.svg" style="width: 24px; height: 24px;"></md-icon>
|
||||
</md-button>
|
||||
|
||||
<md-button class="md-fab md-primary" md-theme="cyan" aria-label="Profile">
|
||||
<md-icon icon="/img/icons/ic_people_24px.svg" style="width: 24px; height: 24px;"></md-icon>
|
||||
</md-button>
|
||||
<div class="label">FAB</div>
|
||||
</section>
|
||||
|
||||
<section layout="row" layout-sm="column" layout-align="center center">
|
||||
<md-button ng-href="{{googleUrl}}" target="_blank">Go to Google</md-button>
|
||||
<md-button>RSVP</md-button>
|
||||
</section>
|
||||
|
||||
<section layout="row" layout-sm="column" layout-align="center center">
|
||||
<md-button class="md-primary md-hue-1">Primary Hue 1</md-button>
|
||||
<md-button class="md-warn md-raised md-hue-2">Warn Hue 2</md-button>
|
||||
<md-button class="md-accent">Accent</md-button>
|
||||
<md-button class="md-accent md-raised md-hue-3">Accent Hue 3</md-button>
|
||||
<div class="label">Themed</div>
|
||||
</section>
|
||||
|
||||
</md-content>
|
||||
</div>
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
angular.module('buttonsDemo1', ['ngMaterial'])
|
||||
|
||||
.controller('AppCtrl', function($scope) {
|
||||
$scope.title1 = 'Button';
|
||||
$scope.title4 = 'Warn';
|
||||
$scope.isDisabled = true;
|
||||
|
||||
$scope.googleUrl = 'http://google.com';
|
||||
|
||||
});
|
||||
@@ -0,0 +1,30 @@
|
||||
|
||||
/** From vulcanized demo **/
|
||||
|
||||
section {
|
||||
background: #f7f7f7;
|
||||
border-radius: 3px;
|
||||
text-align: center;
|
||||
margin: 1em;
|
||||
position: relative !important;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
md-content {
|
||||
margin-right: 7px;
|
||||
}
|
||||
section .md-button:not(.md-fab) {
|
||||
min-width: 10em;
|
||||
}
|
||||
section .md-button {
|
||||
display: block;
|
||||
margin: 1em;
|
||||
line-height: 25px;
|
||||
}
|
||||
.label {
|
||||
position: absolute;
|
||||
bottom: 5px;
|
||||
left: 7px;
|
||||
color: #ccc;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user