2015-05-13 21:20:22 +02:00
|
|
|
/// icon.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*-
|
2015-01-26 08:41:04 +01:00
|
|
|
@import 'extends';
|
|
|
|
|
2015-07-04 03:40:37 +02:00
|
|
|
// TODO: encode font in base64 to include it in the CSS
|
|
|
|
// perl -MMIME::Base64 -0777 -ne 'print encode_base64($_, "")' < fonts/MaterialIcons-Regular.woff
|
2015-01-26 08:41:04 +01:00
|
|
|
|
2015-07-04 03:40:37 +02:00
|
|
|
// http://google.github.io/material-design-icons/#icon-font-for-the-web
|
2015-02-02 00:09:48 +01:00
|
|
|
@font-face {
|
2015-07-04 03:40:37 +02:00
|
|
|
font-family: 'Material Icons';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
src: url('../fonts/MaterialIcons-Regular.eot'); /* For IE6-8 */
|
|
|
|
src: local('Material Icons'),
|
|
|
|
local('MaterialIcons-Regular'),
|
|
|
|
url('../fonts/MaterialIcons-Regular.woff2') format('woff2'),
|
|
|
|
url('../fonts/MaterialIcons-Regular.woff') format('woff'),
|
|
|
|
url('../fonts/MaterialIcons-Regular.ttf') format('truetype');
|
2015-02-02 00:09:48 +01:00
|
|
|
}
|
2015-07-04 03:40:37 +02:00
|
|
|
|
|
|
|
.material-icons {
|
|
|
|
font-family: 'Material Icons';
|
2015-02-02 00:09:48 +01:00
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
2015-07-04 03:40:37 +02:00
|
|
|
font-size: 24px; /* Preferred icon size */
|
|
|
|
display: inline-block;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
line-height: 1;
|
|
|
|
text-transform: none;
|
|
|
|
letter-spacing: normal;
|
|
|
|
word-wrap: normal;
|
|
|
|
|
|
|
|
/* Support for all WebKit browsers. */
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
/* Support for Safari and Chrome. */
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
|
|
|
|
/* Support for Firefox. */
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
|
|
|
|
/* Support for IE. */
|
|
|
|
font-feature-settings: 'liga';
|
|
|
|
}
|
|
|
|
|
|
|
|
// Define CSS styles to use ng-class with md-icon
|
|
|
|
md-icon {
|
2016-04-22 15:44:36 +02:00
|
|
|
transition: transform 240ms;
|
2015-07-21 14:26:50 +02:00
|
|
|
&.sg-icon-toolbar-bg {
|
|
|
|
font-size: 84px;
|
|
|
|
opacity: 0.2;
|
2015-12-17 20:26:02 +01:00
|
|
|
overflow: hidden;
|
2015-07-21 14:26:50 +02:00
|
|
|
position: absolute;
|
|
|
|
right: $mg * 3;
|
|
|
|
transform: rotate(-15deg);
|
|
|
|
}
|
2015-07-09 03:08:51 +02:00
|
|
|
&.md-rotate-45 {
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
&.md-rotate-90 {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
&.md-rotate-180 {
|
|
|
|
transform: rotate(180deg);
|
|
|
|
}
|
2016-03-30 17:10:09 +02:00
|
|
|
&.md-rotate-180-ccw {
|
|
|
|
transform: rotate(-180deg);
|
|
|
|
}
|
2015-07-09 03:08:51 +02:00
|
|
|
// &.icon-add:before {
|
|
|
|
// content: "\e317";
|
2015-07-21 14:26:50 +02:00
|
|
|
// }
|
|
|
|
&.icon-alarm:before {
|
|
|
|
content: "\e855";
|
|
|
|
}
|
2015-07-29 22:23:41 +02:00
|
|
|
&.icon-delegated:before,
|
|
|
|
&.icon-arrow-forward:before {
|
|
|
|
content: "\e5c8";
|
|
|
|
}
|
2015-08-04 19:52:31 +02:00
|
|
|
&.icon-accepted:before,
|
2015-07-08 20:46:07 +02:00
|
|
|
&.icon-check:before {
|
|
|
|
content: "\e5ca";
|
|
|
|
}
|
2015-07-09 03:08:51 +02:00
|
|
|
&.icon-clear:before {
|
|
|
|
content: "\e14c";
|
|
|
|
}
|
2015-07-04 03:40:37 +02:00
|
|
|
&.icon-contacts:before {
|
|
|
|
content: "\e0ba";
|
|
|
|
}
|
|
|
|
&.icon-event:before {
|
|
|
|
content: "\e878";
|
|
|
|
}
|
2015-07-09 03:08:51 +02:00
|
|
|
&.icon-expand-less:before {
|
|
|
|
content: "\e5ce";
|
2015-07-04 03:40:37 +02:00
|
|
|
}
|
|
|
|
&.icon-expand-more:before {
|
|
|
|
content: "\e5cf";
|
|
|
|
}
|
2015-07-29 22:23:41 +02:00
|
|
|
&.icon-needs-action:before,
|
|
|
|
&.icon-help:before {
|
|
|
|
content: "\e887";
|
|
|
|
}
|
2015-07-09 03:08:51 +02:00
|
|
|
&.icon-more-horiz:before {
|
|
|
|
content: "\e5d3";
|
2015-07-04 03:40:37 +02:00
|
|
|
}
|
2015-07-29 22:23:41 +02:00
|
|
|
&.icon-tentative:before,
|
|
|
|
&.icon-person:before {
|
|
|
|
content: "\e7fd";
|
|
|
|
}
|
2015-07-09 03:08:51 +02:00
|
|
|
// &.icon_public:before {
|
|
|
|
// content: "\e80b";
|
|
|
|
// }
|
2015-07-29 22:23:41 +02:00
|
|
|
&.icon-declined:before,
|
|
|
|
&.icon-remove-circle:before {
|
|
|
|
content: "\e15c";
|
|
|
|
}
|
2015-11-13 16:48:27 +01:00
|
|
|
&.icon-repeat:before {
|
|
|
|
content: "\e040";
|
|
|
|
}
|
2015-09-15 03:35:34 +02:00
|
|
|
&.icon-search:before {
|
|
|
|
content: "\e8b6";
|
|
|
|
}
|
2015-09-02 21:51:07 +02:00
|
|
|
&.icon-star:before {
|
|
|
|
content: "\e838";
|
|
|
|
}
|
|
|
|
&.icon-star-border:before {
|
|
|
|
content: "\e83a";
|
|
|
|
}
|
2015-09-15 03:35:34 +02:00
|
|
|
&.icon-stop:before {
|
|
|
|
content: "\e047";
|
|
|
|
}
|
2015-07-21 14:26:50 +02:00
|
|
|
&.icon-visibility-off:before {
|
|
|
|
content: "\e8f5";
|
|
|
|
}
|
|
|
|
&.icon-vpn-key:before {
|
|
|
|
content: "\e0da";
|
|
|
|
}
|
2015-02-06 15:37:00 +01:00
|
|
|
}
|
2015-05-13 21:20:22 +02:00
|
|
|
|
2015-07-04 03:40:37 +02:00
|
|
|
// Message flag
|
2015-09-03 22:10:05 +02:00
|
|
|
//.sg-msg-flag {
|
|
|
|
// md-icon {
|
|
|
|
// color: sg-color($sogoGreen, 50) !important;
|
|
|
|
// &.flagged {
|
|
|
|
// color: sg-color($sogoBlue, 600) !important;
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//}
|