OAuth2: move to scoped css in vue app

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2018-12-07 20:03:50 +01:00
parent 5a9fc01ea6
commit cfa7c54814
No known key found for this signature in database
GPG Key ID: F941078878347C0C
7 changed files with 35 additions and 31 deletions

View File

@ -1,20 +0,0 @@
.show-oauth-credentials {
padding-left: 10px;
opacity: 0.3;
cursor: pointer;
}
#oauth2 .icon-toggle,
#oauth2 .icon-delete {
display: inline-block;
width: 16px;
height: 16px;
padding: 10px;
vertical-align: middle;
}
#oauth2 .grid td code {
display: inline-block;
vertical-align: middle;
padding: 3px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1539,7 +1539,8 @@
"ansi-regex": {
"version": "2.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"aproba": {
"version": "1.2.0",
@ -1954,7 +1955,8 @@
"safe-buffer": {
"version": "5.1.1",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"safer-buffer": {
"version": "2.1.2",
@ -2010,6 +2012,7 @@
"version": "3.0.1",
"bundled": true,
"dev": true,
"optional": true,
"requires": {
"ansi-regex": "^2.0.0"
}
@ -2053,12 +2056,14 @@
"wrappy": {
"version": "1.0.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
},
"yallist": {
"version": "3.0.2",
"bundled": true,
"dev": true
"dev": true,
"optional": true
}
}
},

View File

@ -64,3 +64,19 @@ export default {
}
}
</script>
<style scoped>
.icon-toggle,
.icon-delete {
display: inline-block;
width: 16px;
height: 16px;
padding: 10px;
vertical-align: middle;
}
td code {
display: inline-block;
vertical-align: middle;
padding: 3px;
}
</style>

View File

@ -20,7 +20,6 @@
*/
script('oauth2', 'oauth2');
style('oauth2', 'setting-admin');
?>

View File

@ -13,7 +13,11 @@ module.exports = {
{
test: /\.vue$/,
loader: 'vue-loader',
}
},
{
test: /\.css$/,
use: ['vue-style-loader', 'css-loader']
},
]
},
plugins: [