Modified the HTML code to show a more friendly environment
This commit is contained in:
parent
0c1eaf3a31
commit
c16b10236e
|
@ -35,78 +35,45 @@ if (empty($_POST)) {
|
||||||
exit('
|
exit('
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<link rel="stylesheet" type="text/css" href="./style.css">
|
||||||
<link rel="stylesheet" type="text/css" href="./style.css">
|
<title>Mattermost - LDAP Authorization</title>
|
||||||
<title>Authorisation Mattermost</title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"
|
||||||
|
integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
<center>
|
<body>
|
||||||
<table background="images/login.png" border="0" width="729" height="343" cellspacing="1" cellpadding="4">
|
<div id="form-wrapper" style="text-align: center;">
|
||||||
<tr>
|
<div id="form_credentials">
|
||||||
<td width="40%"> </td>
|
<h1>LDAP Authentication</h1>
|
||||||
|
<div id="form_icon">
|
||||||
<td width="60%">
|
<img src="./auth_icon.png" alt="authentication icon" >
|
||||||
<table border="0" width="100%">
|
</div>
|
||||||
|
<br>
|
||||||
|
<h2>Authorize Mattermost to get the following data:</h2>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<strong>Full Name</strong><br/>
|
||||||
|
<strong>E-mail</strong><br/>
|
||||||
|
For the user <strong>' . $_SESSION['uid'] . '</strong><br/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<br>
|
||||||
|
|
||||||
<tr>
|
<form method="POST">
|
||||||
<td align="center">
|
<input type="submit" value="Authorize" name="authorized" id="input_accept" class="input_field">
|
||||||
<div class="LoginTitle">Mattermost desires access to your LDAP data:</div>
|
<input type="submit" value="Deny" name="authorized" id="input_deny" class="input_field">
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
<form method="post">
|
</div>
|
||||||
|
</body>
|
||||||
<table border="0" width="90%" cellpadding="1">
|
|
||||||
<tr>
|
|
||||||
<td colspan="2" align="left">
|
|
||||||
|
|
||||||
<div class="messageLogin" align="center">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="center" width="100%" class="LoginUsername">
|
|
||||||
Login as : <b>' . $_SESSION['uid'] . ' </b>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="left" width="100%" class="LoginUsername">
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
Requested Data : <br/>
|
|
||||||
-> Username,<br/>
|
|
||||||
-> Full Name,<br/>
|
|
||||||
-> Email
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr><td colspan="2"> </td></tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="2" align="center"> <input type="submit" class="GreenButton" name="authorized" value="Authorize" >
|
|
||||||
<input type="submit" class="GreenButton" name="authorized" value="Deny" > </td>
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
|
|
||||||
</table>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</center>
|
|
||||||
</body>
|
|
||||||
</html>
|
</html>
|
||||||
');
|
');
|
||||||
}
|
}
|
||||||
|
|
||||||
// print the authorization code if the user has authorized your client
|
// print the authorization code if the user has authorized your client
|
||||||
|
@ -122,4 +89,4 @@ if ($is_authorized)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send message in case of error
|
// Send message in case of error
|
||||||
$response->send();
|
$response->send();
|
||||||
|
|
|
@ -1,77 +0,0 @@
|
||||||
<?php
|
|
||||||
session_start();
|
|
||||||
/**
|
|
||||||
* @author Denis CLAVIER <clavierd at gmail dot com>
|
|
||||||
*/
|
|
||||||
|
|
||||||
// include our LDAP object
|
|
||||||
require_once __DIR__.'/LDAP/LDAP.php';
|
|
||||||
require_once __DIR__.'/LDAP/config_ldap.php';
|
|
||||||
|
|
||||||
|
|
||||||
// Verify all fields have been filled
|
|
||||||
if (empty($_POST['user']) || empty($_POST['password']))
|
|
||||||
{
|
|
||||||
echo 'Please fill in your Username and Password<br /><br />';
|
|
||||||
echo 'Click <a href="./index.php">here</a> to come back to login page';
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// Check received data length (to prevent code injection)
|
|
||||||
if (strlen($_POST['user']) > 15)
|
|
||||||
{
|
|
||||||
echo 'Username has incorrect format ... Please try again<br /><br />';
|
|
||||||
echo 'Click <a href="./index.php">here</a> to come back to login page';
|
|
||||||
}
|
|
||||||
elseif (strlen($_POST['password']) > 50 || strlen($_POST['password']) <= 7)
|
|
||||||
{
|
|
||||||
echo 'Password has incorrect format ... Please try again<br /><br />';
|
|
||||||
echo 'Click <a href="./index.php">here</a> to come back to login page';
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// Remove every html tag and useless space on username (to prevent XSS)
|
|
||||||
$user=strip_tags(trim($_POST['user']));
|
|
||||||
|
|
||||||
$user=$_POST['user'];
|
|
||||||
$password=$_POST['password'];
|
|
||||||
|
|
||||||
// Open a LDAP connection
|
|
||||||
$ldap = new LDAP($ldap_host,$ldap_port,$ldap_version);
|
|
||||||
|
|
||||||
// Check user credential on LDAP
|
|
||||||
try{
|
|
||||||
$authenticated = $ldap->checkLogin($user,$password,$ldap_search_attribute,$ldap_filter,$ldap_base_dn,$ldap_bind_dn,$ldap_bind_pass);
|
|
||||||
}
|
|
||||||
catch (Exception $e)
|
|
||||||
{
|
|
||||||
$resp = json_encode(array("error" => "Impossible to get data", "message" => $e->getMessage()));
|
|
||||||
$authenticated = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// If user is authenticated
|
|
||||||
if ($authenticated)
|
|
||||||
{
|
|
||||||
$_SESSION['uid']=$user;
|
|
||||||
|
|
||||||
// If user came here with an autorize request, redirect him to the authorize page. Else prompt a simple message.
|
|
||||||
if (isset($_SESSION['auth_page']))
|
|
||||||
{
|
|
||||||
$auth_page=$_SESSION['auth_page'];
|
|
||||||
header('Location: ' . $auth_page);
|
|
||||||
exit();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
echo "Congratulation you are authenticated ! <br /><br /> However there is nothing to do here ...";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// check login on LDAP has failed. Login and password were invalid or LDAP is unreachable
|
|
||||||
else
|
|
||||||
{
|
|
||||||
echo "Authentication failed ... Check your username and password.<br />If error persist contact your administrator.<br /><br />";
|
|
||||||
echo 'Click <a href="./index.php">here</a> to come back to login page';
|
|
||||||
echo '<br /><br /><br />' . $resp;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<link rel="stylesheet" type="text/css" href="./style.css">
|
||||||
|
<title>LDAP Connection Interface</title>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"
|
||||||
|
integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400" rel="stylesheet">
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="form-wrapper" style="text-align: center;">
|
||||||
|
<div id="form_credentials">
|
||||||
|
<h1>LDAP Authentication</h1>
|
||||||
|
<div id="form_icon_prompt">
|
||||||
|
<img src="./prompt_icon.png" alt="authentication icon" >
|
||||||
|
</div>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<form method="POST">
|
||||||
|
<div class="input_container">
|
||||||
|
<i class="fas fa-user"></i>
|
||||||
|
<input placeholder="Username" type="text" name="user" id="field_username" class="input_field">
|
||||||
|
</div><br>
|
||||||
|
|
||||||
|
<div class="input_container">
|
||||||
|
<i class="fas fa-lock"></i>
|
||||||
|
<input placeholder="Password" type="password" name="password" id="field_password" class="input_field">
|
||||||
|
</div><br>
|
||||||
|
|
||||||
|
<div class="grt">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input type="submit" value="Login" name="login" id="input_login" class="input_field">
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
151
oauth/index.php
151
oauth/index.php
|
@ -1,72 +1,91 @@
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
?>
|
/**
|
||||||
|
* @author Denis CLAVIER <clavierd at gmail dot com>
|
||||||
|
* A modified verion by dimst23
|
||||||
|
*/
|
||||||
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<link rel="stylesheet" type="text/css" href="./style.css">
|
|
||||||
<title>LDAP Connection Interface</title>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
// include our LDAP object
|
||||||
<center>
|
require_once __DIR__.'/LDAP/LDAP.php';
|
||||||
<table background="images/login.png" border="0" width="733" height="348" cellspacing="1" cellpadding="4">
|
require_once __DIR__.'/LDAP/config_ldap.php';
|
||||||
<tr>
|
|
||||||
<td width="40%"> </td>
|
|
||||||
|
|
||||||
<td width="60%">
|
|
||||||
<table border="0" width="100%">
|
|
||||||
|
|
||||||
<tr>
|
$prompt_template = new DOMDocument();
|
||||||
<td align="center">
|
$prompt_template->loadHTMLFile('form_prompt.html');
|
||||||
<div class="LoginTitle">LDAP Authentification</div>
|
|
||||||
|
|
||||||
|
|
||||||
<form method="post" action="connexion.php">
|
|
||||||
|
function messageShow($html_template, $message = 'No Msg') {
|
||||||
<table border="0" width="90%" cellpadding="1">
|
$modification_node = $html_template->getElementsByTagName('div')->item(5);
|
||||||
<tr>
|
$page_fragment = $html_template->createDocumentFragment();
|
||||||
<td colspan="2" align="left">
|
$page_fragment->appendXML($message);
|
||||||
|
|
||||||
<div class="messageLogin" align="center">
|
$modification_node->appendChild($page_fragment);
|
||||||
|
|
||||||
</div>
|
echo $html_template->saveHTML();
|
||||||
|
}
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
// Verify all fields have been filled
|
||||||
<td align="left" width="40%" class="LoginUsername">
|
if (empty($_POST['user']) || empty($_POST['password']))
|
||||||
Username:
|
{
|
||||||
</td>
|
if (empty($_POST['user'])) {
|
||||||
<td width="60%">
|
messageShow($prompt_template, 'Username field can\'t be empty.');
|
||||||
<input type="text" name="user" size="25" value="" >
|
} else {
|
||||||
</td>
|
messageShow($prompt_template, 'Password field can\'t be empty.');
|
||||||
</tr>
|
}
|
||||||
<tr>
|
}
|
||||||
<td align="left" width="40%" class="LoginUsername">
|
else
|
||||||
Password:
|
{
|
||||||
</td>
|
// Check received data length (to prevent code injection)
|
||||||
<td width="60%">
|
if (strlen($_POST['user']) > 15)
|
||||||
<input type="password" name="password" size="25" value="" >
|
{
|
||||||
</td>
|
messageShow($prompt_template, 'Username has incorrect format ... Please try again');
|
||||||
</tr>
|
}
|
||||||
<tr><td colspan="2"> </td></tr>
|
elseif (strlen($_POST['password']) > 50 || strlen($_POST['password']) <= 7)
|
||||||
<tr>
|
{
|
||||||
<td colspan="2" align="center"> <input type="submit" class="GreenButton" name="login" value=" Connect " > </td>
|
messageShow($prompt_template, 'Password has incorrect format ... Please try again');
|
||||||
</tr>
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
</table>
|
// Remove every html tag and useless space on username (to prevent XSS)
|
||||||
</form>
|
$user=strip_tags(trim($_POST['user']));
|
||||||
|
|
||||||
</td>
|
$user=$_POST['user'];
|
||||||
</tr>
|
$password=$_POST['password'];
|
||||||
</table>
|
|
||||||
|
// Open a LDAP connection
|
||||||
</td>
|
$ldap = new LDAP($ldap_host,$ldap_port,$ldap_version);
|
||||||
</tr>
|
|
||||||
</table>
|
// Check user credential on LDAP
|
||||||
</center>
|
try{
|
||||||
</body>
|
$authenticated = $ldap->checkLogin($user,$password,$ldap_search_attribute,$ldap_filter,$ldap_base_dn,$ldap_bind_dn,$ldap_bind_pass);
|
||||||
</html>
|
}
|
||||||
|
catch (Exception $e)
|
||||||
|
{
|
||||||
|
$authenticated = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// If user is authenticated
|
||||||
|
if ($authenticated)
|
||||||
|
{
|
||||||
|
$_SESSION['uid']=$user;
|
||||||
|
|
||||||
|
// If user came here with an autorize request, redirect him to the authorize page. Else prompt a simple message.
|
||||||
|
if (isset($_SESSION['auth_page']))
|
||||||
|
{
|
||||||
|
$auth_page=$_SESSION['auth_page'];
|
||||||
|
header('Location: ' . $auth_page);
|
||||||
|
exit();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
messageShow($prompt_template, 'Congratulation you are authenticated ! <br /><br /> However there is nothing to do here ...');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// check login on LDAP has failed. Login and password were invalid or LDAP is unreachable
|
||||||
|
else
|
||||||
|
{
|
||||||
|
messageShow($prompt_template, 'Authentication failed ... Check your username and password.<br />If the error persists contact your administrator.<br /><br />');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
252
oauth/style.css
252
oauth/style.css
|
@ -1,57 +1,195 @@
|
||||||
html
|
:root {
|
||||||
{
|
--form_bg: #ffffff;
|
||||||
height: 100%;
|
--input_bg: #E5E5E5;
|
||||||
margin: 0;
|
--input_hover:#eaeaea;
|
||||||
}
|
--accept_bg: #1FCC44;
|
||||||
|
--accept_hover: #40e263;
|
||||||
body {
|
--deny_bg: #cc1f1f;
|
||||||
font-family:"Tahoma","Arial", serif;
|
--deny_hover: #e24040;
|
||||||
font-size:8px;
|
--icon_color:#6b6b6b;
|
||||||
font-weight: normal;
|
}
|
||||||
color: black;
|
|
||||||
text-decoration:none;
|
html {
|
||||||
background-color: white;
|
height: 100%;
|
||||||
height: 100%;
|
margin: 0;
|
||||||
margin: 0;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
/* Overide browser defaults */
|
||||||
.LoginTitle {
|
* {
|
||||||
color: #000000;
|
padding: 0;
|
||||||
font-family : "Tahoma","Arial", serif;
|
margin: 0;
|
||||||
font-size : 18pt;
|
box-sizing: border-box;
|
||||||
font-weight: normal;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.LoginUsername {
|
|
||||||
color: #000000;
|
/* Style the form wrapper */
|
||||||
font-family : "Tahoma","Arial", serif;
|
body {
|
||||||
font-size : 14pt;
|
/* Set custom font */
|
||||||
font-weight: normal;
|
font-family: 'Roboto', sans-serif;
|
||||||
}
|
margin: auto;
|
||||||
|
text-align: center;
|
||||||
.LoginComment {
|
}
|
||||||
color: #000000;
|
|
||||||
font-family : "Tahoma","Arial", serif;
|
table {
|
||||||
font-size : 8pt;
|
margin-left: auto;
|
||||||
font-weight: normal;
|
margin-right: auto;
|
||||||
}
|
font-size: larger;
|
||||||
|
border-style: solid;
|
||||||
.GreenButton
|
border-width: 2px;
|
||||||
{
|
margin-top: 5%;
|
||||||
color: white;
|
}
|
||||||
font-family : "Tahoma", "Arial", serif;
|
|
||||||
font-size : 10pt;
|
|
||||||
font-weight: normal;
|
|
||||||
height: 28px;
|
|
||||||
background: transparent url(images/ButtonGreen.png) repeat-x left top;
|
|
||||||
border: solid 1px #50B4AE;
|
/* Display the image centered on the left */
|
||||||
font-weight: bold;
|
#form_icon,
|
||||||
}
|
#form_icon_prompt {
|
||||||
|
/* Center the image */
|
||||||
.messageLogin {
|
display: flex;
|
||||||
color: Yellow;
|
justify-content: center;
|
||||||
font-family : "Tahoma", "Arial", serif;
|
align-items: center;
|
||||||
font-size : 8pt;
|
margin-top: 5%;
|
||||||
font-weight: bold;
|
}
|
||||||
}
|
|
||||||
|
#form_icon img {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 450px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#form_icon_prompt img {
|
||||||
|
width: 50%;
|
||||||
|
max-width: 350px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Style the form_credentials */
|
||||||
|
#form_credentials {
|
||||||
|
/* Center the content */
|
||||||
|
display: inline-block;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
transform: translate(-50%, 25%);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Style input fields */
|
||||||
|
.input_container {
|
||||||
|
background-color: var(--input_bg);
|
||||||
|
|
||||||
|
/* Vertically align icon and text inside the div*/
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input_container:hover {
|
||||||
|
background-color: var(--input_hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
.input_container,
|
||||||
|
#input_accept,
|
||||||
|
#input_deny,
|
||||||
|
#input_login {
|
||||||
|
height: 60px;
|
||||||
|
|
||||||
|
/* Make the borders more round */
|
||||||
|
border-radius: 12px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.input_field {
|
||||||
|
/* Customize the input tag with lighter font and some padding*/
|
||||||
|
color: var(--icon_color);
|
||||||
|
background-color: inherit;
|
||||||
|
width: 95%;
|
||||||
|
border: none;
|
||||||
|
font-size: 1.3rem;
|
||||||
|
font-weight: 400;
|
||||||
|
padding-left: 6.5%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input_field:hover,
|
||||||
|
.input_field:focus {
|
||||||
|
/* Remove the outline */
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input_accept,
|
||||||
|
#input_deny,
|
||||||
|
#input_login {
|
||||||
|
/* Submit button has a different color and different padding */
|
||||||
|
background-color: var(--accept_bg);
|
||||||
|
padding-left: 0;
|
||||||
|
font-weight: bold;
|
||||||
|
color: white;
|
||||||
|
text-transform: capitalize;
|
||||||
|
text-align: center;
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: 25%;
|
||||||
|
margin-right: 2%;
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input_accept:hover,
|
||||||
|
#input_deny:hover,
|
||||||
|
#input_login:hover {
|
||||||
|
/* Simple color transition on hover */
|
||||||
|
transition: background-color, 500ms;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input_accept,
|
||||||
|
#input_deny {
|
||||||
|
width: 45%;
|
||||||
|
margin-top: 6%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#input_deny {
|
||||||
|
background-color: var(--deny_bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
#input_deny:hover {
|
||||||
|
background-color: var(--deny_hover);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* General page styling */
|
||||||
|
h1,
|
||||||
|
span {
|
||||||
|
text-align: center;
|
||||||
|
padding-bottom: 2%;
|
||||||
|
padding-top: 0%;
|
||||||
|
font-weight: bolder;
|
||||||
|
font-size: 300%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
i {
|
||||||
|
color: var(--icon_color);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Make it responsive */
|
||||||
|
@media screen and (max-width:768px) {
|
||||||
|
|
||||||
|
/* Make the layout a single column and add some margin to the wrapper */
|
||||||
|
#form_wrapper {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* On small screens we don't display the image */
|
||||||
|
#form_icon {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue