Skip to content

Commit

Permalink
convert css to scss and fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
insinfo committed Jan 29, 2020
1 parent 6b44603 commit a04af75
Show file tree
Hide file tree
Showing 25 changed files with 46,759 additions and 1,835 deletions.
680 changes: 341 additions & 339 deletions example/.firebase/hosting.YnVpbGQ.cache

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/lib/src/services/person_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class PersonService {
PersonService() {
RestClientGeneric.basePath = '';
RestClientGeneric.host = html.window.location.hostname;
RestClientGeneric.protocol = UriMuProtoType.http;
RestClientGeneric.protocol = html.window.location.protocol == 'http' ? UriMuProtoType.http : UriMuProtoType.https;
RestClientGeneric.port = int.tryParse(html.window.location.port);
rest = RestClientGeneric<Person>(factories: {Person: (x) => Person.fromJson(x)});
}
Expand Down
33 changes: 15 additions & 18 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: example
description: A example of essential_components library for AngularDart developers. This example is gallery of components
version: 1.0.0
version: 1.0.7
homepage: https://github.com/insinfo/essential_components
authors:
- Isaque Neves <[email protected]>
Expand All @@ -12,32 +12,29 @@ environment:
dependencies:
angular: ^5.3.1
angular_components: ^0.13.0+1
angular_router: ^2.0.0-alpha+19
http: ^0.12.0+2
stream_transform: ^0.0.19
sass_builder: ^2.1.3
angular_router: ^2.0.0-alpha+21
http: ^0.12.0+4
stream_transform: ^1.1.0
js: ^0.6.1+1
money: ^0.2.1
decimal: ^0.3.4
decimal: ^0.3.5
c3: ^0.1.0
dio: ^3.0.3
dio: ^3.0.8
highlight: ^0.5.0
sass_builder: ^2.1.2

# essential_components: 0.1.45
essential_components:
path: ../

dev_dependencies:
angular_test: ^2.3.0
build_runner: ^1.7.2
build_test: ^0.10.9+1
build_web_compilers: ^2.7.1
pedantic: ^1.8.0
test: ^1.6.0




dev_dependencies:
angular_test: any
build_runner: ^1.7.3
build_test: ^0.10.12
build_web_compilers: ^2.9.0
pedantic: ^1.9.0
test: any

# name: example
# description: A web app that uses AngularDart Components
# version: 1.0.1
Expand Down
6 changes: 3 additions & 3 deletions example/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Roboto+Mono">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Google+Sans:400,500,700">

<!-- Global stylesheets-->
<link rel="stylesheet" href="theme.css">
<!-- Global stylesheets--
<link href="packages/essential_components/css/icomoon.css" rel="stylesheet" type="text/css">
<link href="packages/essential_components/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="packages/essential_components/css/bootstrap_limitless.min.css" rel="stylesheet" type="text/css">
<link href="packages/essential_components/css/layout.min.css" rel="stylesheet" type="text/css">
<link href="packages/essential_components/css/components.min.css" rel="stylesheet" type="text/css">
<link href="packages/essential_components/css/colors.min.css" rel="stylesheet" type="text/css">
<link href="packages/essential_components/css/fix.css" rel="stylesheet" type="text/css">
<!--/global stylesheets -->
--/global stylesheets -->

<!-- <link href="//www.riodasostras.rj.gov.br/cdn/Vendor/limitless/2.0.1/bs4/css/icons/icomoon/styles.css" rel="stylesheet"
type="text/css">
Expand Down
9 changes: 9 additions & 0 deletions example/web/theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//@import "package:bootstrap_sass/scss/bootstrap";

@import 'package:essential_components/scss/icomoon.scss';
@import 'package:essential_components/scss/bootstrap.scss';
@import 'package:essential_components/scss/bootstrap_limitless.scss';
@import 'package:essential_components/scss/layout.scss';
@import 'package:essential_components/scss/components.scss';
@import 'package:essential_components/scss/colors.scss';
@import 'package:essential_components/scss/fix.scss';
1 change: 0 additions & 1 deletion lib/css/bootstrap.min.css

This file was deleted.

1 change: 0 additions & 1 deletion lib/css/bootstrap_limitless.min.css

This file was deleted.

1 change: 0 additions & 1 deletion lib/css/colors.min.css

This file was deleted.

1 change: 0 additions & 1 deletion lib/css/components.min.css

This file was deleted.

266 changes: 0 additions & 266 deletions lib/css/fix.css

This file was deleted.

Loading

0 comments on commit a04af75

Please sign in to comment.