gwt.material.design.public.css.overridecss.css Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-material Show documentation
Show all versions of gwt-material Show documentation
A Material Design look and feel for GWT Applications
/** Global **/
* html, body {
margin: 0 !important;
padding: 0 !important;
height: 100%;
width: 100%;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background: no-repeat fixed;
line-height: 1.5;
font-family: "Roboto", sans-serif;
font-weight: normal;
color: rgba(0, 0, 0, 0.87);
}
* {
outline: 0;
}
html, body {
width: 100%;
height: 100%;
}
a:hover, a:visited {
color: none !important;
text-decoration: none !important;
}
a span {
vertical-align: middle;
}
div {
-webkit-font-smoothing: antialiased;
}
.material-label {
display: block;
}
/** Badge **/
nav ul a span.badge {
margin-left: 8px !important;
float: right;
margin-top: 20px;
}
.side-nav .badge {
float: right;
}
.sideBarBadge {
height: 20px !important;
line-height: 0 !important;
padding: 10px !important;
color: #fff !important;
border-radius: 3px !important;
font-size: 0.7em !important;
}
.badge.circle {
position: absolute;
min-width: 0 !important;
border-radius: 100% !important;
height: 24px !important;
top: -12px;
width: 24px;
font-size: 0.6rem !important;
text-align: center;
padding: 0 !important;
padding-top: 12px !important;
right: 8px;
}
.badge > div:first-child {
display: inline;
}
/** Button **/
button.btn-flat:focus {
outline: none;
background-color: inherit;
}
button.disabled, i.disabled, a.disabled {
background-color: #DFDFDF !important;
box-shadow: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
color: #9F9F9F !important;
cursor: default !important;
transition: none !important;
}
i.disabled, a.disabled {
background-color: transparent !important;
}
button.disabled:hover, i.disabled:hover {
box-shadow: none !important;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
}
.disabled:hover {
cursor: default !important;
box-shadow: none !important;
-webkit-box-shadow: none !important;
-moz-box-shadow: none !important;
}
/** Breadcrumbs **/
.breadcrumb i {
float: none !important;
margin-right: 15px;
}
.breadcrumb span {
vertical-align: top;
}
.breadcrumb:nth-child(2):before {
display: none;
}
/** Cards **/
.card .card-action a {
display: inline-block;
}
/** Cards - Horizontal **/
.landscape .card-action a {
margin-left: 20px;
margin-right: 0 !important;
}
.landscape .card-action {
padding: 0;
margin-top: 8px;
}
.landscape .card-content {
width: 70% !important;
float: left;
}
.landscape .card-image {
width: 30% !important;
float: left;
}
.landscape .card-image img, .horizontal.card {
height: 120px;
}
.landscape .card-image {
padding: 0;
}
/** CheckBox **/
[type="checkbox"]:not (:checked ), [type="checkbox"]:checked {
position: absolute;
left: -9999px;
}
.oldCheckBox input {
position: initial !important;
opacity: 0 !important;
}
.oldCheckBox input {
position: initial !important;
opacity: 0 !important;
}
/** Chips **/
.chip {
display: inline-block;
height: 32px;
font-size: 13px;
font-weight: 500;
color: rgba(0, 0, 0, 0.6);
line-height: 32px;
padding: 0 12px;
border-radius: 16px;
background-color: #E4E4E4;
}
.chip img {
float: left;
margin: 0 8px 0 -12px;
height: 32px;
width: 32px;
border-radius: 50%;
}
.chip i.material-icons {
cursor: pointer;
float: right;
font-size: 16px;
line-height: 32px;
padding-left: 8px;
}
.chip.disabled img {
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
-webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
}
.letter {
float: left;
margin: 0 8px 0 -12px;
height: 32px;
width: 32px;
border-radius: 50%;
font-size: 1.2em;
text-align: center;
}
/** Collapsible **/
.collapsible-body {
margin: 0;
padding: 2rem;
}
.collapsible-header > i {
font-size: 1.4rem !important;
line-height: 2.5rem !important;
width: 3rem !important;
margin: 0 !important;
}
/** Collection **/
ul.collection .collection-item.waves-effect {
display: block;
padding-bottom: 0;
will-change: initial;
}
ul.collection .collection-item .secondary-content i {
margin-top: -28px;
}
ul.collection .collection-item .gwt-Label, ul.collection .collection-item a:first-child {
display: block;
}
ul.collection > li > div > div:first-child {
float: left;
}
/** DataGrid **/
.striped table tbody tr:nth-child(odd) {
background-color: #f2f2f2 !important;
}
.bordered table tr {
border-bottom: 1px solid #d0d0d0 !important;
}
table .gwt-CheckBox label {
margin-bottom: -10px;
}
.hoverable table > tbody > tr:hover {
background: #f2f2f2 !important;
transition: 1s all;
-webkit-transition: 1s all;
-moz-transition: 1s all;
}
/** Date Picker - Landscape **/
.picker__close, .picker__today, .picker__clear {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.landscape .picker__frame {
margin: 0 auto;
max-width: 585px;
width: 585px;
max-height: 350px !important;
}
.landscape .picker__wrap {
height: 0 !important;
}
.landscape .picker__date-display {
text-align: center;
padding-bottom: 15px;
font-weight: 300;
float: left;
width: 40%;
height: 342px;
clear: both;
}
.landscape .picker__calendar-container {
padding: 0 1rem;
float: left;
width: 60%;
}
.landscape .picker__footer {
text-align: right;
padding: 5px 10px;
width: 60%;
position: absolute;
bottom: 0;
right: 0;
top: 300px;
height: 40px;
}
.landscape .picker__box {
height: 342px;
}
.landscape .picker__month-display {
text-transform: uppercase;
font-size: 2rem;
margin-top: 78px;
}
.landscape .picker__day--infocus {
padding: 8px !important;
width: 36px !important;
margin: auto !important;
}
.picker__table .picker__day--outfocus {
display: block;
color: #dddddd;
}
.picker__table td {
padding: 0 !important;
}
/** Dropdown **/
ul.dropdown-content {
max-height: 70vh !important;
}
ul.dropdown-content li > div {
font-size: 1.2rem;
display: block;
padding: 1rem 1rem;
}
ul.dropdown-content.disabled {
visibility: hidden;
display: none;
}
ul.dropdown-content li > a, .dropdown-content li > span {
width: 100%;
}
ul.dropdown-content a.disabled {
color: #e9e9e9 !important;
}
ul.dropdown-content a.disabled:hover {
background: #fff !important;
}
ul.dropdown-content {
z-index: 995 !important;
}
/** Errors **/
.field-error, .field-error-picker input {
border-bottom: 1px solid #F44336 !important;
box-shadow: 0 1px 0 0 #F44336 !important;
}
.field-error-label, .field-success-label {
color: #F44336 !important;
font-size: 12px;
opacity: 1 !important;
}
.field-success-label {
color: #4CAF50 !important;
}
.field-helper-label {
color: #9E9E9E !important;
font-size: 12px;
opacity: 1 !important;
}
.field-success, .field-success-picker input {
border-bottom: 1px solid #4CAF50 !important;
box-shadow: 0 1px 0 0 #4CAF50 !important;
}
/** Floating Action Button **/
.horizontal.fixed-action-btn ul {
left: auto;
}
.fixed-action-btn.active ul {
visibility: visible;
}
.fixed-action-btn ul {
left: 0;
right: 0;
text-align: center;
position: absolute;
bottom: 64px;
margin: 0;
visibility: hidden;
}
.fixed-action-btn.horizontal ul li {
display: inline-block;
margin: 15px 15px 0 0;
}
.fixed-action-btn.horizontal ul {
text-align: right;
right: 54px;
transform: translateY(106%);
height: 100%;
left: initial;
width: 500px;
}
ul li button.btn-floating {
opacity: 0;
}
.floatingButtonsItem ul li div {
transform: scale(0.4) translateY(40px);
-moz-transform: scale(0.4) translateY(40px);
-webkit-transform: scale(0.4) translateY(40px);
opacity: 0;
transition: 400ms all;
-webkit-transition: 400ms all;
-moz-transition: 400ms all;
margin-bottom: -10px;
}
.floatingButtonsItem:hover ul li div {
transform: scale(1) translateY(0px);
-moz-transform: scale(1) translateY(0px);
-webkit-transform: scale(1) translateY(0px);
opacity: 1;
}
/** Footer **/
footer.fixed {
position: fixed;
width: 100%;
bottom: 0;
padding-top: 0 !important;
}
/** Input Field **/
.input-field label {
left: 0 !important;
}
.row > .input-field label {
left: 0.75rem !important;
}
@-webkit-keyframes autofill {
to {
background: transparent;
}
}
nav .input-field {
height: 100%;
}
input:-webkit-autofill {
-webkit-animation-name: autofill !important;
-webkit-animation-fill-mode: both !important;;
}
/** ListBox **/
.input-field .select-wrapper.gwt-ListBox + label.active {
-webkit-transform: translateY(0);
-moz-transform: translateY(0);
-ms-transform: translateY(0);
-o-transform: translateY(0);
transform: translateY(0);
}
/** Loader */
.loader-wrapper {
width: 100%;
background: rgba(255, 255, 255, 0.701961);
text-align: center;
height: 100%;
position: fixed;
z-index: 999;
top: 0;
right: 0;
left: 0;
bottom: 0;
}
.progress-wrapper {
top: 0;
position: fixed;
z-index: 999;
width: 100%;
}
/** Modals **/
.modal.fullscreen, .modal.modal-fixed-footer.fullscreen {
width: 100%;
max-height: 100%;
height: 100%;
top: 0 !important;
}
/** NavBar **/
nav button i {
line-height: inherit !important;
}
nav .nav-content {
position: relative;
line-height: normal;
width: 100%;
display: flex;
}
/** NavBar tall **/
nav .navbar-tall {
height: 128px;
}
nav .nav-wrapper .side-nav i {
display: inline !important;
vertical-align: middle;
}
/** NavBar Shrink **/
nav.navbar-shrink {
height: 200px;
line-height: 64px;
top: 0;
left: 0;
background-color: #0683c9;
}
nav .brand-logo img {
height: 100%;
padding: 12px;
}
nav.navbar-shrink, nav.navbar-shrink .brand-logo {
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
-ms-transition: 0.3s;
-o-transition: 0.3s;
transition: 0.3s;
}
nav.navbar-shrink .brand-logo {
line-height: 264px;
height: 200px;
}
nav.smaller {
height: 64px;
}
nav.smaller .brand-logo img {
width: auto;
}
nav.smaller .brand-logo {
line-height: 64px;
height: 64px;
font-size: 2.1rem;
}
nav .nav-wrapper .collapsible-body {
padding: 0 !important;
}
/** NavBar Fixed **/
nav.pinned {
z-index: 996;
}
/** Progress */
.progress {
background-color: #EBEEF1;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
color: #fff;
transition: 1s all;
-webkit-transition: 1s all;
-moz-transition: 1s all;
}
.progress div {
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
transition: 1s all;
-webkit-transition: 1s all;
-moz-transition: 1s all;
}
.navmenu-permanent, .drag-target {
visibility: hidden !important;
}
/** ReadOnly States **/
.read-only-toggle input:hover {
cursor: text;
box-shadow: 1px 1px #e9e9e9;
}
.read-only input, .read-only textarea {
border: none !important;
box-shadow: none !important;
color: #000 !important;
}
.read-only label {
top: 12px !important;
-webkit-transform: translateY(-140%) !important;
transform: translateY(-140%) !important;
font-size: 0.8em !important;
color: #9e9e9e !important;
}
.read-only .select-wrapper .caret {
display: none !important;
}
/** Search **/
.input-field input[type=search] + label {
left: 1rem !important;
}
/** Search Result **/
.input-field input[type=search] {
margin-bottom: 0;
height: 100%;
}
.search-result {
margin: 0;
border-top: 1px solid #e9e9e9;
background-color: #fff;
max-height: 500px;
overflow: auto;
z-index: 995;
position: relative;
}
.search-result a {
display: block;
border-bottom: 1px solid #e9e9e9;
padding-left: 20px;
}
.search-result a span {
margin-left: 0px;
}
.search-result a:hover, .search-result a.higlighted {
background-color: #eeeeee;
}
.search-result a img {
width: 52px;
margin-top: 5px;
float: left;
border-radius: 100%;
-moz-border-radius: 100%;
-webkit-border-radius: 100%;
height: 52px;
}
/** SideNav **/
ul.side-nav {
padding-bottom: 0px;
height: 100%;
}
ul.side-nav li > div {
width: 100%;
margin-left: 0 !important;
}
ul.side-nav .brand-logo {
font-size: 2.1rem;
border-bottom: 1px solid #e9e9e9;
}
ul.side-nav.fixed a, ul.side-nav a {
width: 100%;
display: flex;
line-height: normal;
align-items: center;
}
ul.side-nav li {
padding: 0 !important;
}
ul.side-nav i {
font-size: 2em !important;
width: 2rem;
line-height: inherit;
}
ul.side-nav .collapsible-header, .side-nav .collapsible-body {
padding: 0 !important;
margin: 0 !important;
}
ul.side-nav .collapsible-body li {
overflow: hidden;
}
ul.side-nav .collapsible-body li.active {
background-color: #eeeeee !important;
}
ul.side-nav.right-aligned {
left: auto !important;
}
/** Sidenav Content **/
.sidenav-content {
padding: 0 15px;
}
/** SideNav Card **/
ul.side-nav.card, .side-nav.drawer-with-header {
position: absolute;
}
ul.side-nav.card {
margin: 20px;
height: auto;
width: 232px;
padding-bottom: 0;
top: 64px;
}
/** SideNav Drawer **/
ul.side-nav.drawer-with-header {
top: 64px;
height: calc(100vh - 64px);
}
ul.side-nav.push-with-header {
background-color: transparent;
box-shadow: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
top: 64px;
height: calc(100vh - 64px);
}
/** Sidenav Mini **/
ul.side-nav.mini, ul.side-nav.mini-with-expand {
top: 65px;
text-align: center;
overflow-x: hidden;
height: calc(100vh - 64px);
}
ul.side-nav.mini li div {
padding-bottom: 10px;
padding-top: 10px;
}
ul.side-nav.mini li a span {
display: none;
}
ul.side-nav .collapsible-body li.active a {
color: #444;
}
/** SideNav - Mini with Expand **/
ul.side-nav.mini-with-expand {
left: 0px !important;
}
ul.side-nav.mini-with-expand.right-aligned {
right: 0px !important;
left: inherit !important;
}
ul.side-nav.mini-with-expand.expanded li a span {
opacity: 1;
visibility: visible;
}
ul.side-nav.mini-with-expand li a span {
visibility: hidden;
opacity: 0;
transition: 0.2s all;
-webkit-transition: 0.2s all;
-moz-transition: 0.2s all;
}
/** SideNav - Overlay **/
#sidenav-overlay {
visibility: hidden;
}
/** SplashScreen */
.splash-screen {
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
z-index: 999;
}
.splash-screen .progress {
margin: 0;
position: absolute;
z-index: 9999;
left: 0;
bottom: 0;
height: 8px;
}
/** Switch **/
.switch label input[type=checkbox]:checked + .lever.disabled {
background-color: #D4D4D4;
}
/** Tabs **/
ul.tabs {
overflow: hidden !important;
}
ul.tabs .tab a i {
margin-top: 12px;
padding-left: 36%;
}
ul.tabs .tab a span:nth-child(2) {
float: left;
}
ul.tabs .tab.disabled {
opacity: 0.5;
}
ul.tabs .tab a i, .tabs .tab a span {
float: none !important;
display: inline-block;
vertical-align: top;
}
ul.tabs .tab a i {
padding-left: 0;
}
/** Waves **/
i[class*="waves-"].material-icons {
vertical-align: top;
width: initial;
height: auto;
text-align: center;
padding: 4px;
}
/** Animations **/
.materialScaleInitial, .pullInitial {
transition: 0.5s all;
-webkit-transition: 0.5s all;
-moz-transition: 0.5s all;
}
.materialScaleInitial {
transform: scale(0);
-webkit-transform: scale(0);
-moz-transform: scale(0);
transform-origin: 50% 10%;
-webkit-transform-origin: 50% 10%;
-moz-transform-origin: 50% 10%;
}
.materialScale {
transform: scale(1);
-webkit-transform: scale(1);
-moz-transform: scale(1);
}
.pullInitial {
margin-top: 500px !important;
}
.pull {
margin-top: -150px !important;
}
/** Others **/
.fullBackground {
-webkit-box-flex: 1;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
background-size: contain;
background-position: top right;
background-repeat: no-repeat;
}
.showPanel {
-webkit-transform: scale(1) !important;
-ms-transform: scale(1) !important;
transform: scale(1) !important;
}
.weatherContainer .card {
background-color: initial !important;
}
/** Media Queries **/
@media screen and (max-width: 992px) {
/** Global **/
header, footer, main {
margin-left: 0 !important;
margin-right: 0 !important;
padding-left: 0 !important;
padding-right: 0 !important;
width: 100% !important;
}
main {
padding-bottom: 70px !important;
}
/** NavBar **/
.navmenu-permanent, .drag-target, #sidenav-overlay {
visibility: visible !important;
}
nav .nav-wrapper {
padding: 0;
}
nav.pinned {
width: 100% !important;
}
nav.navbar-shrink .brand-logo img {
width: auto;
}
nav.navbar-shrink .brand-logo {
left: 60px;
transform: translateX(0);
}
/** Search Bar **/
.input-field input[type=search] {
width: calc(100% - 10rem) !important;
margin-bottom: 0 !important;
padding-left: 0px !important;
}
.input-field input[type=search] + label {
z-index: 999 !important;
}
.search-result {
max-height: 400px;
overflow: auto;
}
/** SideNav **/
ul.side-nav.fixed,
ul.side-nav.card,
ul.side-nav.drawer-with-header,
ul.side-nav.push-with-header,
ul.side-nav.mini {
margin: 0;
top: 0 !important;
left: 0;
height: 100%;
background: #fff;
}
ul.side-nav.mini-with-expand {
top: 56px;
height: calc(100vh - 56px);
}
ul.side-nav.mini {
top: 55px;
}
ul.side-nav.drawer-with-header {
margin-top: 0px;
background: white;
-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
ul.side-nav.card {
margin: initial;
position: fixed;
}
/** Tabs **/
.tabs.tab-icon a span {
display: none !important;
}
.tabs .tab a i {
margin: auto;
margin-top: 12px;
}
/** Table **/
.responsive-table table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
display: block;
position: relative;
}
.responsive-table table th {
display: block;
}
.responsive-table table tbody tr {
display: inline-block;
vertical-align: top;
}
.responsive-table table tbody {
display: block;
width: auto;
position: relative;
overflow-x: auto;
white-space: nowrap;
}
.responsive-table table tbody tr {
display: inline-block;
vertical-align: top;
}
.responsive-table table td {
display: block;
min-height: 1.25em;
text-align: left;
}
.responsive-table > div:nth-child(1) {
width: 20% !important;
}
.responsive-table > div:nth-child(3) {
top: 0 !important;
left: 20% !important;
width: 80% !important;
height: 100% !important;
}
.responsive-table table thead {
border: 0;
border-right: 1px solid #d0d0d0;
}
.responsive-table table thead tr {
display: block;
padding: 0 10px 0 0;
}
.responsive-table table thead {
display: block;
float: left;
}
}
@media screen and (min-width: 993px) {
/** SideNav **/
ul.side-nav.fixed.right-aligned {
right: 0 !important;
left: initial !important;
}
ul.side-nav.right-aligned:not(.drawer) {
position: fixed;
z-index: 997;
}
ul.side-nav.fixed {
left: 0 !important;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy