Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6c307f8e
authored
May 19, 2019
by
gzhihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to Tailwind v1.0 - colors tweak
1 parent
541f61e1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
resources/css/buttons.css
resources/js/Pages/Auth/Login.vue
resources/js/Shared/Layout.vue
resources/css/buttons.css
View file @
6c307f8
.btn-indigo
{
@apply
px-6
py-3
rounded
bg-indigo-
6
00
text-white
text-sm
font-bold
whitespace-no-wrap;
@apply
px-6
py-3
rounded
bg-indigo-
7
00
text-white
text-sm
font-bold
whitespace-no-wrap;
&:hover,
&:focus
{
@apply
bg-orange-500
}
}
...
...
resources/js/Pages/Auth/Login.vue
View file @
6c307f8
<
template
>
<div
class=
"p-6 bg-indigo-
7
00 min-h-screen flex justify-center items-center"
>
<div
class=
"p-6 bg-indigo-
8
00 min-h-screen flex justify-center items-center"
>
<div
class=
"w-full max-w-md"
>
<logo
class=
"block mx-auto w-full max-w-xs fill-white"
height=
"50"
/>
<form
class=
"mt-8 bg-white rounded-lg shadow-xl overflow-hidden"
@
submit
.
prevent=
"submit"
>
...
...
resources/js/Shared/Layout.vue
View file @
6c307f8
...
...
@@ -4,7 +4,7 @@
<div
class=
"flex flex-col"
>
<div
class=
"min-h-screen flex flex-col"
@
click=
"hideDropdownMenus"
>
<div
class=
"md:flex"
>
<div
class=
"bg-indigo-
8
00 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"
>
<div
class=
"bg-indigo-
9
00 md:flex-shrink-0 md:w-56 px-6 py-4 flex items-center justify-between md:justify-center"
>
<inertia-link
class=
"mt-1"
href=
"/"
>
<logo
class=
"fill-white"
width=
"120"
height=
"28"
/>
</inertia-link>
...
...
@@ -26,15 +26,15 @@
<icon
class=
"w-5 h-5 group-hover:fill-indigo-600 fill-gray-800 focus:fill-indigo-600"
name=
"cheveron-down"
/>
</div>
<div
slot=
"dropdown"
class=
"mt-2 py-2 shadow-xl bg-white rounded text-sm"
>
<inertia-link
class=
"block px-6 py-2 hover:bg-indigo-
5
00 hover:text-white"
:href=
"route('users.edit', $page.auth.user.id)"
>
My Profile
</inertia-link>
<inertia-link
class=
"block px-6 py-2 hover:bg-indigo-
5
00 hover:text-white"
:href=
"route('users')"
>
Manage Users
</inertia-link>
<inertia-link
class=
"block px-6 py-2 hover:bg-indigo-
5
00 hover:text-white"
:href=
"route('logout')"
method=
"post"
>
Logout
</inertia-link>
<inertia-link
class=
"block px-6 py-2 hover:bg-indigo-
6
00 hover:text-white"
:href=
"route('users.edit', $page.auth.user.id)"
>
My Profile
</inertia-link>
<inertia-link
class=
"block px-6 py-2 hover:bg-indigo-
6
00 hover:text-white"
:href=
"route('users')"
>
Manage Users
</inertia-link>
<inertia-link
class=
"block px-6 py-2 hover:bg-indigo-
6
00 hover:text-white"
:href=
"route('logout')"
method=
"post"
>
Logout
</inertia-link>
</div>
</dropdown>
</div>
</div>
<div
class=
"flex flex-grow"
>
<div
class=
"bg-indigo-
7
00 flex-shrink-0 w-56 p-12 hidden md:block"
>
<div
class=
"bg-indigo-
8
00 flex-shrink-0 w-56 p-12 hidden md:block"
>
<main-menu
/>
</div>
<div
class=
"w-full overflow-hidden px-4 py-8 md:p-12"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment