Styling
This commit is contained in:
parent
782387b146
commit
110b232fb7
@ -24,7 +24,51 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.list-header {
|
||||||
|
margin: 2 * $gap 5 * $gap;
|
||||||
|
padding: inherit;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
header.accordian__header {
|
header.accordian__header {
|
||||||
padding: 1.6rem;
|
padding: 1.6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.icon-link {
|
||||||
|
float: right;
|
||||||
|
|
||||||
|
.icon--info {
|
||||||
|
bottom: -1px;
|
||||||
|
left: 4px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.left {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
|
||||||
|
thead {
|
||||||
|
td {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
border-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
tbody {
|
||||||
|
th {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 1.6rem;
|
||||||
|
}
|
||||||
|
td {
|
||||||
|
font-size: 1.6rem;
|
||||||
|
border-bottom: 1px solid $color-gray-lightest;
|
||||||
|
border-top: 0;
|
||||||
|
padding: 3 * $gap 2 * $gap;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
<div class="application-list-item">
|
<div class="application-list-item">
|
||||||
<header>
|
<header>
|
||||||
|
<div class="list-header">
|
||||||
<div class='left'>
|
<div class='left'>
|
||||||
<div class='h3'>{{ 'portfolios.applications.environments_heading' | translate }}</div>
|
<div class='h3'>{{ 'portfolios.applications.environments_heading' | translate }}</div>
|
||||||
</div>
|
</div>
|
||||||
@ -9,10 +10,10 @@
|
|||||||
{{ Icon('info') }}
|
{{ Icon('info') }}
|
||||||
{{ "portfolios.admin.settings_info" | translate }}
|
{{ "portfolios.admin.settings_info" | translate }}
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div is='toggler' v-cloak>
|
<div>
|
||||||
<template slot-scope='props'>
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -23,8 +24,10 @@
|
|||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for environment in application.environments %}
|
{% for environment in application.environments %}
|
||||||
<tr>
|
<tr is='toggler' v-cloak>
|
||||||
<td v-on:click="props.toggle">{{ environment.name }}</td>
|
<template slot-scope='props'>
|
||||||
|
|
||||||
|
<th v-on:click="props.toggle">{{ environment.name }}</th>
|
||||||
|
|
||||||
<template v-if="props.isVisible">
|
<template v-if="props.isVisible">
|
||||||
<span v-on:click="props.toggle" class='icon-link toggle-link'>
|
<span v-on:click="props.toggle" class='icon-link toggle-link'>
|
||||||
@ -35,18 +38,19 @@
|
|||||||
<td>Show Members({{ environment.num_users }}){{ Icon('caret_down') }}</td>
|
<td>Show Members({{ environment.num_users }}){{ Icon('caret_down') }}</td>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<tr v-if="props.isVisible">
|
</template>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr >
|
||||||
<td class='accordian__item application-list-item__environment'>
|
<td class='accordian__item application-list-item__environment'>
|
||||||
<div class='application-list-item__environment__name'>
|
<div class='application-list-item__environment__name'>
|
||||||
<span>User Name here</span>
|
<span>User Name here</span>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</template>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -22,10 +22,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="panel">
|
<div class="responsive-table-wrapper panel">
|
||||||
<div class="panel__content">
|
|
||||||
{% include "fragments/applications/environments.html" %}
|
{% include "fragments/applications/environments.html" %}
|
||||||
</div>
|
|
||||||
<div class="action-group">
|
<div class="action-group">
|
||||||
<a class='icon-link'>
|
<a class='icon-link'>
|
||||||
{{ "portfolios.applications.add_environment" | translate }}
|
{{ "portfolios.applications.add_environment" | translate }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user