material-design-stock-theme/common/common.scss
Joe a1ce5ecc27
DEV: removes unnecessary styles
These were used to prevent images from being cropped (on one side) due to the lost width when topic / reply cards are factored in. 

This is being removed for two reasons:

1. It's no longer necessary since 2ee2e5c981 (diff-6ff7a83257165f5f3bdf4ab585411e46) was introduced in core.
2. It might create infinite-scroll issues when the images sizes are not set (height: auto)
2019-02-13 12:29:59 +08:00

41 lines
732 B
SCSS

//use Roboto font
html {
font-family: "Roboto", sans-serif;
font-weight: 400;
}
body input,
body button,
body select,
body textarea {
font-family: "Roboto", Helvetica, Arial, sans-serif;
}
@mixin boxShadow {
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 0 0 0 rgba(0, 0, 0, 0.12);
}
@mixin buttonShadow {
box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
}
//raise and round buttons
.btn {
border-radius: 2px;
@include boxShadow;
}
//remove shadow from a few buttons
.d-editor-button-bar .btn,
.bulk-select-all,
.bulk-clear-all,
.period-chooser-header,
.topic-map .btn.no-text,
.badge-section .btn,
#revision .btn,
#new-account-link,
#login-link {
border-radius: 0;
box-shadow: none;
}