~and471/light-themes/desktop-panels-929665

« back to all changes in this revision

Viewing changes to Ambiance/gtk-3.0/gtk-widgets.css

  • Committer: Andrea Cimitan
  • Date: 2012-02-08 12:55:19 UTC
  • Revision ID: andrea.cimitan@canonical.com-20120208125519-n31gkqwb4bxgzyyo
Big changes to support gtk 3.3.14, unico engine upgrade required

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
    -GtkHTML-link-color: @link_color;
19
19
    -GtkIMHtml-hyperlink-color: @link_color;
20
20
    -GtkMenu-horizontal-padding: 0;
21
 
    -GtkMenu-vertical-padding: 5;  
 
21
    -GtkMenu-vertical-padding: 5px;  
22
22
    -GtkMenuBar-internal-padding: 0;
23
23
    -GtkMenuItem-arrow-scaling: 0.6;
24
24
    -GtkNotebook-tab-overlap: 1;
45
45
    -GtkTreeView-expander-size: 8;
46
46
    -GtkTreeView-vertical-separator: 0;
47
47
    -GtkWidget-wide-separators: true;
48
 
    -GtkWidget-separator-width: 2;
 
48
    -GtkWidget-separator-width: 2px;
49
49
    -GtkWidget-separator-height: 2;
50
50
    -GtkWidget-focus-padding: 0;
51
 
    -GtkWidget-focus-line-width: 1;
 
51
    -GtkWidget-focus-line-width: 1px;
52
52
    -GtkWidget-link-color: @link_color;
53
53
    -GtkWidget-visited-link-color: @link_color;
54
54
    -GtkWindow-resize-grip-default: false;
55
55
    -WnckTasklist-fade-overlay-rect: 0;
56
56
 
57
 
    border-width: 1;
 
57
    border-width: 1px;
58
58
 
59
59
    engine: unico;
60
60
 
67
67
    -unico-inner-stroke-width: 0;
68
68
}
69
69
 
 
70
GtkWindow {
 
71
    color: @fg_color;
 
72
}
 
73
 
 
74
* {
 
75
    /* inherit the color from parent by default */
 
76
    color: inherit;
 
77
    background-color: @bg_color;
 
78
}
 
79
 
70
80
/**********
71
81
 * states *
72
82
 **********/
112
122
.notebook {
113
123
    -unico-inner-stroke-color: alpha (shade (@bg_color, 1.26), 0.2);
114
124
    -unico-inner-stroke-gradient: none;
115
 
    -unico-inner-stroke-width: 1;
 
125
    -unico-inner-stroke-width: 1px;
116
126
}
117
127
 
118
128
.button:insensitive,
133
143
    -unico-outer-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
134
144
                                                 from (alpha (shade (@bg_color, 0.85), 0.2)),
135
145
                                                 to (alpha (shade (@bg_color, 1.25), 0.6)));
136
 
    -unico-outer-stroke-width: 1;
 
146
    -unico-outer-stroke-width: 1px;
137
147
}
138
148
 
139
149
/* shadow */
146
156
    -unico-outer-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
147
157
                                                 from (alpha (@bg_color, 0.00)),
148
158
                                                 to (alpha (shade (@bg_color, 1.25), 0.5)));
149
 
    -unico-outer-stroke-width: 1;
 
159
    -unico-outer-stroke-width: 1px;
150
160
}
151
161
/*
152
162
.button:hover,
156
166
    -unico-outer-stroke-bottom-color: alpha (shade (@bg_color, 0.05), 0.06);
157
167
    -unico-outer-stroke-left-color: @transparent;
158
168
    -unico-outer-stroke-gradient: none;
159
 
    -unico-outer-stroke-width: 1;
 
169
    -unico-outer-stroke-width: 1px;
160
170
}
161
171
*/
162
172
/*************
172
182
    border-right-color: shade (@bg_color, 0.8);
173
183
    border-radius: 0;
174
184
    border-style: solid;
175
 
    border-width: 0 1 0 0;
176
 
    padding: 12;
 
185
    border-width: 0 1px 0 0;
 
186
    padding: 12px;
177
187
 
178
188
    color: mix (@fg_color, @bg_color, 0.40);
179
189
    text-shadow: 0 1 shade (@bg_color, 1.04);
180
190
 
181
191
    -unico-border-gradient: none;
182
192
    -unico-inner-stroke-right-color: shade (@bg_color, 0.94);
183
 
    -unico-inner-stroke-width: 0 1 0 0;
 
193
    -unico-inner-stroke-width: 0 1px 0 0;
184
194
    -unico-outer-stroke-width: 0;
185
195
}
186
196
 
196
206
 * button *
197
207
 **********/
198
208
.button {
 
209
    padding: 3px;
 
210
 
199
211
    -unico-focus-border-color: alpha (@selected_bg_color, 0.7);
200
212
    -unico-focus-fill-color: @transparent;
201
213
    -unico-focus-outer-stroke-color: alpha (@selected_bg_color, 0.2);
207
219
    background-image: -gtk-gradient (linear, left top, left bottom,
208
220
                                     from (shade (@button_bg_color, 1.1)),
209
221
                                     to (shade (@button_bg_color, 0.9)));
210
 
    border-radius: 3;
 
222
    border-radius: 3px;
211
223
    border-style: solid;
212
224
 
213
225
    text-shadow: 0 1 alpha (shade (@button_bg_color, 1.25), 0.4);
222
234
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
223
235
                                                 from (shade (@button_bg_color, 1.16)),
224
236
                                                 to (shade (@button_bg_color, 1.015)));
225
 
    -unico-inner-stroke-width: 1;
 
237
    -unico-inner-stroke-width: 1px;
226
238
}
227
239
 
228
240
GtkScale.slider:hover,
306
318
    border-right-color: shade (@bg_color, 0.78);
307
319
    border-bottom-color: shade (@bg_color, 0.64);
308
320
    border-left-color: shade (@bg_color, 0.78);
309
 
    padding: 1;
 
321
    padding: 3px;
310
322
 
311
323
    text-shadow: 0 1 alpha (shade (@bg_color, 1.26), 0.5);
312
324
 
479
491
                                     to (shade (@selected_bg_color, 0.94)));
480
492
    border-top-color: shade (@selected_bg_color, 0.88);
481
493
    border-style: solid;
482
 
    border-width: 1 0 0 0;
 
494
    border-width: 1px 0 0 0;
483
495
 
484
496
    color: @selected_fg_color;
485
497
}
504
516
    border-bottom-color: shade (@bg_color, 0.82);
505
517
    border-left-color: shade (@bg_color, 0.76);
506
518
    border-style: solid;
507
 
    border-width: 1;
 
519
    border-width: 1px;
508
520
 
509
521
    -unico-border-gradient: none;
510
522
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
511
523
                                                 from (alpha (shade (@bg_color, 0.05), 0.06)),
512
524
                                                 to (alpha (shade (@bg_color, 0.05), 0.03)));
513
 
    -unico-inner-stroke-width: 1;
 
525
    -unico-inner-stroke-width: 1px;
514
526
}
515
527
 
516
528
.check,
517
529
.check row {
518
 
    border-radius: 3;
 
530
    border-radius: 3px;
519
531
}
520
532
 
521
533
.radio,
522
534
.radio row {
523
 
    border-radius: 10;
 
535
    border-radius: 10px;
524
536
}
525
537
 
526
538
.check:active,
548
560
    -unico-outer-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
549
561
                                                 from (alpha (shade (@bg_color, 0.05), 0.02)),
550
562
                                                 to (alpha (shade (@bg_color, 0.05), 0.06)));
551
 
    -unico-outer-stroke-width: 1;
 
563
    -unico-outer-stroke-width: 1px;
552
564
}
553
565
 
554
566
.check:active:hover,
618
630
.notebook column-header .button,
619
631
.notebook column-header .button:active {
620
632
    border-radius: 0;
621
 
    border-width: 0 1 1 0;
 
633
    border-width: 0 1px 1px 0;
622
634
 
623
635
    -unico-focus-border-radius: 0;
624
636
    -unico-focus-border-color: @transparent;
661
673
}
662
674
 
663
675
column-header:nth-child(last) .button {
664
 
    border-width: 0 0 1 0;
 
676
    border-width: 0 0 1px 0;
665
677
}
666
678
 
667
679
/******************
677
689
GtkComboBox.combobox-entry .entry:insensitive {
678
690
    border-top-right-radius: 0;
679
691
    border-bottom-right-radius: 0;
680
 
    border-width: 1 0 1 1;
 
692
    border-width: 1px 0 1px 1px;
681
693
 
682
 
    -unico-outer-stroke-width: 1 0 1 1;
 
694
    -unico-outer-stroke-width: 1px 0 1px 1px;
683
695
}
684
696
 
685
697
.primary-toolbar GtkComboBox.combobox-entry .button,
692
704
GtkComboBox.combobox-entry .button:insensitive {
693
705
    border-top-left-radius: 0;
694
706
    border-bottom-left-radius: 0;
695
 
    border-width: 1 1 1 1;
 
707
    border-width: 1px 1px 1px 1px;
696
708
 
697
 
    -unico-outer-stroke-width: 1 1 1 0;
 
709
    -unico-outer-stroke-width: 1px 1px 1px 0;
698
710
}
699
711
 
700
712
GtkComboBox.combobox-entry .button,
725
737
    border-right-color: shade (@bg_color, 0.76);
726
738
    border-bottom-color: shade (@bg_color, 0.82);
727
739
    border-left-color: shade (@bg_color, 0.76);
728
 
    border-radius: 3;
 
740
    border-radius: 3px;
729
741
    border-style: solid;
 
742
    padding: 3px 5px 3px 5px;
730
743
 
731
744
    -unico-border-gradient: none;
732
745
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
733
746
                                                 from (alpha (shade (@bg_color, 0.05), 0.04)),
734
747
                                                 to (alpha (shade (@bg_color, 0.05), 0.02)));
735
 
    -unico-inner-stroke-width: 1;
 
748
    -unico-inner-stroke-width: 1px;
736
749
}
737
750
 
738
751
.entry:selected,
766
779
                                     from (shade (@selected_bg_color, 0.8)),
767
780
                                     color-stop (0.1, shade (@selected_bg_color, 0.9)),
768
781
                                     to (shade (@selected_bg_color, 1.1)));
769
 
    border-radius: 3;
 
782
    border-radius: 3px;
770
783
    border-width: 0;
771
784
 
772
785
    color: @selected_fg_color;
785
798
 * frame *
786
799
 *********/
787
800
.frame {
788
 
    border-radius: 3;
 
801
    border-radius: 3px;
789
802
 
790
803
    -unico-outer-stroke-width: 0;
791
804
}
798
811
    background-image: -gtk-gradient (linear, left top, left bottom,
799
812
                                     from (shade (@selected_bg_color, 1.0)),
800
813
                                     to (shade (@selected_bg_color, 0.9)));
801
 
    border-radius: 4;
 
814
    border-radius: 4px;
802
815
    border-style: solid;
803
 
    border-width: 1;
 
816
    border-width: 1px;
804
817
 
805
818
    color: @selected_fg_color;
806
819
 
812
825
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
813
826
                                                 from (shade (@selected_bg_color, 1.2)),
814
827
                                                 to (shade (@selected_bg_color, 1.08)));
815
 
    -unico-inner-stroke-width: 1;
 
828
    -unico-inner-stroke-width: 1px;
816
829
}
817
830
 
818
831
.rubberband {
820
833
    border-color: @selected_bg_color;
821
834
    border-radius: 0;
822
835
    border-style: solid;
823
 
    border-width: 1;
 
836
    border-width: 1px;
824
837
}
825
838
 
826
839
/*********
838
851
                                     from (shade (@info_bg_color, 1.04)),
839
852
                                     to (shade (@info_bg_color, 0.96)));
840
853
    border-style: solid;
841
 
    border-width: 1;
 
854
    border-width: 1px;
842
855
 
843
856
    color: @info_fg_color;
844
857
 
848
861
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
849
862
                                                 from (shade (@info_bg_color, 1.1)),
850
863
                                                 to (shade (@info_bg_color, 1.04)));
851
 
    -unico-inner-stroke-width: 1;
 
864
    -unico-inner-stroke-width: 1px;
852
865
}
853
866
 
854
867
.warning {
856
869
                                     from (shade (@warning_bg_color, 1.04)),
857
870
                                     to (shade (@warning_bg_color, 0.96)));
858
871
    border-style: solid;
859
 
    border-width: 1;
 
872
    border-width: 1px;
860
873
 
861
874
    color: @warning_fg_color;
862
875
 
866
879
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
867
880
                                                 from (shade (@warning_bg_color, 1.1)),
868
881
                                                 to (shade (@warning_bg_color, 1.04)));
869
 
    -unico-inner-stroke-width: 1;
 
882
    -unico-inner-stroke-width: 1px;
870
883
}
871
884
 
872
885
.question {
874
887
                                     from (shade (@question_bg_color, 1.04)),
875
888
                                     to (shade (@question_bg_color, 0.96)));
876
889
    border-style: solid;
877
 
    border-width: 1;
 
890
    border-width: 1px;
878
891
 
879
892
    color: @question_fg_color;
880
893
 
884
897
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
885
898
                                                 from (shade (@question_bg_color, 1.1)),
886
899
                                                 to (shade (@question_bg_color, 1.04)));
887
 
    -unico-inner-stroke-width: 1;
 
900
    -unico-inner-stroke-width: 1px;
888
901
}
889
902
 
890
903
.error {
892
905
                                     from (shade (@error_bg_color, 1.04)),
893
906
                                     to (shade (@error_bg_color, 0.96)));
894
907
    border-style: solid;
895
 
    border-width: 1;
 
908
    border-width: 1px;
896
909
 
897
910
    color: @error_fg_color;
898
911
 
902
915
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
903
916
                                                 from (shade (@error_bg_color, 1.1)),
904
917
                                                 to (shade (@error_bg_color, 1.04)));
905
 
    -unico-inner-stroke-width: 1;
 
918
    -unico-inner-stroke-width: 1px;
906
919
}
907
920
 
908
921
/********
920
933
    color: @fg_color;
921
934
 
922
935
    -unico-inner-stroke-gradient: none;
923
 
    -unico-inner-stroke-width: 1 1 0 1;
 
936
    -unico-inner-stroke-width: 1px 1px 0 1px;
924
937
}
925
938
 
926
939
.menubar .menu,
954
967
    background-image: none;
955
968
    border-radius: 0;
956
969
    border-style: none;
957
 
    border-width: 1;
 
970
    border-width: 1px;
958
971
 
959
972
    -unico-border-gradient: none;
960
973
    -unico-glow-radius: 0;
982
995
 * menubaritem *
983
996
 ***************/
984
997
.menubar.menuitem {
985
 
    border-radius: 4 4 0 0;
986
 
    border-width: 1 1 0 1;
 
998
    border-radius: 4px 4px 0 0;
 
999
    border-width: 1px 1px 0 1px;
987
1000
}
988
1001
 
989
1002
.menubar.menuitem:hover {
1000
1013
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
1001
1014
                                                 from (shade (@dark_bg_color, 1.5)),
1002
1015
                                                 to (shade (@dark_bg_color, 1.15)));
1003
 
    -unico-inner-stroke-width: 1;
 
1016
    -unico-inner-stroke-width: 1px;
1004
1017
}
1005
1018
 
1006
1019
/************
1018
1031
.menuitem {
1019
1032
    border-radius: 0;
1020
1033
    border-style: solid;
1021
 
    border-width: 1;
1022
 
    padding: 2;
 
1034
    border-width: 1px;
 
1035
    padding: 2px;
1023
1036
 
1024
 
    -unico-inner-stroke-width: 1;
 
1037
    -unico-inner-stroke-width: 1px;
1025
1038
}
1026
1039
 
1027
1040
.menubar .menuitem,
1158
1171
.notebook {
1159
1172
    background-color: shade (@bg_color, 1.02);
1160
1173
    background-image: none;
1161
 
    border-radius: 3;
1162
 
    padding: 3;
 
1174
    border-radius: 3px;
 
1175
    padding: 3px;
1163
1176
 
1164
1177
    -unico-inner-stroke-color: alpha (shade (@bg_color, 1.26), 0.3);
1165
1178
    -unico-inner-stroke-gradient: none;
1176
1189
                                           to (shade (@bg_color, 0.84)));
1177
1190
    -unico-inner-stroke-color: alpha (shade (@bg_color, 1.26), 0.34);
1178
1191
    -unico-inner-stroke-gradient: none;
1179
 
    -unico-inner-stroke-width: 1;
 
1192
    -unico-inner-stroke-width: 1px;
1180
1193
    -unico-outer-stroke-color: @transparent;
1181
1194
    -unico-outer-stroke-gradient: none;
1182
 
    -unico-outer-stroke-width: 1;
 
1195
    -unico-outer-stroke-width: 1px;
1183
1196
}
1184
1197
 
1185
1198
.notebook tab GtkLabel:active {
1191
1204
}
1192
1205
 
1193
1206
.notebook tab.top:active {
1194
 
    padding: 3 7 1 7;
 
1207
    padding: 3px 7px 1px 7px;
1195
1208
}
1196
1209
 
1197
1210
.notebook tab.top {
1198
 
    padding: 2 5 0 5;
 
1211
    padding: 2px 5px 0 5px;
1199
1212
 
1200
1213
    color: shade (@bg_color, 0.9);
1201
1214
}
1202
1215
 
1203
1216
.notebook tab.right:active {
1204
 
    padding: 4 6 4 1;
 
1217
    padding: 4px 6px 4px 1px;
1205
1218
}
1206
1219
 
1207
1220
.notebook tab.right {
1208
 
    padding: 3 4 3 0;
 
1221
    padding: 3px 4px 3px 0;
1209
1222
}
1210
1223
 
1211
1224
.notebook tab.bottom:active {
1212
 
    padding: 1 7 4 7;
 
1225
    padding: 1px 7px 4px 7px;
1213
1226
}
1214
1227
 
1215
1228
.notebook tab.bottom {
1216
 
    padding: 0 5 3 5;
 
1229
    padding: 0 5px 3px 5px;
1217
1230
}
1218
1231
 
1219
1232
.notebook tab.left:active {
1220
 
    padding: 4 1 4 6;
 
1233
    padding: 4px 1px 4px 6px;
1221
1234
}
1222
1235
 
1223
1236
.notebook tab.left {
1224
 
    padding: 3 0 3 4;
 
1237
    padding: 3px 0 3px 4px;
1225
1238
}
1226
1239
 
1227
1240
.notebook tab:active {
1249
1262
    -unico-border-gradient: none;
1250
1263
    -unico-inner-stroke-color: shade (@bg_color, 1.1);
1251
1264
    -unico-inner-stroke-gradient: none;
1252
 
    -unico-inner-stroke-width: 1;
 
1265
    -unico-inner-stroke-width: 1px;
1253
1266
}
1254
1267
 
1255
1268
/*************************
1257
1270
 *************************/
1258
1271
GtkScale,
1259
1272
GtkProgressBar {
1260
 
    border-radius: 8;
1261
 
    border-width: 1;
1262
 
    padding: 1;
 
1273
    border-radius: 8px;
 
1274
    border-width: 1px;
 
1275
    padding: 1px;
1263
1276
}
1264
1277
 
1265
1278
.scale.highlight.left,
1271
1284
    background-image: -gtk-gradient (linear, left top, left bottom,
1272
1285
                                     from (shade (@selected_bg_color, 1.13)),
1273
1286
                                     to (shade (@selected_bg_color, 0.9)));
1274
 
    border-width: 1;
 
1287
    border-width: 1px;
1275
1288
 
1276
1289
    -unico-border-gradient: -gtk-gradient (linear, left top, left bottom,
1277
1290
                                           from (shade (@selected_bg_color, 0.75)),
1279
1292
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
1280
1293
                                                 from (shade (@selected_bg_color, 1.22)),
1281
1294
                                                 to (shade (@selected_bg_color, 1.0)));
1282
 
    -unico-inner-stroke-width: 1;
 
1295
    -unico-inner-stroke-width: 1px;
1283
1296
    -unico-outer-stroke-color: @transparent;
1284
1297
    -unico-outer-stroke-gradient: none;
1285
1298
    -unico-outer-stroke-width: 0;
1307
1320
    background-image: -gtk-gradient (linear, left top, left bottom,
1308
1321
                                     from (shade (@bg_color, 0.92)),
1309
1322
                                     to (shade (@bg_color, 0.96)));
1310
 
    border-width: 1;
 
1323
    border-width: 1px;
1311
1324
 
1312
1325
    color: @text_color;
1313
1326
 
1368
1381
    -GtkScrollbar-has-forward-stepper: 0;
1369
1382
    -GtkRange-slider-width: 13;
1370
1383
 
1371
 
    border-radius:  20;
 
1384
    border-radius: 20px;
1372
1385
 
1373
1386
    -unico-border-gradient: -gtk-gradient (linear, left top, left bottom,
1374
1387
                                           from (shade (@bg_color, 0.74)),
1413
1426
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, right top,
1414
1427
                                                 from (shade (@bg_color, 1.2)),
1415
1428
                                                 to (shade (@bg_color, 1.0)));
1416
 
    -unico-inner-stroke-width: 1;
 
1429
    -unico-inner-stroke-width: 1px;
1417
1430
}
1418
1431
 
1419
1432
.scrollbar.slider.horizontal,
1554
1567
.spinbutton.button,
1555
1568
.notebook .spinbutton.button {
1556
1569
    border-radius: 0;
1557
 
    border-width: 1 0 1 1;
 
1570
    border-width: 1px 0 1px 1px;
1558
1571
 
1559
1572
    -unico-outer-stroke-width: 0;
1560
1573
}
1565
1578
.notebook .spinbutton.button:insensitive:nth-child(last),
1566
1579
.spinbutton.button:nth-child(last),
1567
1580
.notebook .spinbutton.button:nth-child(last) {
1568
 
    border-radius: 0 3 3 0;
1569
 
    border-width: 1;
 
1581
    border-radius: 0 3px 3px 0;
 
1582
    border-width: 1px;
1570
1583
}
1571
1584
 
1572
1585
.spinbutton.button,
1604
1617
 * switch *
1605
1618
 **********/
1606
1619
GtkSwitch {
1607
 
    border-radius: 4;
 
1620
    border-radius: 4px;
1608
1621
    padding: 0;
1609
1622
 
1610
1623
    -unico-focus-border-radius: 4;
1626
1639
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
1627
1640
                                                 from (shade (@bg_color, 0.78)),
1628
1641
                                                 to (shade (@bg_color, 0.86)));
1629
 
    -unico-inner-stroke-width: 1;
 
1642
    -unico-inner-stroke-width: 1px;
1630
1643
}
1631
1644
 
1632
1645
GtkSwitch.trough:active {
1672
1685
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
1673
1686
                                                 from (shade (@bg_color, 1.2)),
1674
1687
                                                 to (shade (@bg_color, 0.96)));
1675
 
    -unico-inner-stroke-width: 1;
 
1688
    -unico-inner-stroke-width: 1px;
1676
1689
    -unico-outer-stroke-width: 0;  
1677
1690
}
1678
1691
 
1700
1713
    border-bottom-color: shade (@dark_bg_color, 1.1);
1701
1714
    border-top-color: shade (@dark_bg_color, 1.1);
1702
1715
    border-style: solid;
1703
 
    border-width: 1 0 1 0;
1704
 
    padding: 2;
 
1716
    border-width: 1px 0 1px 0;
 
1717
    padding: 2px;
1705
1718
 
1706
1719
    color: @dark_fg_color;
1707
1720
    text-shadow: 0 -1 shade (@dark_bg_color, 0.7);
1709
1722
    -unico-border-gradient: none;
1710
1723
    -unico-inner-stroke-gradient: none;
1711
1724
    -unico-inner-stroke-top-color: shade (@dark_bg_color, 0.94);
1712
 
    -unico-inner-stroke-width: 1 0 0 0;
 
1725
    -unico-inner-stroke-width: 1px 0 0 0;
1713
1726
}
1714
1727
 
1715
1728
 
1723
1736
    background-color: @transparent;
1724
1737
    background-image: none;
1725
1738
    border-color: @transparent;
1726
 
    border-radius: 3;
1727
 
    border-width: 1;
 
1739
    border-radius: 3px;
 
1740
    border-width: 1px;
1728
1741
 
1729
1742
    color: @dark_fg_color;
1730
1743
    text-shadow: 0 -1 shade (@dark_bg_color, 0.7);
1747
1760
.primary-toolbar .button:hover,
1748
1761
.primary-toolbar .button:active,
1749
1762
.primary-toolbar .button:insensitive {
1750
 
    border-width: 1;
 
1763
    border-width: 1px;
1751
1764
 
1752
1765
    transition: 0ms ease-in-out;
1753
1766
 
1756
1769
    -unico-focus-border-color: @transparent;
1757
1770
    -unico-focus-outer-stroke-color: alpha (@selected_bg_color, 0.5);
1758
1771
 
1759
 
    -unico-inner-stroke-width: 1;
 
1772
    -unico-inner-stroke-width: 1px;
1760
1773
    -unico-outer-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
1761
1774
                                                 from (alpha (shade (@dark_bg_color, 1.2), 0.25)),
1762
1775
                                                 to (alpha (shade (@dark_bg_color, 1.4), 0.75)));
1763
 
    -unico-outer-stroke-width: 1;
 
1776
    -unico-outer-stroke-width: 1px;
1764
1777
}
1765
1778
 
1766
1779
.primary-toolbar GtkComboBox.combobox-entry .button {
1767
 
    -unico-inner-stroke-width: 1;
 
1780
    -unico-inner-stroke-width: 1px;
1768
1781
    -unico-outer-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
1769
1782
                                                 from (alpha (shade (@dark_bg_color, 1.2), 0.25)),
1770
1783
                                                 to (alpha (shade (@dark_bg_color, 1.4), 0.75)));
1851
1864
.primary-toolbar .entry,
1852
1865
.primary-toolbar .entry:active,
1853
1866
.primary-toolbar .entry:focused {
1854
 
    border-radius: 3;
 
1867
    border-radius: 3px;
1855
1868
 
1856
1869
    color: @text_color;
1857
1870
 
1858
 
    -unico-outer-stroke-width: 1;
 
1871
    -unico-outer-stroke-width: 1px;
1859
1872
    -unico-outer-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
1860
1873
                                                 from (alpha (shade (@dark_bg_color, 1.2), 0.25)),
1861
1874
                                                 to (alpha (shade (@dark_bg_color, 1.4), 0.75)));
1871
1884
}
1872
1885
 
1873
1886
.primary-toolbar .entry:insensitive {
1874
 
    -unico-outer-stroke-width: 1;
 
1887
    -unico-outer-stroke-width: 1px;
1875
1888
    -unico-outer-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
1876
1889
                                                 from (alpha (shade (@dark_bg_color, 1.2), 0.18)),
1877
1890
                                                 to (alpha (shade (@dark_bg_color, 1.4), 0.5)));
1906
1919
                                     to (#ffffff));
1907
1920
    border-radius: 0;
1908
1921
    border-style: solid;
1909
 
    border-width: 1;
1910
 
    padding: 3 4 4 4;
 
1922
    border-width: 1px;
 
1923
    padding: 3px 4px 4px 4px;
1911
1924
}
1912
1925
 
1913
1926
.inline-toolbar.toolbar:nth-child(last) {
1914
1927
    border-bottom-color: shade (@bg_color, 0.76);
1915
1928
    border-color: shade (@bg_color, 0.8);
1916
 
    border-radius: 0 0 3 3;
1917
 
    border-width: 0 1 1 1;
 
1929
    border-radius: 0 0 3px 3px;
 
1930
    border-width: 0 1px 1px 1px;
1918
1931
}
1919
1932
 
1920
1933
.inline-toolbar.toolbar .button {
1923
1936
                                     to (shade (@bg_color, 0.88)));
1924
1937
    border-radius: 0;
1925
1938
    border-style: solid;
1926
 
    border-width: 1 0 1 1;
1927
 
    padding: 1;
 
1939
    border-width: 1px 0 1px 1px;
 
1940
    padding: 1px;
1928
1941
 
1929
1942
    icon-shadow: 0 1 shade (@bg_color, 1.16);
1930
1943
 
1931
1944
    -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
1932
1945
                                                 from (shade (@bg_color, 1.16)),
1933
1946
                                                 to (shade (@bg_color, 0.98)));
1934
 
    -unico-outer-stroke-width: 1 0 1 0;
 
1947
    -unico-outer-stroke-width: 1px 0 1px 0;
1935
1948
}
1936
1949
 
1937
1950
.inline-toolbar.toolbar .button *:active,
1938
1951
.inline-toolbar.toolbar .button *:insensitive,
1939
1952
.inline-toolbar.toolbar GtkToolButton .button:active,
1940
1953
.inline-toolbar.toolbar GtkToolButton .button:insensitive {
1941
 
    -unico-outer-stroke-width: 1 0 1 0;
 
1954
    -unico-outer-stroke-width: 1px 0 1px 0;
1942
1955
    -unico-outer-stroke-gradient: -gtk-gradient (linear, left top, left bottom,
1943
1956
                                                 from (alpha (shade (@bg_color, 0.05), 0.02)),
1944
1957
                                                 to (alpha (shade (@bg_color, 0.05), 0.06)));
1960
1973
 
1961
1974
.inline-toolbar.toolbar .button:nth-child(first),
1962
1975
.inline-toolbar.toolbar GtkToolButton:nth-child(first) .button {
1963
 
    border-radius: 3 0 0 3;
 
1976
    border-radius: 3px 0 0 3px;
1964
1977
 
1965
 
    -unico-outer-stroke-width: 1 0 1 1;
 
1978
    -unico-outer-stroke-width: 1px 0 1px 1px;
1966
1979
}
1967
1980
 
1968
1981
.inline-toolbar.toolbar .button:nth-child(last),
1969
1982
.inline-toolbar.toolbar GtkToolButton:nth-child(last) .button {
1970
 
    border-radius: 0 3 3 0;
1971
 
    border-width: 1;
 
1983
    border-radius: 0 3px 3px 0;
 
1984
    border-width: 1px;
1972
1985
 
1973
 
    -unico-outer-stroke-width: 1 1 1 0;
 
1986
    -unico-outer-stroke-width: 1px 1px 1px 0;
1974
1987
}
1975
1988
 
1976
1989
/***********
1981
1994
                                     from (alpha (mix (@tooltip_bg_color, #ffffff, 0.2), 0.86)),
1982
1995
                                     to (alpha (@tooltip_bg_color, 0.86)));
1983
1996
    border-color: alpha (#ffffff, 0.2);
1984
 
    border-radius: 5;
 
1997
    border-radius: 5px;
1985
1998
}
1986
1999
 
1987
2000
/************
1992
2005
    border-radius: 0;
1993
2006
 
1994
2007
    -unico-inner-stroke-gradient: none;
1995
 
    -unico-inner-stroke-width: 1;
 
2008
    -unico-inner-stroke-width: 1px;
1996
2009
}
1997
2010
 
1998
2011
/************