lower href of CSS .
337901
function lowerCSSInfo(docDom) {
        // read index file, and getting target ts files.
        var $scripts = $(docDom).find('link[rel="stylesheet"][href]');
        $scripts.each(function () {
            $(this).attr('href', function (idx, path) {
                return path.toLowerCase();
            });
        });
    }
497946
def href_of(scope, selector)
      if node = scope.css(selector).first
        node.attr('href')
      end
    end
979929
def lowstrip(term):
    """"""
    term = re.sub('\s+', ' ', term)
    term = term.lower()
    return term
882521
function inlineOptimze(source) {
    var blocks = [];
    var sections = source.split(INLINE_START_REG);
    sections.forEach(function(s) {
      if (s.match(INLINE_END_REG) && !s.match(JSFILE_REG)) {
        // s[0] css rules or js code
        // s[1] </style> or </script>
        // s[2] other html code after </style> </script>
        s = s.split(INLINE_END_REG);
        switch (s[1]) {
          case '</style>':
            s[0] = optimizeCss(s[0]);
            break;
          case '</script>':
            s[0] = optimizeJs(s[0]);
            break;
        }
        blocks.push(s.join(''));
      } else {
        blocks.push(s);
      }
    });
    return blocks.join('');
  }
791016
public function get_less($path=''){
    if ( $r = $this->get_view($path, 'css', false) ){
      return \CssMin::minify($r);
    }
  }
497308
def page_down
    ## if we're on the last page, and it's not a full page, just move
    ## the cursor down to the bottom and assume we can't load anything
    ## else via the callbacks.
    if topline > lines - buffer.content_height
      set_cursor_pos(lines - 1)

    ## if we're on the last page, and it's a full page, try and load
    ## more lines via the callbacks and then shift the page down
    elsif topline == lines - buffer.content_height
      call_load_more_callbacks buffer.content_height
      super

    ## otherwise, just move down
    else
      relpos = @curpos - topline
      super
      set_cursor_pos [topline + relpos, lines - 1].min
    end
  end
1357078
def to_lower(self, string):
        ""
        value = None
        try:
            value = string.lower()
        except AttributeError:
            value = ""
        finally:
            return value
1106028
function removeFromStack(element){
    element.up.down = element.down;
    element.down.up = element.up;
    element.up = element.down = null;
}
1103837
function mincss(config, tools) {
  return tools.simpleStream(config, [
    config.autoprefixer && autoprefixer(config.autoprefixer),
    config.concat && concat(config.concat),
    config.minify && csso(config.csso)
  ])
}
451641
def minify_css(css):
    """"""
    # Inspired by slimmer by Peter Bengtsson
    remove_next_comment = 1
    for css_comment in css_comments.findall(css):
        if css_comment[-3:] == '\*/':
            remove_next_comment = 0
            continue
        if remove_next_comment:
            css = css.replace(css_comment, '')
        else:
            remove_next_comment = 1

    # >= 2 whitespace becomes one whitespace
    css = re.sub(r'\s\s+', ' ', css)
    # no whitespace before end of line
    css = re.sub(r'\s+\n', '', css)
    # Remove space before and after certain chars
    for char in ('{', '}', ':', ';', ','):
        css = re.sub(char + r'\s', char, css)
        css = re.sub(r'\s' + char, char, css)
    css = re.sub(r'}\s(#|\w)', r'}\1', css)
    # no need for the ; before end of attributes
    css = re.sub(r';}', r'}', css)
    css = re.sub(r'}//-->', r'}\n//-->', css)
    return css.strip()
1364135
public void link(Space other) {
		// aligned vertical edges
		if (inTolerance(x,other.x+other.width) || inTolerance(x+width, other.x)) {
			float linkx = x;
			if (x+width == other.x) {
				linkx = x+width;
			}
			
			float top = Math.max(y, other.y);
			float bottom = Math.min(y+height, other.y+other.height);
			float linky = top + ((bottom-top)/2);
			
			Link link = new Link(linkx, linky, other);
			links.put(other,link);
			linksList.add(link);
		}
		// aligned horizontal edges
		if (inTolerance(y, other.y+other.height) || inTolerance(y+height, other.y)) {
			float linky = y;
			if (y+height == other.y) {
				linky = y+height;
			}
			
			float left = Math.max(x, other.x);
			float right = Math.min(x+width, other.x+other.width);
			float linkx = left + ((right-left)/2);
			
			Link link = new Link(linkx, linky, other);
			links.put(other, link);
			linksList.add(link);
		}		
	}
1165180
function adjustHeight() {
        var windowHeight = $(window).height();
        var headerHeight = $("#main-nav").height();
        var containerHeight = windowHeight - headerHeight;
        $("#main").css("min-height", "" + containerHeight + "px");
    }
1014942
def lessc(responsive=False):
    
    local('lessc {0}/static/css/bootstrap.less'
          ' {0}/static/css/bootstrap.css'.format(settings.PROJECT_NAME))
    if responsive:
        local('lessc {0}/static/css/responsive.less'
              ' {0}/static/css/bootstrap-responsive.css'.format(
                  settings.PROJECT_NAME))
191914
function flatten(href) {
    href = normalize(href);
    if (href[0] == '/') {
        href = normalize(href.slice(1));
    }

    return href;
}
438634
def css(self, *props, **kwprops):
        """"""
        self._stable = False
        styles = {}
        if props:
            if len(props) == 1 and isinstance(props[0], Mapping):
                styles = props[0]
            else:
                raise WrongContentError(self, props, "Arguments not valid")
        elif kwprops:
            styles = kwprops
        else:
            raise WrongContentError(self, None, "args OR wkargs are needed")
        return self.attr(style=styles)
374322
def clean_inline_css(url)
      premailer = Premailer.new(url, :adapter => :nokogiri, :escape_url_attributes => false)
      premailer.to_inline_css.gsub("Drop Content Blocks Here", "")
    end
1338087
function (url, type) {
      switch (type.toLowerCase()) {
        // css files can be reloaded dynamically by replacing the link element                               
        case "text/css":
          var link = currentLinkElements[url],
              html = document.body.parentNode,
              head = link.parentNode,
              next = link.nextSibling,
              newLink = document.createElement("link");

          html.className = html.className.replace(/\s*livejs\-loading/gi, '') + ' livejs-loading';
          newLink.setAttribute("type", "text/css");
          newLink.setAttribute("rel", "stylesheet");
          newLink.setAttribute("href", url + "?now=" + new Date() * 1);
          next ? head.insertBefore(newLink, next) : head.appendChild(newLink);
          currentLinkElements[url] = newLink;
          oldLinkElements[url] = link;

          // schedule removal of the old link
          Live.removeoldLinkElements();
          break;

        // check if an html resource is our current url, then reload                               
        case "text/html":
          if (url != document.location.href)
            return;

          // local javascript changes cause a reload as well
        case "text/javascript":
        case "application/javascript":
        case "application/x-javascript":
          document.location.reload();
      }
    }