WordPress.org

Make WordPress Core

Changeset 26547


Ignore:
Timestamp:
12/02/2013 11:17:09 PM (6 years ago)
Author:
nacin
Message:

Add dashicons CSS classes for easy access by plugins and themes.

props dd32.
fixes #26227.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/css/dashicons.css

    r26378 r26547  
    1212    font-style: normal;
    1313}
     14
     15
     16.dashicons {
     17    display: inline-block;
     18    width: 16px;
     19    height: 16px;
     20    -webkit-font-smoothing: antialiased;
     21    font-size: 16px;
     22    line-height: 1;
     23    font-family: "dashicons";
     24    text-decoration: inherit;
     25    font-weight: normal;
     26    font-style: normal;
     27    vertical-align: top;
     28    -moz-transition: color .1s ease-in 0;
     29    -webkit-transition: color .1s ease-in 0;
     30    text-align: center;
     31}
     32
     33
     34/* Admin Menu Icons */
     35
     36.dashicons-menu:before {
     37    content:"\f333";
     38}
     39
     40.dashicons-site:before {
     41    content:"\f319";
     42}
     43
     44.dashicons-admin-dashboard:before {
     45    content: "\f102";
     46    margin-top: 6px;
     47}
     48
     49.dashicons-admin-media:before {
     50    content: "\f104";
     51}
     52
     53.dashicons-admin-page:before {
     54    content: "\f105";
     55}
     56
     57.dashicons-admin-comments:before {
     58    content: "\f101";
     59}
     60
     61.dashicons-admin-appearance:before {
     62    content: "\f100";
     63}
     64
     65.dashicons-admin-plugins:before {
     66    content: "\f106";
     67}
     68
     69.dashicons-admin-users:before {
     70    content: "\f110";
     71}
     72
     73.dashicons-admin-tools:before {
     74    content: "\f107";
     75}
     76
     77.dashicons-admin-settings:before {
     78    content: "\f108";
     79}
     80
     81.dashicons-admin-site:before {
     82    content: "\f112";
     83}
     84
     85.dashicons-admin-generic:before {
     86    content: "\f111";
     87}
     88
     89.dashicons-admin-collapse:before {
     90    content:"\f148";
     91}
     92
     93
     94/* Both */
     95
     96.dashicons-admin-links:before,
     97.dashicons-format-links:before {
     98    content: "\f103";
     99}
     100
     101.dashicons-admin-post:before,
     102.dashicons-format-standard:before {
     103    content: "\f109";
     104}
     105
     106
     107/* Post Format Icons */
     108
     109.dashicons-format-image:before {
     110    content: "\f128";
     111}
     112
     113.dashicons-format-gallery:before {
     114    content: "\f161";
     115}
     116
     117.dashicons-format-audio:before {
     118    content: "\f127";
     119}
     120
     121.dashicons-format-video:before {
     122    content: "\f126";
     123}
     124
     125.dashicons-format-chat:before {
     126    content: "\f125";
     127}
     128
     129.dashicons-format-status:before {
     130    content: "\f130";
     131}
     132
     133.dashicons-format-aside:before {
     134    content: "\f123";
     135}
     136
     137.dashicons-format-quote:before {
     138    content: "\f122";
     139}
     140
     141
     142/* Welcome Screen Icons */
     143
     144.dashicons-welcome-write-blog:before,
     145.dashicons-welcome-edit-page:before {
     146    content:"\f119";
     147}
     148
     149.dashicons-welcome-add-page:before {
     150    content:"\f133";
     151}
     152
     153.dashicons-welcome-view-site:before {
     154    content:"\f115";
     155}
     156
     157.dashicons-welcome-widgets-menus:before {
     158    content:"\f116";
     159}
     160
     161.dashicons-welcome-comments:before {
     162    content:"\f117";
     163}
     164
     165.dashicons-welcome-learn-more:before {
     166    content:"\f118";
     167}
     168
     169
     170/* Image Editing Icons */
     171
     172.dashicons-imgedit-crop:before {
     173    content:"\f165";
     174}
     175
     176.dashicons-imgedit-rleft:before {
     177    content:"\f166";   
     178}
     179
     180.dashicons-imgedit-rright:before {
     181    content:"\f167";
     182}
     183
     184.dashicons-imgedit-flipv:before {
     185    content:"\f168";
     186}
     187
     188.dashicons-imgedit-fliph:before {
     189    content:"\f169";
     190}
     191
     192.dashicons-imgedit-undo:before {
     193    content:"\f171";
     194}
     195
     196.dashicons-imgedit-redo:before {
     197    content:"\f172";
     198}
     199
     200
     201/* Post Icons */
     202
     203.dashicons-align-left:before {
     204    content:"\f135";
     205}
     206
     207.dashicons-align-right:before {
     208    content:"\f136";
     209}
     210
     211.dashicons-align-center:before {
     212    content:"\f134";
     213}
     214
     215.dashicons-align-none:before {
     216    content:"\f138";
     217}
     218
     219.dashicons-lock:before {
     220    content:"\f160";
     221}
     222
     223.dashicons-calendar:before {
     224    content:"\f145";
     225}
     226
     227.dashicons-visibility:before {
     228    content:"\f177";
     229}
     230
     231.dashicons-post-status:before {
     232    content:"\f173";
     233}
     234
     235.dashicons-post-trash:before {
     236    content:"\f182";
     237}
     238
     239.dashicons-edit:before {
     240    content:"\f327";
     241}
     242
     243.dashicons-trash:before {
     244    content:"\f458";
     245}
     246
     247
     248/* TinyMCE Icons */
     249
     250.dashicons-editor-bold:before {
     251    content:"\f200";   
     252}
     253
     254.dashicons-editor-italic:before {
     255    content:"\f201";   
     256}
     257
     258.dashicons-editor-ul:before {
     259    content:"\f203";   
     260}
     261
     262.dashicons-editor-ol:before {
     263    content:"\f204";   
     264}
     265
     266.dashicons-editor-quote:before {
     267    content:"\f205";   
     268}
     269
     270.dashicons-editor-alignleft:before {
     271    content:"\f206";   
     272}
     273
     274.dashicons-editor-aligncenter:before {
     275    content:"\f207";   
     276}
     277
     278.dashicons-editor-alignright:before {
     279    content:"\f208";   
     280}
     281
     282.dashicons-editor-insertmore:before {
     283    content:"\f209";   
     284}
     285
     286.dashicons-editor-spellcheck:before {
     287    content:"\f210";   
     288}
     289
     290.dashicons-editor-distractionfree:before {
     291    content:"\f211";   
     292}
     293
     294.dashicons-editor-kitchensink:before {
     295    content:"\f212";   
     296}
     297
     298.dashicons-editor-underline:before {
     299    content:"\f213";   
     300}
     301
     302.dashicons-editor-justify:before {
     303    content:"\f214";   
     304}
     305
     306.dashicons-editor-textcolor:before {
     307    content:"\f215";   
     308}
     309
     310.dashicons-editor-word:before {
     311    content:"\f216";   
     312}
     313
     314.dashicons-editor-plaintext:before {
     315    content:"\f217";   
     316}
     317
     318.dashicons-editor-removeformatting:before {
     319    content:"\f218";
     320}
     321
     322.dashicons-editor-video:before {
     323    content:"\f219";
     324}
     325
     326.dashicons-editor-customchar:before {
     327    content:"\f220";
     328}
     329
     330.dashicons-editor-outdent:before {
     331    content:"\f221";
     332}
     333
     334.dashicons-editor-indent:before {
     335    content:"\f222";
     336}
     337
     338.dashicons-editor-help:before {
     339    content:"\f223";
     340}
     341
     342.dashicons-editor-strikethrough:before {
     343    content:"\f224";
     344}
     345
     346.dashicons-editor-unlink:before {
     347    content:"\f225";
     348}
     349
     350.dashicons-editor-rtl:before {
     351    content:"\f320";
     352}
     353
     354
     355/* Sorting */
     356
     357.dashicons-arr-up:before {
     358    content:"\f142";
     359}
     360
     361.dashicons-arr-down:before {
     362    content:"\f140";
     363}
     364
     365.dashicons-arr-left:before {
     366    content:"\f141";
     367}
     368
     369.dashicons-arr-right:before {
     370    content:"\f139";
     371}
     372
     373.dashicons-arr-alt1-up:before {
     374    content:"\f342";
     375}
     376
     377.dashicons-arr-alt1-down:before {
     378    content:"\f346";
     379}
     380
     381.dashicons-arr-alt1-left:before {
     382    content:"\f340";
     383}
     384
     385.dashicons-arr-alt1-right:before {
     386    content:"\f344";
     387}
     388
     389.dashicons-arr-alt2-up:before {
     390    content:"\f343";
     391}
     392
     393.dashicons-arr-alt2-down:before {
     394    content:"\f347";
     395}
     396
     397.dashicons-arr-alt2-left:before {
     398    content:"\f341";
     399}
     400
     401.dashicons-arr-alt2-right:before {
     402    content:"\f345";
     403}
     404
     405.dashicons-leftright:before {
     406    content:"\f229";
     407}
     408
     409.dashicons-sort:before {
     410    content:"\f156";
     411}
     412
     413.dashicons-list-view:before {
     414    content:"\f163";
     415}
     416
     417.dashicons-exerpt-view:before {
     418    content:"\f164";
     419}
     420
     421
     422/* Social Icons */
     423
     424.dashicons-share:before {
     425    content:"\f237";
     426}
     427
     428.dashicons-share1:before {
     429    content:"\f237";
     430}
     431
     432.dashicons-share2:before {
     433    content:"\f240";
     434}
     435
     436.dashicons-share3:before {
     437    content:"\f242";
     438}
     439
     440.dashicons-twitter1:before {
     441    content:"\f301";
     442}
     443
     444.dashicons-twitter2:before {
     445    content:"\f302";
     446}
     447
     448.dashicons-rss:before {
     449    content:"\f303";
     450}
     451
     452.dashicons-facebook1:before {
     453    content:"\f304";
     454}
     455
     456.dashicons-facebook2:before {
     457    content:"\f305";
     458}
     459
     460.dashicons-network:before {
     461    content:"\f325";
     462}
     463
     464
     465/* Jobs Icons */
     466
     467.dashicons-jobs-developers:before {
     468    content:"\f308";
     469}
     470
     471.dashicons-jobs-designers:before {
     472    content:"\f309";
     473}
     474
     475.dashicons-jobs-migration:before {
     476    content:"\f310";
     477}
     478
     479.dashicons-jobs-performance:before {
     480    content:"\f311";
     481}
     482
     483
     484/* Internal/Products */
     485
     486.dashicons-wordpress:before {
     487    content:"\f120";
     488}
     489
     490.dashicons-wordpress-single-ring:before {
     491    content:"\f324";   
     492}
     493
     494.dashicons-pressthis:before {
     495    content:"\f157";
     496}
     497
     498.dashicons-update:before {
     499    content:"\f113";
     500}
     501
     502.dashicons-screenoptions:before {
     503    content:"\f180";
     504}
     505
     506.dashicons-info:before {
     507    content:"\f348";
     508}
     509
     510.dashicons-cart:before {
     511    content:"\f174";
     512}
     513
     514.dashicons-feedback:before {
     515    content:"\f175";
     516}
     517
     518.dashicons-cloud:before {
     519    content:"\f176";
     520}
     521
     522.dashicons-translation:before {
     523    content:"\f326";
     524}
     525
     526
     527/* Taxonomies */
     528
     529.dashicons-tag:before {
     530    content:"\f323";
     531}
     532
     533.dashicons-category:before {
     534    content:"\f318";
     535}
     536
     537
     538/* Alerts/Notifications/Flags */
     539
     540.dashicons-yes:before {
     541    content:"\f147";
     542}
     543
     544.dashicons-no:before {
     545    content:"\f158";
     546}
     547
     548.dashicons-no-alt:before {
     549    content:"\f335";
     550}
     551
     552.dashicons-plus:before {
     553    content:"\f132";
     554}
     555
     556.dashicons-minus:before {
     557    content:"\f460";
     558}
     559
     560.dashicons-xit:before {
     561    content:"\f153";
     562}
     563
     564.dashicons-marker:before {
     565    content:"\f159";
     566}
     567
     568.dashicons-star-filled:before {
     569    content:"\f155";
     570}
     571
     572.dashicons-star-half:before {
     573    content:"\f459";
     574}
     575
     576.dashicons-star-empty:before {
     577    content:"\f154";
     578}
     579
     580.dashicons-flag:before {
     581    content:"\f227";
     582}
     583
     584
     585/* Misc/CPT */
     586
     587.dashicons-location:before {
     588    content:"\f230";
     589}
     590
     591.dashicons-location-alt:before {
     592    content:"\f231";
     593}
     594
     595.dashicons-camera2:before {
     596    content:"\f306";
     597}
     598
     599.dashicons-images-alt1:before {
     600    content:"\f232";
     601}
     602
     603.dashicons-images-alt2:before {
     604    content:"\f233";
     605}
     606
     607.dashicons-video-alt1:before {
     608    content:"\f234";
     609}
     610
     611.dashicons-video-alt2:before {
     612    content:"\f235";
     613}
     614
     615.dashicons-video-alt3:before {
     616    content:"\f236";
     617}
     618
     619.dashicons-vault:before {
     620    content:"\f178";
     621}
     622
     623.dashicons-shield:before {
     624    content:"\f332";
     625}
     626
     627.dashicons-shield-alt:before {
     628    content:"\f334";
     629}
     630
     631.dashicons-search:before {
     632    content:"\f179";
     633}
     634
     635.dashicons-slides:before {
     636    content:"\f181";
     637}
     638
     639.dashicons-analytics:before {
     640    content:"\f183";
     641}
     642
     643.dashicons-piechart:before {
     644    content:"\f184";
     645}
     646
     647.dashicons-bargraph:before {
     648    content:"\f185";
     649}
     650
     651.dashicons-bargraph2:before {
     652    content:"\f238";
     653}
     654
     655.dashicons-bargraph3:before {
     656    content:"\f239";
     657}
     658
     659.dashicons-gauge:before {
     660    content:"\f226";
     661}
     662
     663.dashicons-groups:before {
     664    content:"\f307";
     665}
     666
     667.dashicons-businessman:before {
     668    content:"\f338";
     669}
     670
     671.dashicons-id:before {
     672    content:"\f336";
     673}
     674
     675.dashicons-id-alt:before {
     676    content:"\f337";
     677}
     678
     679.dashicons-products:before {
     680    content:"\f312";
     681}
     682
     683.dashicons-awards:before {
     684    content:"\f313";
     685}
     686
     687.dashicons-forms:before {
     688    content:"\f314";
     689}
     690
     691.dashicons-portfolio:before {
     692    content:"\f322";
     693}
     694
     695.dashicons-book:before {
     696    content:"\f330";
     697}
     698
     699.dashicons-book-alt:before {
     700    content:"\f331";
     701}
     702
     703.dashicons-arrow-down:before {
     704    content:"\f316";
     705}
     706
     707.dashicons-arrow-up:before {
     708    content:"\f317";
     709}
     710
     711.dashicons-backup:before {
     712    content:"\f321";
     713}
     714
     715.dashicons-lightbulb:before {
     716    content:"\f339";
     717}
     718
     719.dashicons-smiley:before {
     720    content:"\f328";
     721}
     722
Note: See TracChangeset for help on using the changeset viewer.