Prevent button elements from being styled by default and instead require the .button class
MODIFY
resources/assets/sass/components/input.scss
resources/assets/sass/components/input.scss
}
}
-input, select, button {
+input, select, button.button {
font: inherit;
border-radius: $dimensions-box-border-radius;
}
@@ -31,10 +31,9 @@ input, select {
select {
background: #FFF;
- -webkit-appearance: none;
}
-button {
+button.button {
padding: 10px 20px;
font-size: 14px;
color: #FFF;

MODIFY
resources/views/earnings/create.blade.php
resources/views/earnings/create.blade.php
<input type="text" name="amount" />
@include('partials.validation_error', ['payload' => 'amount'])
</div>
- <button>@lang('actions.create')</button>
+ <button class="button">@lang('actions.create')</button>
</form>
</div>
</div>

MODIFY
resources/views/login.blade.php
resources/views/login.blade.php
<label>Password</label>
<input type="password" name="password" />
</div>
- <button>Log in</button>
+ <button class="button">Log in</button>
</form>
</div>
</div>

MODIFY
resources/views/register.blade.php
resources/views/register.blade.php
</select>
@include('partials.validation_error', ['payload' => 'currency'])
</div>
- <button>Register</button>
+ <button class="button">Register</button>
</form>
</div>
</div>

MODIFY
resources/views/settings.blade.php
resources/views/settings.blade.php
</select>
@include('partials.validation_error', ['payload' => 'language'])
</div>
- <button>Update</button>
+ <button class="button">Update</button>
</form>
</div>
</div>

MODIFY
resources/views/spendings/create.blade.php
resources/views/spendings/create.blade.php
<input type="text" name="amount" />
@include('partials.validation_error', ['payload' => 'amount'])
</div>
- <button>@lang('actions.create')</button>
+ <button class="button">@lang('actions.create')</button>
</form>
</div>
</div>

MODIFY
resources/views/tags/create.blade.php
resources/views/tags/create.blade.php
{{ csrf_field() }}
<label>Name</label>
<input type="text" name="name" />
- <button>@lang('actions.create')</button>
+ <button class="button">@lang('actions.create')</button>
</form>
</div>
</div>

MODIFY
resources/views/tags/edit.blade.php
resources/views/tags/edit.blade.php
{{ csrf_field() }}
<label>Name</label>
<input type="text" name="name" value="{{ $tag->name }}" />
- <button>Update</button>
+ <button class="button">Update</button>
</form>
</div>
</div>

Prevent button elements from being styled by default and instead require the .button class