Update colour class names
This commit is contained in:
parent
eb9da4a8e0
commit
5323b6153f
18 changed files with 100 additions and 100 deletions
|
|
@ -1,14 +1,14 @@
|
|||
<template>
|
||||
<div>
|
||||
<div v-if="display == 'grid'" class="bg-white p-4 border-grey-4 rounded border flex-1">
|
||||
<div v-if="display == 'grid'" class="bg-white p-4 border-grey-400 rounded border flex-1">
|
||||
<div class="flex h-full">
|
||||
<div class="flex-1 w-5/6 flex flex-col justify-between">
|
||||
<div>
|
||||
<div>
|
||||
<router-link :to="{name: 'environments', params: {id: id}}" class="text-blue-3 no-underline hover:underline focus:underline focus:outline-none"><h2 class="mb-1">{{ application.name }}</h2></router-link>
|
||||
<router-link :to="{name: 'environments', params: {id: id}}" class="text-blue-300 no-underline hover:underline focus:underline focus:outline-none"><h2 class="mb-1">{{ application.name }}</h2></router-link>
|
||||
</div>
|
||||
|
||||
<div class="truncate text-blue-3">
|
||||
<div class="truncate text-blue-300">
|
||||
<a href="#0" class="text-inherit no-underline hover:underline focus:underline focus:outline-none">{{ application.environments['prod'].url }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -22,18 +22,18 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div v-if="display == 'list'" class="bg-white p-3 border-grey-4 border-b">
|
||||
<div v-if="display == 'list'" class="bg-white p-3 border-grey-400 border-b">
|
||||
<div class="-mx-2">
|
||||
<div class="flex flex-row-reverse items-center justify-between">
|
||||
<div class="flex flex-1 justify-between items-center -mx-2">
|
||||
<div class="flex-1 px-2">
|
||||
<router-link :to="{name: 'environments', params: {id: id}}" class="text-blue-3 no-underline hover:underline focus:underline"><h2 class="text-base font-normal mb-1">{{ application.name }}</h2></router-link>
|
||||
<router-link :to="{name: 'environments', params: {id: id}}" class="text-blue-300 no-underline hover:underline focus:underline"><h2 class="text-base font-normal mb-1">{{ application.name }}</h2></router-link>
|
||||
</div>
|
||||
|
||||
<application-tags :type="application.type" :level="application.level" class="w-1/4 px-2"></application-tags>
|
||||
|
||||
<div class="w-2/5 px-2">
|
||||
<a href="#0" class="text-blue-3 no-underline hover:underline focus:underline">{{ application.environments['prod'].url }}</a>
|
||||
<a href="#0" class="text-blue-300 no-underline hover:underline focus:underline">{{ application.environments['prod'].url }}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
<template>
|
||||
<div>
|
||||
<div class="bg-grey-1 rounded overflow-hidden">
|
||||
<button type="button" class="p-2 focus:outline-none focus:bg-blue-3 focus:text-white" :class="[mode == 'grid' ? 'bg-blue-1 text-white' : 'text-grey-darkest']" @click="$emit('display-changed', 'grid')">
|
||||
<div class="bg-grey-100 rounded overflow-hidden">
|
||||
<button type="button" class="p-2 focus:outline-none focus:bg-blue-300 focus:text-white" :class="[mode == 'grid' ? 'bg-blue-100 text-white' : 'text-grey-darkest']" @click="$emit('display-changed', 'grid')">
|
||||
<svg class="h-5 w-5 fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__grid"></use></svg>
|
||||
<span class="visuallyhidden">Grid</span>
|
||||
</button>
|
||||
|
||||
<button type="button" class="p-2 focus:outline-none focus:bg-blue-3 focus:text-white" :class="[mode == 'list' ? 'bg-blue-1 text-white' : 'text-grey-darkest']" @click="$emit('display-changed', 'list')">
|
||||
<button type="button" class="p-2 focus:outline-none focus:bg-blue-300 focus:text-white" :class="[mode == 'list' ? 'bg-blue-100 text-white' : 'text-grey-darkest']" @click="$emit('display-changed', 'list')">
|
||||
<svg class="h-5 w-5 fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__list"></use></svg>
|
||||
<span class="visuallyhidden">List</span>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<button type="button" @click="starred = !starred" class="focus:outline-none" :class="[starred ? 'text-orange-1 hover:text-orange-2 focus:text-orange-2' : 'text-grey-4 focus:text-orange-2 hover:text-orange-1']">
|
||||
<button type="button" @click="starred = !starred" class="focus:outline-none" :class="[starred ? 'text-orange-100 hover:text-orange-200 focus:text-orange-200' : 'text-grey-400 focus:text-orange-200 hover:text-orange-100']">
|
||||
<span class="visuallyhidden">{{ !starred ? 'Star' : 'Unstar' }} {{ application.name }}</span>
|
||||
<svg class="h-6 w-6 fill-current -mr-1" role="presentation"><use :xlink:href="`/img/icons.symbol.svg#state__${starred ? 'starred' : 'unstarred'}`"></use></svg>
|
||||
</button>
|
||||
|
|
|
|||
Reference in a new issue