alberto-acevedo / cesium-navigation

Cesium plugin that adds to the Cesium map a compass, navigator (zoom in/out), and distance scale.
299 stars 126 forks source link

CSS Style a not only for class #18

Closed strech345 closed 8 years ago

strech345 commented 8 years ago

please replace .markdown u, a : hover { text - decoration : underline }

to .markdown u, .markdown a : hover { text - decoration : underline }

ohterwise it replace for all a

alberto-acevedo commented 8 years ago

strech345,

I will make the correction. Are you using the latest version 1.0.2 of the plugin that uses the mixin design pattern?

Thanks,

Alberto

strech345 commented 8 years ago

How does it work without having a css file? Im wondering, that there is no css to include.

Larcius commented 8 years ago

The project contains several "less" files which are then included in the built javascript file. This is done by using the nodejs package "require-less" (https://github.com/guybedford/require-less). It works regardless whether your are using the mixin as standalone or via requirejs.

Just have a look at the example, open your developer tools, switch to Elements tab and check the <head> section. There you can find the appended style

<style type="text/css">.full-window{...
alberto-acevedo commented 8 years ago

The markdown was modified in the styles. Closing this issue.