diff --git a/ionic/components/alert/alert.scss b/ionic/components/alert/alert.scss deleted file mode 100644 index b2007cea6b..0000000000 --- a/ionic/components/alert/alert.scss +++ /dev/null @@ -1,41 +0,0 @@ - -// Alert -// -------------------------------------------------- - -$alert-width: 40% !default; -$alert-min-width: 270px !default; -$alert-max-width: 460px !default; -$alert-content-margin: 24px !default; - - -.alert .overlay-container { - display: flex; - justify-content: center; - align-items: center; -} - -.alert-container { - display: block; - - width: $alert-width; - min-width: $alert-min-width; - max-width: $alert-max-width; - margin-bottom: 60px; - - background: white; -} - -.alert-header { - margin: $alert-content-margin; - font-size: 2rem; - font-weight: 400; -} - -.alert-content { - margin: $alert-content-margin; -} - -.alert-actions { - display: flex; - justify-content: flex-end; -} diff --git a/ionic/components/alert/alert.ts b/ionic/components/alert/alert.ts deleted file mode 100644 index e75e7bce5e..0000000000 --- a/ionic/components/alert/alert.ts +++ /dev/null @@ -1,24 +0,0 @@ - -/* -@Component({ - selector: 'ion-alert' -}) -@NgView({ - template: ` -
- ` -}) -export class Alert {} -*/ diff --git a/ionic/components/alert/extensions/ios.scss b/ionic/components/alert/extensions/ios.scss deleted file mode 100644 index a18771bfd8..0000000000 --- a/ionic/components/alert/extensions/ios.scss +++ /dev/null @@ -1,49 +0,0 @@ - -// Alert -// -------------------------------------------------- - -$alert-ios-min-height: 80px !default; -$alert-ios-content-margin: 15px !default; -$alert-ios-background-color: #e8e8e8 !default; -$alert-ios-border-color: #b5b5b5 !default; -$alert-ios-border-radius: 15px !default; -$alert-ios-button-color: #007aff !default; -$alert-ios-button-font-size: 2rem !default; - - -.alert[mode="ios"] { - - .alert-container { - border-radius: $alert-ios-border-radius; - background: $alert-ios-background-color; - text-align: center; - } - - .alert-header { - margin: $alert-ios-content-margin; - } - - .alert-content { - position: relative; - margin: $alert-ios-content-margin 0 0; - padding: 0 $alert-ios-content-margin $alert-ios-content-margin; - min-height: $alert-ios-min-height; - - @include hairline(bottom, $alert-ios-border-color); - } - - .alert-actions { - min-height: 44px; - - button, - [button] { - flex: 1; - border: 0; - background: transparent; - font-size: $alert-ios-button-font-size; - font-weight: 400; - color: $alert-ios-button-color; - } - } - -} diff --git a/ionic/components/alert/extensions/material.scss b/ionic/components/alert/extensions/material.scss deleted file mode 100644 index d97ddeb93c..0000000000 --- a/ionic/components/alert/extensions/material.scss +++ /dev/null @@ -1,42 +0,0 @@ - -// Material Design Alert -// -------------------------------------------------- - -$alert-material-content-margin: 24px !default; -$alert-material-background-color: #fff !default; -$alert-material-border-radius: 4px !default; -$alert-material-box-shadow: 0px 27px 24px 0 rgba(0, 0, 0, 0.2) !default; - - -.alert[mode="md"] { - - .alert-container { - box-shadow: $alert-material-box-shadow; - border-radius: $alert-material-border-radius; - overflow: hidden; - } - - .alert-header { - margin: $alert-material-content-margin; - font-size: 2rem; - font-weight: 400; - } - - .alert-content { - position: relative; - margin: $alert-material-content-margin; - background: $alert-material-background-color; - } - - .alert-actions { - min-height: 44px; - background: $alert-material-background-color; - margin: $alert-material-content-margin; - - button, - [button] { - border: 0; - } - } - -} diff --git a/ionic/components/alert/test/basic/index.ts b/ionic/components/alert/test/basic/index.ts deleted file mode 100644 index 94ccd80912..0000000000 --- a/ionic/components/alert/test/basic/index.ts +++ /dev/null @@ -1,17 +0,0 @@ -import {App, Alert} from 'ionic/ionic'; - - -@App({ - templateUrl: 'main.html' -}) -class IonicApp { - constructor(alert: Alert) { - this.alert = alert; - } - - showAlert() { - this.alert.open({ - - }); - } -} diff --git a/ionic/components/alert/test/basic/main.html b/ionic/components/alert/test/basic/main.html deleted file mode 100644 index 15bba22dca..0000000000 --- a/ionic/components/alert/test/basic/main.html +++ /dev/null @@ -1,8 +0,0 @@ -