Styling
This commit is contained in:
		| @@ -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,17 +2,18 @@ | |||||||
|  |  | ||||||
| <div class="application-list-item"> | <div class="application-list-item"> | ||||||
|   <header> |   <header> | ||||||
|     <div class='left'> |     <div class="list-header"> | ||||||
|       <div class='h3'>{{ 'portfolios.applications.environments_heading' | translate }}</div> |       <div class='left'> | ||||||
|  |         <div class='h3'>{{ 'portfolios.applications.environments_heading' | translate }}</div> | ||||||
|  |       </div> | ||||||
|  |       <a class='icon-link'> | ||||||
|  |         {{ Icon('info') }} | ||||||
|  |         {{ "portfolios.admin.settings_info" | translate }} | ||||||
|  |       </a> | ||||||
|     </div> |     </div> | ||||||
|     <a class='icon-link'> |  | ||||||
|       {{ Icon('info') }} |  | ||||||
|       {{ "portfolios.admin.settings_info" | translate }} |  | ||||||
|     </a> |  | ||||||
|   </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> | ||||||
|                 <td class='accordian__item application-list-item__environment'> |             </tr> | ||||||
|                   <div class='application-list-item__environment__name'> |  | ||||||
|                     <span>User Name here</span> |  | ||||||
|                   </div> |  | ||||||
|                 </td> |  | ||||||
|               </tr> |  | ||||||
|  |  | ||||||
|  |             <tr > | ||||||
|  |               <td class='accordian__item application-list-item__environment'> | ||||||
|  |                 <div class='application-list-item__environment__name'> | ||||||
|  |                   <span>User Name here</span> | ||||||
|  |                 </div> | ||||||
|  |               </td> | ||||||
|             </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 }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user