change a tag outline style

This commit is contained in:
chiu 2020-04-16 20:55:09 +08:00
parent 5b5e7a1535
commit 726d9c5718
1 changed files with 7 additions and 2 deletions

View File

@ -1,8 +1,13 @@
module SsoLoginBox::LoginTag module SsoLoginBox::LoginTag
def self.show def self.show
"<div class=\"pull-right\"> "<style type=\"text/css\">
a.sso_login_button:focus {
outline: 0 !important;
}
</style>
<div class=\"pull-right\">
<button class=\"login-btn\"> <button class=\"login-btn\">
<a href=\"https://api.ntnu.edu.tw/NtnuCloud/auth?response_type=#{ENV['RESPONSE_TYPE']}&client_id=#{ENV['APP_ID']}&redirect_uri=#{ENV['REDIRECT_URI']}\"> <a class=\"sso_login_button\" href=\"https://api.ntnu.edu.tw/NtnuCloud/auth?response_type=#{ENV['RESPONSE_TYPE']}&client_id=#{ENV['APP_ID']}&redirect_uri=#{ENV['REDIRECT_URI']}\">
NTNU SSO Login NTNU SSO Login
</a> </a>
</button> </button>