|  09-06-2016, 03:14 PM | #16 | 
| Grand Sorcerer            Posts: 6,269 Karma: 16544702 Join Date: Sep 2009 Location: UK Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3 | 
			
			In this particular case I don't believe calibre 'Delete unused styles' would delete either of those 2 classes. Even though one of them has overridden the other, both are still considered as 'used'. I don't know whether Sigil does it differently.
		 | 
|   |   | 
|  09-06-2016, 03:40 PM | #17 | |
| Well trained by Cats            Posts: 31,251 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
  I have been using the editor with the Preview on the Portrait Monitor. There are many things I go right to the Calibre editor for (Many involve simple Image manipulations  ) | |
|   |   | 
|  09-06-2016, 03:59 PM | #18 | |
| Well trained by Cats            Posts: 31,251 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
 Back to the Topic With the find tools available, sorting becomes mostly a cosmetic (like 'Pretty Print' ) item. | |
|   |   | 
|  09-06-2016, 05:26 PM | #19 | 
| Grand Sorcerer            Posts: 6,686 Karma: 12595249 Join Date: Jun 2009 Location: Madrid, Spain Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2 | |
|   |   | 
|  09-06-2016, 11:56 PM | #20 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			As far as duplicates are concerned: https://github.com/kovidgoyal/calibr...3c51e363d7959a
		 | 
|   |   | 
|  09-07-2016, 12:22 AM | #21 | |
| Well trained by Cats            Posts: 31,251 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
   | |
|   |   | 
|  09-07-2016, 01:35 AM | #22 | 
| Grand Sorcerer            Posts: 6,686 Karma: 12595249 Join Date: Jun 2009 Location: Madrid, Spain Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2 | |
|   |   | 
|  09-07-2016, 03:17 AM | #23 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Well, if you dont care about maintaining 100% accuracy in the resolved styles, simply sorting selectors is pretty trivial to implement, about 30 lines of code. https://github.com/kovidgoyal/calibr...fe8ba3b03acf03
		 | 
|   |   | 
|  09-07-2016, 04:53 AM | #24 | |
| Grand Sorcerer            Posts: 6,686 Karma: 12595249 Join Date: Jun 2009 Location: Madrid, Spain Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2 | Quote: 
 | |
|   |   | 
|  09-07-2016, 06:12 AM | #25 | 
| Wizard            Posts: 2,625 Karma: 3120635 Join Date: Jan 2009 Device: Kindle PW3 (wifi) |      Thank you very much | 
|   |   | 
|  09-07-2016, 07:27 AM | #26 | |
| Evangelist            Posts: 432 Karma: 1720909 Join Date: Mar 2011 Device: Voyage, K3 | Quote: 
   Thanks for the enlightenment!  So much easier than searching a large CSS file. | |
|   |   | 
|  09-07-2016, 01:57 PM | #27 | 
| Interested in the matter            Posts: 421 Karma: 426094 Join Date: Dec 2011 Location: Spain, south coast Device: Pocketbook InkPad 3 | 
			
			Thank Kovid! you're a machine.
		 | 
|   |   | 
|  09-07-2016, 02:36 PM | #28 | 
| Wizard            Posts: 1,090 Karma: 447222 Join Date: Jan 2009 Location: Valley Forge, PA, USA Device: Kindle Paperwhite | |
|   |   | 
|  09-07-2016, 02:45 PM | #29 | |
| Grand Sorcerer            Posts: 28,883 Karma: 207000000 Join Date: Jan 2010 Device: Nexus 7, Kindle Fire HD | Quote: 
 | |
|   |   | 
|  09-07-2016, 10:52 PM | #30 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | |
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| stylesheet.CSS anyone? | ProDigit | ePub | 81 | 12-26-2015 01:43 PM | 
| User agent stylesheet: a proposal | roger64 | Editor | 4 | 12-27-2014 02:00 AM | 
| Converting cm to em in css stylesheet | roger64 | ePub | 41 | 06-13-2014 01:00 PM | 
| How to maintain a global CSS stylesheet | amoroso | Sigil | 7 | 07-18-2010 08:37 PM | 
| Where is the stylesheet.css? | roger64 | Sigil | 4 | 03-23-2010 02:12 PM |