remove style in html #1678 (#1743)

This commit is contained in:
Eugenio Romano
2017-03-22 10:50:24 +00:00
committed by Denys Vuika
parent 44808a31a3
commit f3c9ffab8d
17 changed files with 78 additions and 22 deletions

View File

@@ -1,4 +1,7 @@
.chart {display: block; width: 100%;}
.chart {
display: block;
width: 100%;
}
.analytics-row__entry {
cursor: pointer;
@@ -8,3 +11,16 @@
margin: 20px 20px 20px 20px;
float: right;
}
.full-width {
width: 100%
}
.partial-width {
width: 80%;
margin-left: 20px
}
.clear-both {
clear: both;
}

View File

@@ -7,7 +7,7 @@
<i class="material-icons">{{report.icon}}</i>
</button>
</div>
<div style="clear: both"> </div>
<div class="clear-both"> </div>
<div *ngFor="let report of reports; let idx = index">
<div [ngSwitch]="report.type">
<div *ngSwitchCase="'pie'">
@@ -29,7 +29,7 @@
<h4>{{report.title}}</h4>
<div *ngIf="!report.hasDatasets()">{{'ANALYTICS.MESSAGES.NO-DATA-FOUND' | translate}}</div>
<div [attr.id]="'chart-table-' + report.id" *ngIf="report.hasDatasets()">
<table class="table table-responsive table-condensed" style="width: 80%;margin-left: 20px">
<table class="table table-responsive table-condensed" class="partial-width">
<tr>
<th *ngFor="let label of report.labels">{{label | translate}}</th>
</tr>
@@ -45,7 +45,7 @@
<h4>{{report.title}}</h4>
<div *ngIf="!report.hasDatasets()">{{'ANALYTICS.MESSAGES.NO-DATA-FOUND' | translate}}</div>
<div [attr.id]="'chart-master-detail-table-' + report.id" *ngIf="report.hasDatasets()">
<table class="table table-responsive table-condensed" style="width: 100%">
<table class="table table-responsive table-condensed" class="full-width">
<tr>
<th *ngFor="let label of report.labels">{{label | translate}}</th>
</tr>
@@ -55,7 +55,7 @@
</table>
</div>
<div [attr.id]="'chart-master-detail-' + report.id" *ngIf="isShowDetails()">
<table class="table table-responsive table-condensed" style="width: 100%">
<table class="table table-responsive table-condensed" class="full-width">
<tr>
<th *ngFor="let label of report.detailsTable.labels">{{label | translate}}</th>
</tr>

View File

@@ -17,3 +17,7 @@
.number-widget__invalid .mdl-textfield__error {
visibility: visible !important;
}
.dropdown-container {
margin-top: 30px;
}

View File

@@ -12,10 +12,10 @@
</div>
</div>
<div class="mdl-cell mdl-cell--6-col">
<div style="margin-top: 30px">
<div class="dropdown-container">
<dropdown-widget [field]="duration" [group]="formGroup" [controllerName]="'timeType'"
[showDefaultOption]="false"
(fieldChanged)="calculateDuration()"></dropdown-widget>
</div>
</div>
</div>
</div>

View File

@@ -24,3 +24,11 @@
.activiti-form-hide-button {
display: none;
}
.activiti-debug-button {
float: right;
}
.activiti-task-title {
text-align: center
}

View File

@@ -1,6 +1,6 @@
<div>
<div *ngIf="!hasForm()">
<h3 style="text-align: center">Please select a Task</h3>
<h3 class="activiti-task-title">Please select a Task</h3>
</div>
<div *ngIf="hasForm()">
<div class="mdl-card mdl-shadow--2dp activiti-form-container {{form.className}}">
@@ -44,7 +44,7 @@ will be removed during future revisions
-->
<div *ngIf="showDebugButton" class="activiti-form-debug-container">
<div style="float: right">
<div class="activiti-debug-button">
<label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="switch-1" [class.is-checked]="debugMode">
<input type="checkbox" id="switch-1" class="mdl-switch__input" [(ngModel)]="debugMode">
<span class="mdl-switch__label"></span>

View File

@@ -221,3 +221,7 @@
margin-top: 5px;
display: block;
}
.alfresco-login__message{
color: blue;
}

View File

@@ -16,7 +16,7 @@
<div>
<div *ngIf="error" id="login-error" data-automation-id="login-error"
class="error mdl-card__supporting-text">{{errorMsg | translate }}</div>
<div *ngIf="success" id="login-success" data-automation-id="login-success" class="mdl-card__supporting-text" style="color: blue;">{{'LOGIN.MESSAGES.LOGIN-SUCCESS' | translate }}</div>
<div *ngIf="success" id="login-success" data-automation-id="login-success" class="mdl-card__supporting-text" class="alfresco-login__message">{{'LOGIN.MESSAGES.LOGIN-SUCCESS' | translate }}</div>
</div>
<!--USERNAME FIELD-->

View File

@@ -41,6 +41,7 @@
text-align: center;
width: 100%;
}
:host .truncate {
margin-left: 0;
white-space: nowrap;
@@ -48,11 +49,11 @@
text-overflow: ellipsis;
}
:host .mdl-progress{
:host .mdl-progress {
width: 150px;
}
@media (max-device-width: 360px){
@media (max-device-width: 360px) {
.truncate {
max-width: 50px;
margin-left: 0px;
@@ -63,6 +64,7 @@
.truncate {
width: 60px;
}
.mdl-progress {
width: 60px;
}
@@ -91,3 +93,11 @@
display: table-cell;
}
}
.full-width {
width: 100%;
}
.no-width {
width: 0%;
}

View File

@@ -18,8 +18,8 @@
<td class="mdl-data-table__cell--non-numeric">
<div class="mdl-progress mdl-js-progress is-upgraded" id="{{file.id}}">
<div class="progressbar bar bar1" attr.data-automation-id="dialog_progress_{{file.name}}" [style.width.%]="file.progress.percent"></div>
<div class="bufferbar bar bar2" style="width: 100%;"></div>
<div class="auxbar bar bar3" style="width: 0%;"></div>
<div class="bufferbar bar bar2" class="full-width"></div>
<div class="auxbar bar bar3" class="no-width"></div>
</div>
</td>
<td class="mdl-data-table__cell--non-numeric mdl-cell--hide-phone size-column" attr.data-automation-id="{{file.name}}_filesize">{{file.size}}</td>