forked from beamkenya/ex_ussd_simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
1,883 additions
and
815 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,27 @@ | ||
/* This file is for your main application css. */ | ||
@import "./phoenix.css"; | ||
@import "../node_modules/nprogress/nprogress.css"; | ||
@tailwind base; | ||
|
||
/* LiveView specific classes for your customizations */ | ||
.phx-no-feedback.invalid-feedback, | ||
.phx-no-feedback .invalid-feedback { | ||
display: none; | ||
} | ||
@tailwind components; | ||
|
||
.phx-click-loading { | ||
opacity: 0.5; | ||
transition: opacity 1s ease-out; | ||
} | ||
@tailwind utilities; | ||
|
||
.phx-disconnected{ | ||
cursor: wait; | ||
} | ||
.phx-disconnected *{ | ||
pointer-events: none; | ||
} | ||
@import "./page.scss"; | ||
|
||
.phx-modal { | ||
opacity: 1!important; | ||
position: fixed; | ||
z-index: 1; | ||
left: 0; | ||
top: 0; | ||
width: 100%; | ||
html, | ||
body, | ||
main { | ||
height: 100%; | ||
overflow: auto; | ||
background-color: rgb(0,0,0); | ||
background-color: rgba(0,0,0,0.4); | ||
min-height: 100%; | ||
min-width: 100%; | ||
} | ||
|
||
.phx-modal-content { | ||
background-color: #fefefe; | ||
margin: 15% auto; | ||
padding: 20px; | ||
border: 1px solid #888; | ||
width: 80%; | ||
body { | ||
background-color: rgb(0, 0, 0); | ||
} | ||
|
||
.phx-modal-close { | ||
color: #aaa; | ||
float: right; | ||
font-size: 28px; | ||
font-weight: bold; | ||
} | ||
|
||
.phx-modal-close:hover, | ||
.phx-modal-close:focus { | ||
color: black; | ||
text-decoration: none; | ||
cursor: pointer; | ||
.live-view-wrapper { | ||
height: 100%; | ||
} | ||
|
||
|
||
/* Alerts and form errors */ | ||
.alert { | ||
padding: 15px; | ||
margin-bottom: 20px; | ||
border: 1px solid transparent; | ||
border-radius: 4px; | ||
} | ||
.alert-info { | ||
color: #31708f; | ||
background-color: #d9edf7; | ||
border-color: #bce8f1; | ||
} | ||
.alert-warning { | ||
color: #8a6d3b; | ||
background-color: #fcf8e3; | ||
border-color: #faebcc; | ||
} | ||
.alert-danger { | ||
color: #a94442; | ||
background-color: #f2dede; | ||
border-color: #ebccd1; | ||
} | ||
.alert p { | ||
margin-bottom: 0; | ||
} | ||
.alert:empty { | ||
display: none; | ||
} | ||
.invalid-feedback { | ||
color: #a94442; | ||
display: block; | ||
margin: -1rem 0 2rem; | ||
.flex-col-centered { | ||
@apply flex flex-col justify-center items-center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.phone-button { | ||
@apply w-1/3 h-12 bg-gray-200 flex-col-centered border-t-2 border-white text-xl font-medium; | ||
|
||
&:hover { | ||
@apply bg-blue-400 text-white cursor-pointer; | ||
} | ||
|
||
&-reset { | ||
@extend .phone-button; | ||
@apply bg-transparent border-none text-sm text-gray-500; | ||
|
||
&:hover { | ||
@apply bg-transparent text-blue-400; | ||
} | ||
} | ||
|
||
&-call { | ||
@extend .phone-button; | ||
@apply bg-transparent border-none rounded-full text-xl text-black; | ||
} | ||
} | ||
|
||
#num-pad .num-row { | ||
.phone-button:nth-child(2) { | ||
@apply border-r-2 border-l-2 border-white; | ||
} | ||
|
||
&:first-child() { | ||
.phone-button { | ||
@apply border-t-0; | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.