mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Remove hardcoded css style
This commit is contained in:
10
demo-shell-ng2/app/components/login/login-demo.component.css
Normal file
10
demo-shell-ng2/app/components/login/login-demo.component.css
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
.setting {
|
||||||
|
border-radius: 8px; position: absolute; background-color: papayawhip; color: cadetblue; left: 10px; top: 10px; z-index: 1;
|
||||||
|
}
|
||||||
|
.banned{
|
||||||
|
width:130px;margin: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.toggle {
|
||||||
|
width:120px;margin: 20px;
|
||||||
|
}
|
@@ -1,17 +1,17 @@
|
|||||||
<div style="border-radius: 8px; position: absolute; background-color: papayawhip; color: cadetblue; left: 10px; top: 10px; z-index: 1;">
|
<div class="setting">
|
||||||
<p style="width:120px;margin: 20px;">
|
<p class="toggle">
|
||||||
<label for="switch1" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
<label for="switch1" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
||||||
<input type="checkbox" id="switch1" class="mdl-switch__input" checked (click)="toggleECM(ecm.checked)" #ecm>
|
<input type="checkbox" id="switch1" class="mdl-switch__input" checked (click)="toggleECM(ecm.checked)" #ecm>
|
||||||
<span class="mdl-switch__label">ECM</span>
|
<span class="mdl-switch__label">ECM</span>
|
||||||
</label>
|
</label>
|
||||||
</p>
|
</p>
|
||||||
<p style="width:120px;margin: 20px;">
|
<p class="toggle">
|
||||||
<label for="switch2" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
<label for="switch2" class="mdl-switch mdl-js-switch mdl-js-ripple-effect">
|
||||||
<input type="checkbox" id="switch2" class="mdl-switch__input" (click)="toggleBPM(bpm.checked)" #bpm>
|
<input type="checkbox" id="switch2" class="mdl-switch__input" (click)="toggleBPM(bpm.checked)" #bpm>
|
||||||
<span class="mdl-switch__label">BPM</span>
|
<span class="mdl-switch__label">BPM</span>
|
||||||
</label>
|
</label>
|
||||||
</p>
|
</p>
|
||||||
<p style="width:130px;margin: 10px;">
|
<p class="banned">
|
||||||
<label for="blacklistusername">Banned username</label><br>
|
<label for="blacklistusername">Banned username</label><br>
|
||||||
<input id="blacklistusername" type="text" placeholder="banned username" [(ngModel)]="blackListUsername" />
|
<input id="blacklistusername" type="text" placeholder="banned username" [(ngModel)]="blackListUsername" />
|
||||||
</p>
|
</p>
|
||||||
|
@@ -26,6 +26,7 @@ declare let __moduleName: string;
|
|||||||
moduleId: __moduleName,
|
moduleId: __moduleName,
|
||||||
selector: 'login-demo',
|
selector: 'login-demo',
|
||||||
templateUrl: './login-demo.component.html',
|
templateUrl: './login-demo.component.html',
|
||||||
|
styleUrls: ['./login-demo.component.css'],
|
||||||
directives: [ROUTER_DIRECTIVES, AlfrescoLoginComponent],
|
directives: [ROUTER_DIRECTIVES, AlfrescoLoginComponent],
|
||||||
pipes: []
|
pipes: []
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user