mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 22:16:00 -03:30
SUIT-ify less and fix bottom padding for about modal
This commit is contained in:
committed by
Matthew Jones
parent
205e52cbe8
commit
ef87d35901
@@ -3,56 +3,58 @@
|
|||||||
|
|
||||||
|
|
||||||
.About-ansibleVersion,
|
.About-ansibleVersion,
|
||||||
.About-cowsay--code {
|
.About-cowsayCode {
|
||||||
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
.About-ansibleVersion {
|
.About-cowsayContainer {
|
||||||
color: @default-data-txt;
|
width: 340px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
.About-cowsayCode {
|
||||||
|
background-color: @default-bg;
|
||||||
|
padding-left: 30px;
|
||||||
|
border-style: none;
|
||||||
|
max-width: 340px;
|
||||||
|
padding-left: 30px;
|
||||||
|
}
|
||||||
|
.About-modalHeader {
|
||||||
|
border: none;
|
||||||
|
padding-bottom: 0px;
|
||||||
|
}
|
||||||
|
.About-modalDialog {
|
||||||
|
max-width: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.About-cowsay--container{
|
.About-modalBody {
|
||||||
width: 340px;
|
padding-top: 0px;
|
||||||
margin: 0 auto;
|
padding-bottom: 0px;
|
||||||
}
|
}
|
||||||
.About-cowsay--code{
|
.About-brandImg {
|
||||||
background-color: @default-bg;
|
|
||||||
padding-left: 30px;
|
|
||||||
border-style: none;
|
|
||||||
max-width: 340px;
|
|
||||||
padding-left: 30px;
|
|
||||||
}
|
|
||||||
.About .modal-header{
|
|
||||||
border: none;
|
|
||||||
padding-bottom: 0px;
|
|
||||||
}
|
|
||||||
.About .modal-dialog{
|
|
||||||
max-width: 500px;
|
|
||||||
}
|
|
||||||
.About .modal-body{
|
|
||||||
padding-top: 0px;
|
|
||||||
}
|
|
||||||
.About-brand--redhat{
|
|
||||||
float: left;
|
float: left;
|
||||||
width: 112px;
|
width: 112px;
|
||||||
padding-top: 13px;
|
padding-top: 13px;
|
||||||
}
|
}
|
||||||
.About-brand--ansible{
|
|
||||||
max-width: 120px;
|
.About-close {
|
||||||
margin: 0 auto;
|
position: absolute;
|
||||||
|
top: 15px;
|
||||||
|
right: 15px;
|
||||||
|
z-index: 10;
|
||||||
}
|
}
|
||||||
.About-close{
|
|
||||||
position: absolute;
|
.About-modalFooter {
|
||||||
top: 15px;
|
clear: both;
|
||||||
right: 15px;
|
|
||||||
z-index: 10;
|
|
||||||
}
|
}
|
||||||
.About p{
|
|
||||||
color: @default-interface-txt;
|
.About-footerText {
|
||||||
|
text-align: right;
|
||||||
|
color: @default-interface-txt;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
.About-modal--footer {
|
|
||||||
clear: both;
|
.About-ansibleVersion {
|
||||||
|
color: @default-data-txt;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
<div class="About modal fade" id="about-modal">
|
<div class="About modal fade" id="about-modal">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog About-modalDialog">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header About-modalHeader">
|
||||||
<button data-dismiss="modal" type="button" class="close About-close">
|
<button data-dismiss="modal" type="button" class="close About-close">
|
||||||
<span class="fa fa-times-circle"></span>
|
<span class="fa fa-times-circle"></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body About-modalBody">
|
||||||
<div class="About-cowsay--container">
|
<div class="About-cowsayContainer">
|
||||||
<!-- Don't indent this properly, you'll break the cow -->
|
<!-- Don't indent this properly, you'll break the cow -->
|
||||||
<pre class="About-cowsay--code">
|
<pre class="About-cowsayCode">
|
||||||
_______________
|
_______________
|
||||||
< Tower {{version}} >
|
< Tower {{version}} >
|
||||||
---------------
|
---------------
|
||||||
@@ -20,9 +20,9 @@
|
|||||||
|| ||
|
|| ||
|
||||||
</pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="About-modal--footer">
|
<div class="About-modalFooter">
|
||||||
<img class="About-brand--redhat img-responsive" src="/static/assets/tower-logo-login.svg" />
|
<img class="About-brandImg img-responsive" src="/static/assets/tower-logo-login.svg" />
|
||||||
<p class="text-right">
|
<p class="About-footerText">
|
||||||
<span class="About-ansibleVersion">
|
<span class="About-ansibleVersion">
|
||||||
Ansible {{ ansible_version }}
|
Ansible {{ ansible_version }}
|
||||||
</span> <br>
|
</span> <br>
|
||||||
|
|||||||
Reference in New Issue
Block a user