Change gray classes
To match Tailwind 1.0
This commit is contained in:
parent
f443d5892b
commit
e0e95a0e97
21 changed files with 66 additions and 66 deletions
|
|
@ -1,12 +1,12 @@
|
|||
<template>
|
||||
<div class="border border-grey-400 rounded shadow bg-white overflow-hidden">
|
||||
<div class="border border-gray-400 rounded shadow bg-white overflow-hidden">
|
||||
<div class="border-t-4 border-teal">
|
||||
<div class="border-b border-grey-400">
|
||||
<div class="border-b border-gray-400">
|
||||
<div class="px-3 py-4">
|
||||
<div class="flex flex-row-reverse">
|
||||
<div class="flex-1">
|
||||
<h2 class="text-grey-600 text-base mb-1">{{ title }}</h2>
|
||||
<div class="text-xs text-grey-600">{{ description }}</div>
|
||||
<h2 class="text-gray-600 text-base mb-1">{{ title }}</h2>
|
||||
<div class="text-xs text-gray-600">{{ description }}</div>
|
||||
</div>
|
||||
|
||||
<div class="mr-3">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<button type="button" class="w-full flex flex-col items-center py-3 text-blue-300 text-xs font-bold no-underline hover:underline focus:underline hover:bg-grey-200 focus:bg-grey-lighter focus:outline-none block">
|
||||
<button type="button" class="w-full flex flex-col items-center py-3 text-blue-300 text-xs font-bold no-underline hover:underline focus:underline hover:bg-gray-200 focus:bg-gray-200 focus:outline-none block">
|
||||
<slot></slot>
|
||||
<span class="block" v-text="label"></span>
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
<li class="button-list-item">
|
||||
<action-card-button label="Restore" :disabled="isProduction" :class="{
|
||||
'text-blue-300': !isProduction,
|
||||
'text-grey-500 cursor-not-allowed': isProduction
|
||||
'text-gray-500 cursor-not-allowed': isProduction
|
||||
}">
|
||||
<svg role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__restore"></use></svg>
|
||||
</action-card-button>
|
||||
|
|
@ -110,6 +110,6 @@ export default {
|
|||
}
|
||||
|
||||
.button-list-item {
|
||||
@apply w-1/2 flex-1 text-center border-l border-grey-400
|
||||
@apply w-1/2 flex-1 text-center border-l border-gray-400
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -2,21 +2,21 @@
|
|||
<div class="mb-6">
|
||||
<div class="flex flex-wrap -mx-4 -mb-6">
|
||||
<div v-for="(environment, key) in environments" class="w-full md:w-1/2 xl:w-1/3 px-4 mb-6" :key="key">
|
||||
<div class="border border-grey-400 rounded overflow-hidden shadow">
|
||||
<div class="border border-gray-400 rounded overflow-hidden shadow">
|
||||
<div class="bg-white">
|
||||
<div class="border-t-4 border-teal p-3">
|
||||
<router-link :to="{ name: 'environment', params: { environmentName: key, id: id }}" class="flex items-baseline no-underline hover:underline focus:underline text-grey-600 hover:text-blue-300 focus:text-blue-300 focus:outline-none mb-1">
|
||||
<router-link :to="{ name: 'environment', params: { environmentName: key, id: id }}" class="flex items-baseline no-underline hover:underline focus:underline text-gray-600 hover:text-blue-300 focus:text-blue-300 focus:outline-none mb-1">
|
||||
<h2>{{ environment.name }}</h2>
|
||||
<svg class="w-4 h-4 fill-current text-inherit ml-2" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.95 10.707l.707-.707L8 4.343 6.586 5.757 10.828 10l-4.242 4.243L8 15.657l4.95-4.95z" fill-rule="evenodd"/></svg>
|
||||
</router-link>
|
||||
|
||||
<div class="mb-2">
|
||||
<a href="#0" class="no-underline hover:underline focus:underline text-grey-600 hover:text-blue-300 focus:text-blue-300 focus:outline-none">
|
||||
<a href="#0" class="no-underline hover:underline focus:underline text-gray-600 hover:text-blue-300 focus:text-blue-300 focus:outline-none">
|
||||
{{ environment.url }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="text-grey-600">{{ environment.label }}</div>
|
||||
<div class="text-gray-600">{{ environment.label }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -24,20 +24,20 @@
|
|||
<button type="button" class="flex items-center justify-between text-white pl-1 bg-blue-200 hover:bg-blue-400 focus:bg-blue-400 focus:outline-none focus:underline text-sm w-full text-left py-1">
|
||||
<svg class="h-6 w-5 text-white mr-2 fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#objects__grip-handle"></use></svg>
|
||||
<span class="flex-1">Code</span>
|
||||
<span class="border-l border-grey-400 p-2">
|
||||
<span class="border-l border-gray-400 p-2">
|
||||
<svg class="h-6 w-6 text-white fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__switch"></use></svg>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<button type="button" class="flex items-center justify-between text-white pl-1 bg-blue-200 hover:bg-blue-400 focus:bg-blue-400 focus:outline-none focus:underline text-sm w-full text-left py-1 border-t border-grey-400">
|
||||
<button type="button" class="flex items-center justify-between text-white pl-1 bg-blue-200 hover:bg-blue-400 focus:bg-blue-400 focus:outline-none focus:underline text-sm w-full text-left py-1 border-t border-gray-400">
|
||||
<svg class="h-6 w-5 text-white mr-2 fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#objects__grip-handle"></use></svg>
|
||||
<span class="flex-1">Databases</span>
|
||||
<span class="border-l border-grey-400 p-2">
|
||||
<span class="border-l border-gray-400 p-2">
|
||||
<svg class="h-6 w-6 text-white fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__backup"></use></svg>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
<button type="button" class="flex items-center text-white bg-blue-200 hover:bg-blue-400 focus:bg-blue-400 focus:outline-none focus:underline px-1 py-3 text-sm w-full text-left py-1 border-t border-grey-400">
|
||||
<button type="button" class="flex items-center text-white bg-blue-200 hover:bg-blue-400 focus:bg-blue-400 focus:outline-none focus:underline px-1 py-3 text-sm w-full text-left py-1 border-t border-gray-400">
|
||||
<svg class="h-6 w-5 text-white mr-2 fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#objects__grip-handle"></use></svg>
|
||||
Files
|
||||
</button>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div class="bg-white border-t-10 border-purple mb-6" :class="[hidden ? 'hidden' : 'block lg:flex']">
|
||||
<div class="flex-none py-3 pl-3 pr-8 border-b lg:border-r border-grey-200">
|
||||
<div class="flex-none py-3 pl-3 pr-8 border-b lg:border-r border-gray-200">
|
||||
<div class="flex items-center">
|
||||
<svg class="h-6 w-6 mr-1 text-purple fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#actions__info"></use></svg>
|
||||
Quick help
|
||||
|
|
@ -22,13 +22,13 @@
|
|||
:key="item.subject"
|
||||
type="button"
|
||||
class="hover:underline focus:underline mr-6 focus:outline-none"
|
||||
:class="[ i === selected ? 'text-grey-700' : 'text-blue-300' ]"
|
||||
:class="[ i === selected ? 'text-gray-700' : 'text-blue-300' ]"
|
||||
@click="selected = i"
|
||||
>{{ item.subject }}</button>
|
||||
</div>
|
||||
|
||||
<div class="leading-normal">
|
||||
<p class="text-sm text-grey-600">
|
||||
<p class="text-sm text-gray-600">
|
||||
{{ items[selected].text }}
|
||||
<a href="#0" class="text-blue-300 no-underline hover:underline focus:underline">Learn more</a>
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div>
|
||||
<div class="bg-grey-300 pb-4 pt-6 px-4">
|
||||
<div class="bg-gray-300 pb-4 pt-6 px-4">
|
||||
<h2 class="font-normal text-lg">Task Log</h2>
|
||||
</div>
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -1,26 +1,26 @@
|
|||
<template>
|
||||
<div>
|
||||
<div class="px-3 py-4 border-b border-grey-300 flex" :class="{'bg-yellow-lightest': open}">
|
||||
<div class="px-3 py-4 border-b border-gray-300 flex" :class="{'bg-yellow-lightest': open}">
|
||||
<div class="flex-none mr-3">
|
||||
<svg v-if="task.loading" class="h-5 w-5 text-grey-500 fill-current rotates" role="presentation"><use xlink:href="/img/icons.symbol.svg#feedback__loading"></use></svg>
|
||||
<svg v-if="task.loading" class="h-5 w-5 text-gray-500 fill-current rotates" role="presentation"><use xlink:href="/img/icons.symbol.svg#feedback__loading"></use></svg>
|
||||
<svg v-if="!task.loading && task.success" class="h-5 w-5 text-green fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#feedback__success-circle"></use></svg>
|
||||
<svg v-if="!task.loading && !task.success" class="h-5 w-5 text-red fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#feedback__warning"></use></svg>
|
||||
</div>
|
||||
|
||||
<div class="flex-1">
|
||||
<div class="text-sm font-bold mb-2">{{ task.text }}</div>
|
||||
<div class="text-grey-600 text-2xs">{{ task.times.display }}</div>
|
||||
<div class="text-gray-600 text-2xs">{{ task.times.display }}</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<button type="button" @click="open = !open">
|
||||
<svg v-if="!open" class="h-5 w-5 text-grey-600 fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#alpha__chevron"></use></svg>
|
||||
<svg v-else class="h-5 w-5 text-grey-600 fill-current" style="transform: rotate(180deg)" role="presentation"><use xlink:href="/img/icons.symbol.svg#alpha__chevron"></use></svg>
|
||||
<svg v-if="!open" class="h-5 w-5 text-gray-600 fill-current" role="presentation"><use xlink:href="/img/icons.symbol.svg#alpha__chevron"></use></svg>
|
||||
<svg v-else class="h-5 w-5 text-gray-600 fill-current" style="transform: rotate(180deg)" role="presentation"><use xlink:href="/img/icons.symbol.svg#alpha__chevron"></use></svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-4 bg-grey-600 text-white antialiased" v-show="open">
|
||||
<div class="p-4 bg-gray-600 text-white antialiased" v-show="open">
|
||||
<div class="lg:flex lg:flex-wrap -mx-4 -mb-4">
|
||||
<div class="px-4 mb-4">
|
||||
<div class="text-xs uppercase mb-1">Task ID</div>
|
||||
|
|
|
|||
Reference in a new issue