Пример #1
0
 public override void ToCss(TextWriter writer, IStyleFormatter formatter)
 {
     var rules = formatter.Block(Rules);
     writer.Write(formatter.Rule("@media", Media.MediaText, rules));
 }
Пример #2
0
 public override void ToCss(TextWriter writer, IStyleFormatter formatter)
 {
     var rules = formatter.Block(Rules);
     writer.Write(formatter.Rule("@supports", ConditionText, rules));
 }
Пример #3
0
        public override String ToCss(IStyleFormatter formatter)
        {
            var rules = formatter.Block(Rules);

            return(formatter.Rule("@document", ConditionText, rules));
        }
Пример #4
0
        public override void ToCss(TextWriter writer, IStyleFormatter formatter)
        {
            var rules = formatter.Block(Declarations.Where(m => m.HasValue));

            writer.Write(formatter.Rule("@" + _name, null, rules));
        }
Пример #5
0
 public override String ToCss(IStyleFormatter formatter)
 {
     var rules = formatter.Block(Rules);
     return formatter.Rule("@supports", ConditionText, rules);
 }
Пример #6
0
        public override void ToCss(TextWriter writer, IStyleFormatter formatter)
        {
            var rules = formatter.Block(Style);

            writer.Write(formatter.Rule("@page", SelectorText, rules));
        }
Пример #7
0
 public override void ToCss(TextWriter writer, IStyleFormatter formatter)
 {
     var rules = formatter.Block(Rules);
     writer.Write(formatter.Rule("@keyframes", _name, rules));
 }
Пример #8
0
 public override String ToCss(IStyleFormatter formatter)
 {
     var rules = formatter.Block(Rules);
     return formatter.Rule("@media", _media.MediaText, rules);
 }
Пример #9
0
        public override void ToCss(TextWriter writer, IStyleFormatter formatter)
        {
            var rules = formatter.Block(Rules);

            writer.Write(formatter.Rule("@media", Media.MediaText, rules));
        }
Пример #10
0
 public override String ToCss(IStyleFormatter formatter)
 {
     var rules = formatter.Block(Style);
     return formatter.Rule("@page", SelectorText, rules);
 }
Пример #11
0
        public override String ToCss(IStyleFormatter formatter)
        {
            var rules = formatter.Block(Rules);

            return(formatter.Rule("@keyframes", _name, rules));
        }
Пример #12
0
        public override void ToCss(TextWriter writer, IStyleFormatter formatter)
        {
            var rules = formatter.Block(Rules);

            writer.Write(formatter.Rule("@keyframes", Name, rules));
        }
Пример #13
0
        public override String ToCss(IStyleFormatter formatter)
        {
            var rules = formatter.Block(Style);

            return(formatter.Rule("@page", SelectorText, rules));
        }
Пример #14
0
 public override String ToCss(IStyleFormatter formatter)
 {
     var rules = formatter.Block(Rules);
     return formatter.Rule("@" + _name, _prelude, rules);
 }
Пример #15
0
 public override String ToCss(IStyleFormatter formatter)
 {
     var rules = formatter.Block(Rules);
     return formatter.Rule("@keyframes", _name, rules);
 }
Пример #16
0
        public override String ToCss(IStyleFormatter formatter)
        {
            var rules = formatter.Block(Rules);

            return(formatter.Rule("@media", _media.MediaText, rules));
        }
Пример #17
0
        public override void ToCss(TextWriter writer, IStyleFormatter formatter)
        {
            var rules = formatter.Block(Rules);

            writer.Write(formatter.Rule("@supports", ConditionText, rules));
        }
Пример #18
0
 public override String ToCss(IStyleFormatter formatter)
 {
     var rules = formatter.Block(_declarations.Where(m => m.HasValue));
     return formatter.Rule("@" + _name, null, rules);
 }
Пример #19
0
        public override String ToCss(IStyleFormatter formatter)
        {
            var rules = formatter.Block(_declarations.Where(m => m.HasValue));

            return(formatter.Rule("@" + _name, null, rules));
        }
Пример #20
0
 public override void ToCss(TextWriter writer, IStyleFormatter formatter)
 {
     var rules = formatter.Block(Style);
     writer.Write(formatter.Rule("@page", SelectorText, rules));
 }