Skip to content

Commit

Permalink
💄 Chests in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MarceauKa committed Oct 15, 2019
1 parent 10b4e43 commit bbbac11
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
## Fixed

- Search global shortcut on Firefox
- Chest password are now readonly

# 1.2.16

Expand Down
2 changes: 1 addition & 1 deletion public/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"/js/app.js": "/js/app.js?id=52537bf583fd0a3e4434",
"/css/app.css": "/css/app.css?id=7778eb81fe4d57f77431",
"/js/app.js": "/js/app.js?id=ce7ca860bcaafd4433f7",
"/css/app.css": "/css/app.css?id=03413220182baf834592",
"/js/manifest.js": "/js/manifest.js?id=3c768977c2574a34506e",
"/js/vendor.js": "/js/vendor.js?id=7041de7f24eb20cb2ab9"
}
2 changes: 1 addition & 1 deletion resources/js/components/ChestForm.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="card">
<div class="card card--chest">
<div class="card-body">
<div class="form-group">
<label for="title">{{ __('Title') }}</label>
Expand Down
4 changes: 2 additions & 2 deletions resources/js/components/ChestLines.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<div class="col-12 col-md-8">
<div class="input-group">
<textarea class="form-control" rows="5" name="value" v-model="item.value" v-if="item.type === 'code'"></textarea>
<input type="text" class="form-control" name="value" v-model="item.value" v-else>
<input type="text" class="form-control" name="value" v-model="item.value" autocomplete="off" v-else>

<div class="input-group-append">
<confirm tag="button" class="btn btn-outline-secondary" @confirmed="deleteLine(item)" text="&times;" text-confirm="&#10003;"></confirm>
Expand Down Expand Up @@ -69,7 +69,7 @@
<a :href="line.value" target="_blank" v-if="line.type === 'url'">{{ line.value }}</a>

<div class="input-group input-group-sm" v-else-if="line.type === 'password'">
<input type="password" class="form-control" :value="line.value">
<input type="password" class="form-control" autocomplete="off" :value="line.value" readonly>

<div class="input-group-append">
<button class="btn btn-outline-secondary" type="button" @click="toggleShowPassword($event, key)">{{ __('Show') }}</button>
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/LinkForm.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="card">
<div class="card card--link">
<div class="card-body">
<div class="form-group">
<label for="url">{{ __('URL') }}</label>
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/StoryForm.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="card">
<div class="card card--story">
<div class="card-body">
<div class="form-group">
<label for="title">{{ __('Title') }}</label>
Expand Down
6 changes: 6 additions & 0 deletions resources/sass/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ body.dark {
@extend .btn-outline-primary;
}
}

&.card--chest {
.btn-outline-secondary {
@extend .btn-outline-light;
}
}
}

.dropdown {
Expand Down

0 comments on commit bbbac11

Please sign in to comment.