diff --git a/dist/less/order-service.less b/dist/less/order-service.less index fd35204b..38650ace 100644 --- a/dist/less/order-service.less +++ b/dist/less/order-service.less @@ -75,6 +75,9 @@ .order-service-config { padding: 0 (@grid-gutter-width / 2); + @media (max-width: @screen-xs-max) { + position: relative; // so label.required:before are positioned correctly + } @media (min-width: @screen-sm-min) { margin-bottom: -(@grid-gutter-width / 2); margin-top: -(@grid-gutter-width / 2); @@ -85,9 +88,6 @@ _::-webkit-full-page-media, _:future, :root & { // only target Safari .scroll-shadows-vertical-with-covers(65%, 0.25); } - .form-horizontal .control-label { - padding-right: 0; - } } h3 { line-height: 1.4; diff --git a/dist/less/overlay-panel.less b/dist/less/overlay-panel.less index 5cc1f882..57d7cdd2 100644 --- a/dist/less/overlay-panel.less +++ b/dist/less/overlay-panel.less @@ -58,9 +58,7 @@ body.overlay-open { @media (min-width: @screen-sm-min) { min-height: 100%; padding: (@grid-gutter-width / 2) @grid-gutter-width (@grid-gutter-width / 2) (@grid-gutter-width / 2); - .form-horizontal .control-label { - padding-right: 0; - } + position: relative; // so label.required:before are positioned correctly .scroll-shadows-vertical-covers(); _::-webkit-full-page-media, _:future, :root & { // only target Safari background: none; diff --git a/dist/origin-web-catalogs.css b/dist/origin-web-catalogs.css index 48d32a3d..e50ec547 100644 --- a/dist/origin-web-catalogs.css +++ b/dist/origin-web-catalogs.css @@ -294,6 +294,11 @@ .order-service-config { padding: 0 20px; } +@media (max-width: 767px) { + .order-service-config { + position: relative; + } +} @media (min-width: 768px) { .order-service-config { margin-bottom: -20px; @@ -316,9 +321,6 @@ background-repeat: no-repeat; background-size: 100% 12px, 100% 12px, 100% 6px, 100% 6px; } - .order-service-config .form-horizontal .control-label { - padding-right: 0; - } } .order-service-config h3 { line-height: 1.4; @@ -481,15 +483,13 @@ body.overlay-open .landing-side-bar { .catalogs-overlay-panel .wizard-pf-main-form-contents { min-height: 100%; padding: 20px 40px 20px 20px; + position: relative; background-attachment: local; background-image: linear-gradient(#ffffff 30%, rgba(255, 255, 255, 0)), linear-gradient(rgba(255, 255, 255, 0), #ffffff 70%); background-position: 0 0, 0 100%; background-repeat: no-repeat; background-size: 100% 12px; } - .catalogs-overlay-panel .wizard-pf-main-form-contents .form-horizontal .control-label { - padding-right: 0; - } .catalogs-overlay-panel .wizard-pf-main-form-contents _::-webkit-full-page-media, .catalogs-overlay-panel .wizard-pf-main-form-contents _:future, :root .catalogs-overlay-panel .wizard-pf-main-form-contents { diff --git a/dist/origin-web-catalogs.js b/dist/origin-web-catalogs.js index aac21aaf..5eaa70c4 100644 --- a/dist/origin-web-catalogs.js +++ b/dist/origin-web-catalogs.js @@ -24,13 +24,13 @@ webpackJsonp([ 0, 1 ], [ function(e, t) { }, function(e, t) { e.exports = '\n\n'; }, function(e, t) { - e.exports = '
\n
\n
\n \n
\n \n \n {{$select.selected.name}}\n \n \n {{tag.name}}\n \n {{otherTag}},\n \n \n \n
\n
\n \n
\n \n
\n \n \x3c!-- Wait until users leave the field to avoid flashing errors as they type. --\x3e\n
\n
\n \n Application name is required.\n \n
\n
\n \n Application name consists of lower-case letters, numbers, and dashes. It must start with a letter and can\'t end with a -.\n \n
\n
\n \n Application name must be at least 2 characters.\n \n
\n
\n \n Application name can\'t be more than 24 characters.\n \n
\n
\n
\n
\n\n
\n \n
\n \n \n
\n \n Git repository is required.\n \n
\n
\n \n This might not be a valid Git URL. Check that it is the correct URL to a remote Git repository.\n \n
\n
\n
\n\n \x3c!--\n Only show the link for existing projects. It will be broken for new\n projects. Use class `invisible` when the project list is still loading\n so the dialog doesn\'t resize.\n --\x3e\n
\n
\n If you have a private Git repository or need to change application defaults, view\n advanced options.\n
\n
\n
\n
\n'; + e.exports = '
\n
\n
\n \n \n \n {{$select.selected.name}}\n \n \n {{tag.name}}\n \n {{otherTag}},\n \n \n \n
\n \n
\n \n
\n \n \x3c!-- Wait until users leave the field to avoid flashing errors as they type. --\x3e\n
\n
\n \n Application name is required.\n \n
\n
\n \n Application name consists of lower-case letters, numbers, and dashes. It must start with a letter and can\'t end with a -.\n \n
\n
\n \n Application name must be at least 2 characters.\n \n
\n
\n \n Application name can\'t be more than 24 characters.\n \n
\n
\n
\n
\n\n
\n \n
\n \n \n
\n \n Git repository is required.\n \n
\n
\n \n This might not be a valid Git URL. Check that it is the correct URL to a remote Git repository.\n \n
\n
\n
\n\n \x3c!--\n Only show the link for existing projects. It will be broken for new\n projects. Use class `invisible` when the project list is still loading\n so the dialog doesn\'t resize.\n --\x3e\n
\n If you have a private Git repository or need to change application defaults, view\n advanced options.\n
\n
\n
\n'; }, function(e, t) { e.exports = '
\n
\n

\n \n

\n

\n The application is being created\n

\n
\n
\n
\n

\n The application is being created\n

\n
\n
\n
\n
\n \n Success\n

\n \n {{$ctrl.name}} has been created in {{$ctrl.selectedProject.metadata.name}} successfully\n \n

\n
\n
\n
\n \n \n
\n
\n

\n Continue to your project to check the status of your application as it builds and deploys.\n

\n
\n
\n
\n \n Error\n

\n Order Failed\n

\n
\n
\n \n {{$ctrl.error.data.message | upperFirst}}\n \n \n An error occurred creating the application.\n \n
\n \x3c!-- TODO: Improve error message presentation --\x3e\n \n
\n\n'; }, function(e, t) { e.exports = '\n\n'; }, function(e, t) { - e.exports = '
\n
\n \n \x3c!-- TODO: add parameters --\x3e\n \x3c!--
--\x3e\n \x3c!-- --\x3e\n \x3c!--
--\x3e\n \x3c!-- --\x3e\n \x3c!--
--\x3e\n \x3c!--
--\x3e\n
\n
\n {{$ctrl.error}}\n
\n
\n'; + e.exports = '
\n
\n \n \x3c!-- TODO: add parameters --\x3e\n \x3c!--
--\x3e\n \x3c!-- --\x3e\n \x3c!--
--\x3e\n \x3c!-- --\x3e\n \x3c!--
--\x3e\n \x3c!--
--\x3e\n
\n
\n {{$ctrl.error}}\n
\n
\n'; }, function(e, t) { e.exports = '
\n
\n

Select a Plan

\n
\n \n
\n
\n
\n'; }, function(e, t) { @@ -793,7 +793,7 @@ webpackJsonp([ 0, 1 ], [ function(e, t) { }, function(e, t) { e.exports = '\n

{{$ctrl.saasTitle}}

\n
\n \n
\n
\n \n Show More\n Show Less\n \n
\n
\n'; }, function(e, t) { - e.exports = '\n
\n \n
\n \n \n {{$select.selected | displayName}}\n \n \n \n \n \n \n \n \n \n
\n
\n
\n\n\n
\n \n
\n \n
A unique name for the project.
\n
\n \n Name must have at least two characters.\n \n
\n
\n \n Project names may only contain lower-case letters, numbers, and dashes.\n They may not start or end with a dash.\n \n
\n
\n \n This name is already in use. Please choose a different name.\n \n
\n
\n
\n\n
\n \n
\n \n
\n
\n\n
\n \n
\n \n
\n
\n
\n'; + e.exports = '\n
\n \n \n \n {{$select.selected | displayName}}\n \n \n \n \n \n \n \n \n \n
\n
\n\n\n
\n \n
\n \n
A unique name for the project.
\n
\n \n Name must have at least two characters.\n \n
\n
\n \n Project names may only contain lower-case letters, numbers, and dashes.\n They may not start or end with a dash.\n \n
\n
\n \n This name is already in use. Please choose a different name.\n \n
\n
\n
\n\n
\n \n \n
\n\n
\n \n \n
\n
\n'; }, function(e, t) { e.exports = '
\n
\n
\n
\n
\n

Browse Catalog

\n\n \n\n \x3c!-- Do not show sub-category items for \'All\' or \'Other\' main categories --\x3e\n\n \n\n \x3c!-- Show catalog item for \'All\' and \'Other\' main categories --\x3e\n\n
\n
There are no catalog items.
\n \n
\n \n
\n
\n \n
\n
\n {{item.name}}\n
\n
\n
\n
\n
\n'; }, function(e, t, n) { @@ -1255,7 +1255,7 @@ webpackJsonp([ 0, 1 ], [ function(e, t) { "use strict"; t.__esModule = !0; var i = n(1), r = n(2), a = n(0), s = function() { - function e(e, t, n, r, s, o, c, l, d, p, m, h) { + function e(e, t, n, r, s, o, c, l, d, p, h, m) { var g = this; this.ctrl = this, this.showNewProjectPanel = !1, this.showEditProjectPanel = !1, this.alerts = [], this.projects = [], this.watches = [], this.maxDisplayProjects = 5, @@ -1286,7 +1286,7 @@ webpackJsonp([ 0, 1 ], [ function(e, t) { g.ctrl.showEditProjectPanel = !1, g.hideModalBackdrop(); }, this.$element = e, this.$filter = t, this.$rootScope = n, this.$scope = r, this.AlertMessageService = s, this.AuthService = o, this.Catalog = c, this.Constants = l, this.DataService = d, - this.Logger = p, this.ProjectsService = m, this.RecentlyViewed = h; + this.Logger = p, this.ProjectsService = h, this.RecentlyViewed = m; } return e.prototype.$onInit = function() { var e = this; @@ -1477,8 +1477,8 @@ webpackJsonp([ 0, 1 ], [ function(e, t) { t.__esModule = !0; var i = n(1); n(4), n(22); - var r = n(23), a = n(3), s = n(3), o = n(24), c = n(13), l = n(25), d = n(14), p = n(15), m = n(16), h = n(17), g = n(18), u = n(19), f = n(20), v = n(21), y = n(26); - t.webCatalog = "webCatalog", i.module(t.webCatalog, [ "patternfly", "ngAnimate", "ui.bootstrap", "angularMoment", "ui.select" ]).service("BuilderAppService", o.BuilderAppService).service("Catalog", l.CatalogService).service("RecentlyViewedServiceItems", y.RecentlyViewedServiceItems).filter("projectUrl", r.projectUrlFilter).filter("applicationHasDeployment", a.applicationHasDeploymentFilter).filter("applicationHasDeploymentConfig", s.applicationHasDeploymentConfigFilter).component("catalogSearch", c.catalogSearch).component("createFromBuilder", d.createFromBuilder).component("landingPage", p.landingPage).component("orderService", m.orderService).component("overlayPanel", h.overlayPanel).component("projectsSummary", g.projectsSummary).component("saasList", u.saasList).component("selectProject", f.selectProject).component("servicesView", v.servicesView).run([ "$templateCache", function(e) { + var r = n(23), a = n(3), s = n(3), o = n(24), c = n(13), l = n(25), d = n(14), p = n(15), h = n(16), m = n(17), g = n(18), u = n(19), f = n(20), v = n(21), y = n(26); + t.webCatalog = "webCatalog", i.module(t.webCatalog, [ "patternfly", "ngAnimate", "ui.bootstrap", "angularMoment", "ui.select" ]).service("BuilderAppService", o.BuilderAppService).service("Catalog", l.CatalogService).service("RecentlyViewedServiceItems", y.RecentlyViewedServiceItems).filter("projectUrl", r.projectUrlFilter).filter("applicationHasDeployment", a.applicationHasDeploymentFilter).filter("applicationHasDeploymentConfig", s.applicationHasDeploymentConfigFilter).component("catalogSearch", c.catalogSearch).component("createFromBuilder", d.createFromBuilder).component("landingPage", p.landingPage).component("orderService", h.orderService).component("overlayPanel", m.overlayPanel).component("projectsSummary", g.projectsSummary).component("saasList", u.saasList).component("selectProject", f.selectProject).component("servicesView", v.servicesView).run([ "$templateCache", function(e) { e.put("catalog-search/catalog-search-result.html", n(5)), e.put("create-from-builder/create-from-builder-configure.html", n(7)), e.put("create-from-builder/create-from-builder-bind.html", n(6)), e.put("create-from-builder/create-from-builder-results.html", n(8)), e.put("order-service/order-service-plans.html", n(11)), e.put("order-service/order-service-configure.html", n(10)), diff --git a/src/components/create-from-builder/create-from-builder-configure.html b/src/components/create-from-builder/create-from-builder-configure.html index 1d80d843..8ce4819f 100644 --- a/src/components/create-from-builder/create-from-builder-configure.html +++ b/src/components/create-from-builder/create-from-builder-configure.html @@ -1,25 +1,23 @@
-
+
- -
- - - {{$select.selected.name}} - - - {{tag.name}} - - {{otherTag}}, - - - -
+ + + + {{$select.selected.name}} + + + {{tag.name}} + + {{otherTag}}, + + +
- -
+ +
- -
+ +
-
- If you have a private Git repository or need to change application defaults, view - advanced options. -
+ If you have a private Git repository or need to change application defaults, view + advanced options.
diff --git a/src/components/order-service/order-service-configure.html b/src/components/order-service/order-service-configure.html index 9d15b971..6623aff7 100644 --- a/src/components/order-service/order-service-configure.html +++ b/src/components/order-service/order-service-configure.html @@ -1,5 +1,5 @@
-
+ @@ -9,7 +9,7 @@
-
+
{{$ctrl.error}}
diff --git a/src/components/select-project/selectProject.html b/src/components/select-project/selectProject.html index a62c2556..12a6b12c 100644 --- a/src/components/select-project/selectProject.html +++ b/src/components/select-project/selectProject.html @@ -1,28 +1,26 @@ -
- -
- - - {{$select.selected | displayName}} - - - - - - - - - -
-
+
+ + + + {{$select.selected | displayName}} + + + + + + + + + +
- -
+ +
- -
- -
+ +
- -
- -
+ +
diff --git a/src/styles/order-service.less b/src/styles/order-service.less index fd35204b..38650ace 100644 --- a/src/styles/order-service.less +++ b/src/styles/order-service.less @@ -75,6 +75,9 @@ .order-service-config { padding: 0 (@grid-gutter-width / 2); + @media (max-width: @screen-xs-max) { + position: relative; // so label.required:before are positioned correctly + } @media (min-width: @screen-sm-min) { margin-bottom: -(@grid-gutter-width / 2); margin-top: -(@grid-gutter-width / 2); @@ -85,9 +88,6 @@ _::-webkit-full-page-media, _:future, :root & { // only target Safari .scroll-shadows-vertical-with-covers(65%, 0.25); } - .form-horizontal .control-label { - padding-right: 0; - } } h3 { line-height: 1.4; diff --git a/src/styles/overlay-panel.less b/src/styles/overlay-panel.less index 5cc1f882..57d7cdd2 100644 --- a/src/styles/overlay-panel.less +++ b/src/styles/overlay-panel.less @@ -58,9 +58,7 @@ body.overlay-open { @media (min-width: @screen-sm-min) { min-height: 100%; padding: (@grid-gutter-width / 2) @grid-gutter-width (@grid-gutter-width / 2) (@grid-gutter-width / 2); - .form-horizontal .control-label { - padding-right: 0; - } + position: relative; // so label.required:before are positioned correctly .scroll-shadows-vertical-covers(); _::-webkit-full-page-media, _:future, :root & { // only target Safari background: none;