简体   繁体   English

在Windows中哪里可以找到罗盘的源文件?

[英]Where can I find compass's source files in Windows?

I want to be able to use a very few select the compass mixin's but don't want to have to use compass like this, ie use compass at all: 我希望能够使用很少的选择compass混音,但又不想使用这样的compass ,即完全使用罗盘:

 @import "compass";
 @import "compass/reset";
 @import "compass/css3";

So, are the mixin's installed somewhere on my computer? 那么,mixin是否安装在我的计算机上? I have look in places similar to and including this path: 我在与以下路径相似的地方进行了查找:

 C:\Ruby200-x64\lib\ruby\gems\2.0.0\gems\compass-0.12.2\examples\css3\src

Maybe I am thinking about this in the incorrect way? 也许我在以错误的方式考虑这个问题?

I'm not sure that you can actually view the source files once the are installed. 我不确定安装后实际上是否可以查看源文件。 Since Compass is open source, you can view everything on Github: https://github.com/Compass/compass/tree/stable/core/stylesheets/compass 由于Compass是开源的,因此您可以在Github上查看所有内容: https : //github.com/Compass/compass/tree/stable/core/stylesheets/compass

For example, here is a mixin from css3/border-radius : 例如,这是来自css3/border-radius的mixin:

@mixin border-corner-radius($vert, $horz, $radius: $default-border-radius) {
  @include with-each-prefix(border-radius, $border-radius-threshold) {
    @if $current-prefix == -moz {
      // Support for mozilla's syntax for specifying a corner
      @include prefix-prop("border-radius-#{$vert}#{$horz}", $radius);
    } @else {
      // Official syntax for everyone else
      @include prefix-prop("border-#{$vert}-#{$horz}-radius", $radius);
    }
  }
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 指南针找不到任何要编译的Sass文件 - Compass can't find any Sass files to compile 在哪里可以找到 Javascript `typeof` 运算符的源代码? - Where can I find the source code for the Javascript `typeof` operator? 我在哪里可以找到 Prettier 的默认规则列表? - Where can I find the list of Prettier's default rules? 套接字无法在前端找到源文件 - Sockets can't find source files in frontend 在哪里可以找到我的代码中模型“ Item”的路径“ _id”的值“ create”的Cast to ObjectId的源失败 - Where can I find the source of Cast to ObjectId failed for value “create” at path “_id” for model “Item” in my code 我在哪里可以找到 deepEqual() 函数的源代码,它在特定参数中返回 true? - Where I can find source code of deepEqual() function, that returns true in specific arguments? 我如何找到HTML的来源 - How can i find source of html 我在哪里可以找到ui.core和ui.tabs js文件? - Where can I find ui.core and ui.tabs js files? 我可以在 asp.net webAPI 应用程序的项目文件中找到脚本? - Where I can find script in project files in asp.net webAPI app? 如果我有应用程序的源代码和 macOS 和 Windows 安装程序,我如何才能找到用于构建应用程序的 Node.js 版本? - if I have source code and macOS and Windows installers for an app, how can I find what version of Node.js was used to build the app?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM