1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 15:19:42 +02:00
documize/gui/app/styles/core/ui/ui-toolbar.scss
Harvey Kandola 6eb68f84e0 Introduce modular UI framework
1. Modals wrapped
2. Toolbar icon actions: click and link-to navigation
3. Moved components into sub-folders
4. Replaced Bootstrap Tooltip and Dropdown libs with Ember specific add-ons

And more.

Co-Authored-By: Saul S <sauls8t@users.noreply.github.com>
Co-Authored-By: McMatts <matt@documize.com>
2018-12-11 18:00:08 +00:00

80 lines
1.2 KiB
SCSS

%toolbar-shadow {
box-shadow: 1px 1px 3px 0px map-get($gray-shades, 200);
}
.dmz-toolbar {
display: inline-block;
text-align: center;
white-space: nowrap;
vertical-align: middle;
border: 1px solid transparent;
height: 30px;
padding: 5px 10px;
line-height: 24px;
@extend .no-select;
@include border-radius(6px);
> .dicon {
font-size: 16px;
font-weight: 500;
color: map-get($gray-shades, 600);
padding: 0 0.25rem;
cursor: pointer;
&:hover {
color: map-get($gray-shades, 700);
}
}
> .red {
color: map-get($red-shades, 500);
&:hover {
color: map-get($red-shades, 600);
}
}
> .yellow {
color: map-get($yellow-shades, 600);
&:hover {
color: map-get($yellow-shades, 700);
}
}
> .green {
color: map-get($green-shades, 500);
&:hover {
color: map-get($green-shades, 600);
}
}
}
.dmz-toolbar-large {
height: 40px;
padding: 7px 10px;
line-height: 33px;
> .dicon {
font-size: 20px;
font-weight: 500;
padding: 0 0.5rem;
}
}
.dmz-toolbar-dark {
background-color: map-get($gray-shades, 200);
}
.dmz-toolbar-light {
background-color: map-get($gray-shades, 100);
}
.dmz-toolbar-raised {
@extend %toolbar-shadow;
}
.dmz-toolbar-bordered {
border: 1px solid map-get($gray-shades, 300);
}