-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(datetime-button): add button for displaying datetime in overlays (…
- Loading branch information
1 parent
52f0b22
commit 4997331
Showing
59 changed files
with
1,514 additions
and
9 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
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
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
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
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
Binary file modified
BIN
-12.8 KB
(89%)
...accordion.e2e.ts-snapshots/accordion-standalone-ios-ltr-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-12.1 KB
(90%)
...accordion.e2e.ts-snapshots/accordion-standalone-ios-rtl-Mobile-Safari-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,50 @@ | ||
@import "../../themes/ionic.globals"; | ||
|
||
// Datetime Button | ||
// -------------------------------------------------- | ||
|
||
:host { | ||
display: flex; | ||
|
||
align-items: center; | ||
|
||
justify-content: center; | ||
} | ||
|
||
:host button { | ||
@include border-radius(8px); | ||
@include padding(6px, 12px, 6px, 12px); | ||
@include margin(0px, 2px, 0px, 2px); | ||
|
||
position: relative; | ||
|
||
transition: 150ms color ease-in-out; | ||
|
||
border: none; | ||
|
||
background: var(--ion-color-step-300, #edeef0); | ||
|
||
color: $text-color; | ||
|
||
font-family: inherit; | ||
font-size: inherit; | ||
|
||
cursor: pointer; | ||
|
||
appearance: none; | ||
|
||
overflow: hidden; | ||
} | ||
|
||
:host(.time-active) #time-button, | ||
:host(.date-active) #date-button { | ||
color: current-color(base); | ||
} | ||
|
||
:host(.datetime-button-disabled) { | ||
pointer-events: none; | ||
} | ||
|
||
:host(.datetime-button-disabled) button { | ||
opacity: 0.4; | ||
} |
Oops, something went wrong.