diff --git a/app/styles/_core.less b/app/styles/_core.less index a47e39742b..c0038963b7 100644 --- a/app/styles/_core.less +++ b/app/styles/_core.less @@ -468,15 +468,11 @@ label.checkbox { } .osc-form { - .template-name { - text-align: right; - span.fa { - font-size: 40px; - } - @media (min-width: @screen-sm-min) { - span.fa { - font-size: 100px; - } + .icon { + text-align: center; + custom-icon { + font-size: 100px; + line-height: 1; } } span.fa.visible-xs-inline { diff --git a/app/views/catalog/_image.html b/app/views/catalog/_image.html index 427fa9479e..b500d0f0d3 100644 --- a/app/views/catalog/_image.html +++ b/app/views/catalog/_image.html @@ -3,7 +3,7 @@
- +

{{imageStream | displayName}}

diff --git a/app/views/create/fromimage.html b/app/views/create/fromimage.html index 5d7c4171e5..90d26a62a0 100644 --- a/app/views/create/fromimage.html +++ b/app/views/create/fromimage.html @@ -9,13 +9,16 @@
-
-
+ +
+ {{ emptyMessage }} +
+
-
diff --git a/app/views/newfromtemplate.html b/app/views/newfromtemplate.html index 09c51ca576..b49040b44e 100644 --- a/app/views/newfromtemplate.html +++ b/app/views/newfromtemplate.html @@ -12,10 +12,13 @@
-
+
+ {{ emptyMessage }} +
+
- -
- {{ emptyMessage }} -
diff --git a/dist/scripts/templates.js b/dist/scripts/templates.js index a73fc677c4..f82db9aa92 100644 --- a/dist/scripts/templates.js +++ b/dist/scripts/templates.js @@ -3777,7 +3777,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
\n" + "
\n" + "
\n" + - "\n" + + "\n" + "

\n" + "{{imageStream | displayName}}\n" + "

\n" + @@ -4368,13 +4368,16 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
\n" + "
\n" + "
\n" + - "\n" + "
\n" + "
\n" + - "
\n" + + "\n" + + "
\n" + + "{{ emptyMessage }}\n" + + "
\n" + + "
\n" + "
\n" + - "
\n" + - "\n" + + "
\n" + + "\n" + "
\n" + "
\n" + "
\n" + @@ -4604,9 +4607,6 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "Cancel\n" + "
\n" + "\n" + - "
\n" + - "{{ emptyMessage }}\n" + - "
\n" + "\n" + "
\n" + "
\n" + @@ -9530,10 +9530,13 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
\n" + "
\n" + "\n" + - "
\n" + + "
\n" + + "{{ emptyMessage }}\n" + + "
\n" + + "
\n" + "
\n" + - "
\n" + - "\n" + + "
\n" + + "\n" + "
\n" + "
\n" + "
\n" + @@ -9569,9 +9572,6 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
\n" + "
\n" + "
\n" + - "
\n" + - "{{ emptyMessage }}\n" + - "
\n" + "
\n" + "
\n" + "
\n" + diff --git a/dist/styles/main.css b/dist/styles/main.css index dc9abfb813..6636bc1648 100644 --- a/dist/styles/main.css +++ b/dist/styles/main.css @@ -3682,6 +3682,7 @@ code.probe-command{display:inline-block;line-height:1.3;margin-right:2px} .builds-block{margin-left:5px} .builds-block .builds{margin:0;overflow:hidden} .builds-block .builds .build{border:1px solid transparent;border-radius:5px;padding:5px;position:relative;margin:10px 0 0;text-align:left} +.empty-project .fa,.osc-form .icon,.service-table,.service-table thead tr th,.show-drag-and-drop-zone{text-align:center} @media (min-width:768px){.builds-block .builds .build.osc-object.osc-object-hover{cursor:pointer;border-color:rgba(0,168,225,.5)} .builds-block .builds .build.osc-object.osc-object-active{border-color:#00a8e1} } @@ -3750,7 +3751,7 @@ body{padding-right:0px!important} .nav-tabs>li>a:before{left:0!important} .nav-tabs,.tab-content{margin-bottom:20px;margin-top:20px} .empty-project{margin:10px auto;max-width:500px;padding:30px} -.empty-project .fa{width:16px;text-align:center} +.empty-project .fa{width:16px} .empty-project dd{margin-left:20px;margin-bottom:10px} .empty-state-message{margin:60px auto;max-width:600px;padding:0 20px} .empty-state-message .h2,.empty-state-message h2{line-height:1.4} @@ -3763,8 +3764,7 @@ body{padding-right:0px!important} @media (min-height:1024px){.empty-state-message{margin-top:200px} .empty-state-message .hero-icon{font-size:120px} } -.service-table{text-align:center;max-width:650px} -.service-table thead tr th{text-align:center} +.service-table{max-width:650px} @media (max-width:991px){.service-table{min-width:100%} } .build-config-summary .latest-build-status{margin-right:5px} @@ -3816,7 +3816,7 @@ body{padding-right:0px!important} label.checkbox{font-weight:400} .form-group .checkbox{margin-bottom:inherit} .drag-and-drop-zone{display:none} -.show-drag-and-drop-zone{border-style:dashed;display:block;border-color:#888;border-width:3px;background-color:rgba(255,255,255,.6);margin:-3px;text-align:center;vertical-align:middle} +.show-drag-and-drop-zone{border-style:dashed;display:block;border-color:#888;border-width:3px;background-color:rgba(255,255,255,.6);margin:-3px;vertical-align:middle} .show-drag-and-drop-zone p{position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);font-size:24px;font-weight:400;margin:0} .highlight-drag-and-drop-zone{border-color:#0099d3} .highlight-drag-and-drop-zone p{color:#0099d3} @@ -3833,10 +3833,7 @@ label.checkbox{font-weight:400} .lifecycle-hook{padding-bottom:20px} .lifecycle-hook:first-of-type{padding-top:20px} .lifecycle-hook .read-only-tag-image{padding-bottom:10px} -.osc-form .template-name{text-align:right} -.osc-form .template-name span.fa{font-size:40px} -@media (min-width:768px){.osc-form .template-name span.fa{font-size:100px} -} +.osc-form .icon custom-icon{font-size:100px;line-height:1} .osc-form span.fa.visible-xs-inline{margin-right:10px} .osc-form .flow{border-top:1px solid rgba(0,0,0,.15);display:table;margin-top:40px;width:100%} .osc-form .flow>.flow-block{display:inline-block}